59
21
PDF-XChange Viewer v2.5x
©2001-2011 TRACKER SOFTWARE PRODUCTS
/storeassoc
Stores existing PDF-associated application (if it is not PDF-XChange Viewer) that can be
restored in the future.
/restoreassoc
Restores a previously stored PDF-associated application.
/usep
Opens the viewer with the settings from the file specified by <settings_filename>
parameter. For example,
relative paths:
settings.dat
mysettings.dat
MyFolder\settings.dat
full paths:
"c:\PDF-XChange Viewer Settings\settings.dat"
"\%UserProfile%\PDF-XChange Viewer Settings\settings.dat"
"c:\ Documents and Settings\%UserName%\PDF-XChange Viewer
Settings\settings.dat"
Note: If there are no settings (or they are incorrect, or they cannot be found under the
given name), viewer will be opened with the default ones. While shutting down, viewer
will try to save the current settings to the given direction. If the settings could not be
saved, an error message will be shown.
/runjs
command scheme:
/runjs[:[newinst[=<yes|no>]][&showui[=<yes|no>]][&minui[=<yes|no>
]][&log=[=<yes|no>]]] <scriptfilename> <filename> [<filename2>...
<filenameN>]
options:
newinst=<yes|no>
If this argument is used and its value is yes, then
application process will be started for executing
this command. If this option is not specified or its
value means no, then the application process can
be used for executing this command.
showui=<yes|no>
If specified without any value or value means yes,
then the application is displayed with UI. Otherwise
this command will be executed without UI.
minui=<yes|no>
If showui have been specified before and this
option is specified without any value or the value
means yes, then the application displays minimized
UI (like a tab in the task bar).
log=<yes|no>
If specified without any value or the value means
yes, then the application creates a log of executing
of this command. The log file "_RunJSLog.txt" will
be placed to our program folder.
parameters:
<scriptfilename>
Required parameter; means full file name which
contains Java Script.
<filename1> … <filenameN> Required parameter; represents the list of full file
names of documents which should be processed by
the script.
For example,
PDFXCView.exe /runjs:log "C:\TestJS.txt" "C:\Test1.pdf"