How can I access the history list in FoxIt Reader?
Seems that this is impossible, the list of documents latest are saved in the registry, in:
HKCU\Software\Foxit Software\Foxit Reader X.X\Preferences\History
When the limit is reached the oldest records are deleted to make room for newer files.
The following AutoIt scripts will save out the most recent 99 files opened by Foxit Reader and save to a log file.
#include <MsgBoxConstants.au3>
$log=FileOpen("d:\tmp\foxitRecentFiles.log",$FO_OVERWRITE)
If -1 = $log Then
MsgBox(0, "Error", "Unable to open file")
Exit
EndIf
for $i = 1 to 99
$key = StringFormat("HKEY_CURRENT_USER\SOFTWARE\Foxit Software\Foxit Reader 7.0\Preferences\History\LastOpen\%d", $i)
$rPdf=RegRead($key, "FileName")
if @error <>0 then ExitLoop
if FileExists($rPdf) then
FileWrite($log, $rPdf & @CRLF)
EndIf
;MsgBox($MB_SYSTEMMODAL, "FileName:", $rPdf)
Next
FileClose($log)