exec (PRO)
exec <path>
The 'exec' command allows to execute a windows shell command from a flightplan.
This is quite a beauty for many scenarios. Example ? Let us assume you write a flightplan for a route that you often fly and would like to open a PDF chart whenever your are reaching a specific waypoint.
With the 'exec' command no problem at all.
Two path noations can be used.
Relative:
(1) "./xxx/yyy/zzz.exe"
CAVEAT: All relative paths use FSXPilot home directory as root.
Absolute:
(2) "c:\\xxx\\yyyy\\zzz.exe"
Use up to 254 arguments for the exec command.
Example:
exec notepad.exe
... This would be exec with one argument. Opens the windows text editor.
exec notepad.exe fspilot.ini
... This would be exec with two arguments. Opens the windows text editor with fspilot.ini
exec calc.exe
... opens the windows calculator
exec ./charts/eddm.pdf
... would open a PDF file from the chart directory. All relative paths use FSXPilot home directory as root.
exec AcroRd32.exe /A "page=7=OpenActions" ./charts/eddm.pdf
... would open the PDF reader with a PDF file from the chart directory and go directly to page 7. All relative paths use FSXPilot home directory as root.
exec AcroRd32.exe /A "zoom=50&navpanes=1=OpenActions&search=GIVMI" PdfFile
... would open the PDF reader with a PDF file from the chart directory in zoom level 50 and search for the expression GIVMI. All relative paths use FSXPilot home directory as root.
This command is available in FSXPilot PRO only !
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation