IDECmds is a command line utility to send messages to the GAMS IDE.
Syntax:
IDECmds <command> <filename> <parameter>
A <filename> can be specified in the form %ProjDir%\filename indicating a file in the project directory
A parameter specified in the form @filename will read the parameters from the file specified
<command> is one of the following:
Command
|
Parameter
|
Action
|
FileOpen
|
filename
|
Open the file filename and focus on the file
|
FileClose
|
filename
|
Close file filename (do not save if modified)
|
|
filename.* *.ext or *
|
Close all files matching pattern; files are not saved
|
FileSave
|
filename
|
Save file filename
|
FileSaveAll
|
|
Save all files; do not query
|
FileCompile
|
filename
|
Compile filename
|
FileRun
|
filename
|
Compile and Run filename
|
FileWait
|
|
Wait for FileCompile or FileRun to finish
|
ViewClose
|
filename
|
Same as FileClose
|
|