home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 January / pcwk_01_1999.iso / Top100sh / Macro / GrounC / data1.cab / Program_Executable_Files / gc.exe / string.txt next >
Text File  |  1998-08-20  |  19KB  |  247 lines

  1. 101    &About GroundControl...
  2. 102    This command will activate a window by title. The active window has the highlighted title bar. For example: \nActivateWindow("Untitled - Notepad")
  3. 103    This command will execute a program by name.
  4. 104    Displays text in a message box with an "OK" button. This is used for notifications.
  5. 105    Displays text in a message box with an "OK" and a "Cancel" button. The result can be checked and used in an If statement to change macro flow.
  6. 106    This command will pause the execution of the macro for the number of milliseconds you specify (1 second = 1,000 milliseconds). For example:\nDelay(60000)
  7. 107    Stops the macro execution. For example:\nExitMacro()
  8. 108    Displays a custom dialog box that will prompt for input. The input can be sent as keystrokes or put in a variable. For example:\nInputBox("Enter your first name")\nSendInput()\n
  9. 109    Closes all programs and displays a login dialog box. For example:\nLogout()
  10. 110    Writes text to the specified file with a date and time stamp. For example:\nLogToFile("mylog.txt","Starting...")
  11. 111    Reboots the system. For example:\nRebootSystem()
  12. 112    Shuts the system down. For example:\nShutdownSystem()
  13. 113    Executes the specified macro file. For example: \nRunMacro("c:\part2.gc")
  14. 114    Jumps the macro's execution to the line after the label name. For example:\nGoTo(":CodeBlock1")
  15. 115    This command will send keystrokes to the active window or application. For example:\nSendKeys("a~")
  16. 116    This command will send keystrokes to the specified window. For example:\nSendKeys("Calculator","23")
  17. 117    Writes text to the default error log file. The name and location of the error log is defined in the System Options dialog. For example:\nLogError("File didn't exist!")
  18. 118    Closes the window with the specified title. For example: \nCloseWindow("Untitled - Notepad")
  19. 119    A comment is a macro line that will not execute. Use comments to make notations in your macro, or for debugging. For example:\n//This is cool code!
  20. 120    Sends keys that were input from the last InputBox() command to the active window. For example:\nInputBox("Enter your name")\nSendInput()
  21. 121    Sends keys that were input from the last InputBox() to a window based on its title. For example:\nInputBox("Enter your name") \nSendInputToWindow("Untitled - Notepad")\n
  22. 122    Executes a command for a specified number of times. For example:\nRepeat(SendKeys("This is a test~"),10)\n
  23. 123    Sounds the system beep. For example:\nBeep()
  24. 124    Plays a wave file. For example:\nPlaySound("c:\winnt\media\The Microsoft Sound.wav")\n
  25. 125    Executes a system power off (if your hardware supports it). For example:\nPowerOff()
  26. 126    Appends a line to a file (with a carriage return). This function will create the file if it does not exist. For example:\nWriteLineToFile("test.txt","Line 1") \nWriteLineToFile("test.txt","Line 2")\n
  27. 127    Appends text to a file (without a carriage return). This function will create the file if it does not exist. For example:\nWriteToFile("test.txt","This text is ")\nWriteToFile("test.txt","on the same line")
  28. 128    GroundControl\n\nGround\nGroundControl Files (*.gc)\n.gc\nGroundControl.Document\nGround Document
  29. 129    Minimizes the window by the title. The window title is optional. If the window title is not specified, the current active window is minimized. For example:\nMinimizeWindow("Untitled - Notepad")
  30. 130    Normalizes the window by the title. The window title is optional. If the window title is not specified, the current active window is normalized. For example:\nNormalizeWindow("Calculator")
  31. 131    Returns TRUE if the file exists. For example: \nIf(FileExist("c:\test.log"),Beep())\nIf(FileExist("c:\*.txt"),MessageBox("Found"))
  32. 132    Returns TRUE if the current active window title matches the passed window title. For example: \nIf(WindowActive("Calculator"),GoTo(":DoStuff"))
  33. 133    Returns TRUE if there is a window that has a title that matches the passed window title. For example: \nIf(FindWindow("Calculator"),Beep())
  34. 134    This is used after a MessageBox(), MessageBoxOkCancel(), or InputBox() to detect which key the user pressed to exit the dialog. For example:\nMessageBoxOkCancel("Hit Ok to beep")\nIf(ResponseOk(),Beep())\n
  35. 135    This is used after a MessageBox(), MessageBoxOkCancel(), or InputBox() to detect which key the user pressed to exit the dialog. For example:\nMessageBoxOkCancel("Hit cancel to exit")\nIf(ResponseCancel(),ExitMacro())\n
  36. 136    This defines the label that the program will go to when an error occurs. For example:\nOnError(":Handler")
  37. 137    This command sends the Quit command to the specified program, based on its window title. For example: \nQuitProgram("Untitled - Notepad")
  38. 138    This command will execute a program. You can specify "Minimized", "Maximized", "Hidden", or "Normal".
  39. 139    This command will set the working directory for the running macro. For example: \nSetDirectory("c:\My_Files")
  40. 140    This line is a label. It is used with the GoTo command. Labels begin with a colon (:). For example: \n:JumpHere
  41. 141    This is a blank line. It has no effect, but makes your macro more readable.
  42. 142    Sets the window caption for all message box and input box commands. For example: \nSetCaption("Orange Corporation")
  43. 143    Sends a string containing environment variables to the active window. For example:\nSendEnvironment("The temp path is %TEMP%")
  44. 144    Sends the current date and time based on a format string. For example:\nSendNow("The current date and time is: %x %X")
  45. 145    Checks a condition and performs an action if the test result is TRUE, and optionally, a different action if the test is FALSE. For example:\nIf(FileExist("c:\b.txt"),Beep(),GoTo(":Done"))
  46. 146    Sends a single DDE command to an Application and Topic. For example:\nDdeCommand(Excel,System,[New()])
  47. 147    Sends a series of DDE commands stored in a script to an Application and Topic. For example:\nDdeScript(Excel,System,"c:\mycomm.txt")
  48. 148    This command will execute a specified command while the TRUE condition is met. For example: \nWhile(FileExists("signal.txt"), RunMacro("chores.gc"))
  49. 149    This defines the start of a For-Next loop.
  50. 150    Checks if value A is less than (<) value B. If TRUE, the specified command is executed. A or B can be a system resource constant or variable. For example:\nIfLessThan(%A,30,GoTo(":Oops"))
  51. 151    Checks if value A is more than (>) value B. If TRUE, the specified command is executed. A or B can be a system resource constant or variable. For example:\nIfMoreThan(%A,30,GoTo(":Oops"))
  52. 152    This command logs a system resource or system information to a file. For example:\nLogSystem("C:\Test.log",DISK_C_FREE)
  53. 153    Waits for a program to complete. It is used after the RunProgram command to pause macro execution until the program started is complete. You can specify the number of milliseconds to wait or -1 to wait indefinitely.
  54. 154    This runs a DOS command such as COPY, DIR, etc. For example:\nRunDOSCommand("copy c:\data.txt a:\data.txt")
  55. 155    This function returns TRUE if the file is older than the specified number of seconds. For example: \nIf(FileOlderThan("c:\data.txt",3600),GoTo(:"Stale"))
  56. 156    This command sends keystrokes from a file to the active window or application. For example: \nSendKeysFromFile("c:\mytext.txt")
  57. 157    This logs an event to the system event file. The name and location of the event log is defined in the System Options dialog. For example: \nLogEvent("Started routine")
  58. 158    Assign a value to a variable. For example:\nPutVar(%A,7) puts 7 into %A. \nPutVar(%B,"My text") puts "My text" into %B.
  59. 159    Move a file from one location to another. For example, MoveFile("C:\autoexec.bat","A:autoexec.bak")
  60. 160    Copy a file from one location to another. For example, \nCopyFile("C:\autoexec.bat","A:\backup.txt")
  61. 161    Create a directory with the specified path. For example, \nCreateDirectory("C:\junkdir")
  62. 162    %lu KB
  63. 163    %lu KB Free on %c:
  64. 164    Unavailable
  65. 165    Remove a directory with the specified path. For example:\nRemoveDirectory("c:\junk.dir")
  66. 166    Delete the specified file. For example:\nDeleteFile("C:a.txt")
  67. 167    Search the specified path for the given file. Optionally return the location of the specified file. For example:\nFindFile("myfile.txt","C:\") looks in the given path only\nFindFile("myfile.txt","PATH",%A) looks in all the system paths.
  68. 168    Display the contents of all the variables in a message box. For example:\nDump()
  69. 169    Write the value of a system resource into a memory variable. For example: \n// Load %A with the free disk space in bytes\nGetSystem(DISK_C_FREE,%A)
  70. 170    Copy the contents of the ClipBoard to a variable. For example: GetClipBoard(%A)
  71. 171    Gets the size of file in bytes, and returns it in a variable. For example:\nGetFileSize("C:\gc\ddedefs.h",%A)
  72. 172    Get an entry to the registry. For an example press "Help"
  73. 173    Write an entry to the registry. For an example press "Help"
  74. 174    Write to the specified INI file. For example: \nWriteToIniFile("c:\gc\junk.ini","[strings]string1","this is string 1")
  75. 175    Read from the specified INI file. For example:\nGetFromIniFile("c:\gc\junk.ini","[strings]string1",%A)
  76. 176    Increments the indicated variable by one. For example: \nIncrement(%A)
  77. 177    Decrements the indicated variable by one. For example: \nDecrement(%A)
  78. 178    Returns TRUE if the specified file is locked by a process. For example: \nIf(IsFileLocked("C:\logfile.dat"),GoTo(":Locked"))
  79. 179    Open a text file for reading strings from. Must specify a unique buffer identifier. For example:\nOpenFile(1,"C:\textdata.txt")
  80. 180    Read a line from a text file into a variable. The text file is identified by the buffer identifier used in OpenFile. For example:\nReadLine(1,%L)
  81. 181    Closes the file identified by the buffer identifier. For example: \nCloseFile(1)
  82. 182    No function. Use this for a placeholder. For example:\nIf(ResponseOk(),DoNothing(),Beep())
  83. 183    Turns the CAPS lock On or Off. For example:\nSetCapsLock(ON)
  84. 184    Sends a mouse click to the window at specified screen coordinate. For example:\nMouseClickScreen(100,30)
  85. 185    Sends a mouse double click to the window at specified screen coordinate. For example:\nMouseDblClickScreen(100,30)
  86. 186    Returns the system date in the form "MM/DD/YY" into the specified variable. For example:\nGetDate(%A)
  87. 187    Returns the system time in the form "HH:MM:SS" into the specified variable. For example:\nGetTime(%A)
  88. 188    Returns TRUE if date A is before date B. For example:\nIsDateBefore(%A,"01/22/1998")
  89. 189    Returns TRUE if date A is after date B. For example:\nIsDateAfter(%A,"01/22/1998")
  90. 190    Returns TRUE if date A is equal to date B. For example:\nIsDateEqual(%A,"01/22/1998")
  91. 191    Returns TRUE if date A is after date B but before date C. For example:\nIsDateBetween(%A,"01/22/1998","01/28/1998")
  92. 192    Returns TRUE if time A is before time B. For example:\nIsTimeBefore(%A,"01:37:00")
  93. 193    Returns TRUE if time A is after time B. For example:\nIsTimeAfter(%A,"01:37:00")
  94. 194    Returns TRUE if time A is equal to time B. For example:\nIsTimeEqual(%A,"01:37:00")
  95. 195    Returns TRUE if time A is after time B but before time C. For example:\nIsTimeBetween(%A,"01:37:00","05:30:26")
  96. 196    Returns the system date in any format you specify. See help for format srings. For example:\nGetDateTime(%A,"%m/%d/%Y") = 12/31/1998\nGetDateTime(%A,"%d%m%Y") = 31121998\nGetDateTime(%A,"%x %X") = 12/31/98 19:30:00
  97. 197    Checks to see if a file exists in the specified path. Supports wild cards. For example:\nIf(FileExistWild("C:\*.dat"),Beep())
  98. 198    Opens a conversation to a DDE server through the specified buffer. For example: \nDdeOpen(1,"excel","[book1.xls]Sheet2")
  99. 199    Closes the DDE conversation in the specified buffer. For example:\nDdeClose(1)
  100. 200    Reads the value of the DDE item from the specified buffer into the variable. For example:\nDdeRead(1,"R10C2",%A)
  101. 228    Maximizes the window by the title. The window title is optional. If the window title is not specified, the current active window is maximized. For example:\nMaximizeWindow("Untitled - Notepad")
  102. 229    Checks if two variables are equal. The first variable may be a system resource. If TRUE, the specified command is executed. For example:\nIfEquals(%A,30,GoTo(":Match"))
  103. 230    This command will print a document. You can specify "Minimized", "Maximized", "Hidden", or "Normal". For example:\nPrint("c:\docs\myfile.doc")
  104. 231    Adds the second string to the end of the first string. For example:\nAddString(%X," sir!")
  105. 232    Returns a formatted string with the file's change date/time. For example:\nGetFileDateTime(%A,"C:\autoexec.bat","%m/%d/%y")
  106. 30995    Visit the Acrasoft internet web site.
  107. 32771    Add a new line\nAdd Line (Ctrl+A)
  108. 32772    Edit the current line\nEdit Line (Ctrl+E)
  109. 32773    Delete the current line\nDelete Line (Ctrl+D)
  110. 32774    Move the selected line up\nMove Up (Alt+U)
  111. 32775    Move the selected line down\nMove Down (Alt+D)
  112. 32776    Change the line to a comment or uncomment it\nComment
  113. 32777    Add blank line before current\nBlank Line
  114. 32778    Change the display font
  115. 32779    Run the macro (Ctrl+R)
  116. 32780    Test the current line (Ctrl+T)
  117. 32782    Edit the current line manually
  118. 32783    Manually edit the current line\nManual Edit (Ctrl+Enter)
  119. 32785    Test an If condition and execute an option\nIf
  120. 32786    Sound the default system beep\nBeep
  121. 32787    Play a full sound file\nPlaysound
  122. 32788    Send keys to the active window\nSend Keys Active
  123. 32789    Send a single DDE command to an application and topic\nDDE Command
  124. 32790    Send a DDE script file to an application and topic\nDDE Script
  125. 32791    Minimize a window\nMinimize
  126. 32792    Maximize a window\nMaximize
  127. 32793    Normalize ( Restore ) a window\nNormalize
  128. 32794    Close a window\nClose
  129. 32795    Bring a window to the foreground\nActivate
  130. 32796    Temporarily pause execution for a specified number of milliseconds\nDelay
  131. 32797    Create a notification message box with an Ok button\nMessage Box
  132. 32798    Create a question message box with Ok and Cancel buttons\nOk/Cancel Message Box
  133. 32799    This command will execute a program\nRun Program
  134. 32800    Show/Hide Extended Controls Bar\nControls
  135. 32801    Exit the current macro\nExit Macro
  136. 32803    Test if a file exists\nFile Exist
  137. 32804    Create an input message box to ask for and store a string\nInput Box
  138. 32805    Jump to a label\nGoto
  139. 32806    Logout\nLogout
  140. 32807    Set the working directory for the running macro\nSet Directory
  141. 32808    Set the window title for all message box and input box commands\nSet Caption
  142. 32809    Repeat a command for a specified number of times\nRepeat
  143. 32810    Send a stop command to a currently running program\nQuit Program
  144. 32811    Execute another macro file\nRun Macro
  145. 32812    Execute a system power off (if supported by the hardware)\nPower Off
  146. 32815    Enter a For Command\nFor Loop
  147. 32816    Perform a command while a condition is True\nWhile
  148. 32818    Append text to a text file (no carriage return)\nWrite Text to File
  149. 32819    Log an error to the default error log file\nLog Error
  150. 32820    Define the label to jump to if an error occurs\nOn Error 
  151. 32823    Exit the currently executing macro\nExit Macro
  152. 32824    Return TRUE if the specified file exists\nFile Exist
  153. 32825    Reboot the system\nReboot
  154. 32826    Shut the system down\nShutdown System
  155. 32827    Enter a label for use with a GoTo command\nLabel
  156. 32828    Send environment string to active window\nSend Environment
  157. 32831    Return TRUE if the specified window is the active window\nWindow Active
  158. 32832    Return TRUE if a window exists that matches the specified title \nFind Window
  159. 32833    Execute a command if the specified system resource is less than the specified limit\nIf Less Than
  160. 32834    Execute a command if the specified system resource is more than the specified limit\nIf More Than
  161. 32835    Log system information to a text file\nLog System Info
  162. 32836    Log message to a log file\nLog To File
  163. 32837    Send the string from the last input box to the active window\nSend Input To Active
  164. 32838    Send the string from the last input box to the specified window\nSend Input Specific
  165. 32839    Send keys to a specified window\nSend Keys Specific
  166. 32840    Send current time to the active window as keystrokes based on a format string\nSend Now
  167. 32844    Display the Standard Editing toolbar\nEdit Toolbar
  168. 32845    Display the Common Commands toolbar\nCommon Toolbar
  169. 32846    Display the DDE/SendKeys toolbar
  170. 32847    Display the System Functions toolbar\nSystem Toolbar
  171. 32848    Display the Conditions toolbar ( If, While, GoTo, etc. )
  172. 32849    Display the Window Controls toolbar
  173. 32850    Quick start help
  174. 32851    Display help on help
  175. 32852    Visit the Acrasoft web site
  176. 32853    Edit the system options
  177. 32855    Launch editor with current macro file
  178. 32856    Display a summary of all commands by category
  179. 32857    Dump variables for inspection (Ctrl+Shift+D)
  180. 57344    GroundControl
  181. 57345    For Help, press F1
  182. 57346    Select an object on which to get Help
  183. 57600    Create a new document\nNew
  184. 57601    Open an existing document\nOpen
  185. 57602    Close the active document\nClose
  186. 57603    Save the active document\nSave
  187. 57604    Save the active document with a new name\nSave As
  188. 57605    Change the printing options\nPage Setup
  189. 57606    Change the printer and printing options\nPrint Setup
  190. 57607    Print the active document\nPrint
  191. 57609    Display full pages\nPrint Preview
  192. 57616    Open this document
  193. 57617    Open this document
  194. 57618    Open this document
  195. 57619    Open this document
  196. 57620    Open this document
  197. 57621    Open this document
  198. 57622    Open this document
  199. 57623    Open this document
  200. 57624    Open this document
  201. 57625    Open this document
  202. 57626    Open this document
  203. 57627    Open this document
  204. 57628    Open this document
  205. 57629    Open this document
  206. 57630    Open this document
  207. 57631    Open this document
  208. 57632    Erase the selection\nErase
  209. 57633    Erase everything\nErase All
  210. 57634    Copy the selection and put it on the Clipboard\nCopy
  211. 57635    Cut the selection and put it on the Clipboard\nCut
  212. 57636    Find the specified text\nFind
  213. 57637    Insert Clipboard contents\nPaste
  214. 57640    Repeat the last action\nRepeat
  215. 57641    Replace specific text with different text\nReplace
  216. 57642    Select the entire document\nSelect All
  217. 57643    Undo the last action\nUndo
  218. 57644    Redo the previously undone action\nRedo
  219. 57653    Split the active window into panes\nSplit
  220. 57664    Display program information, version number and copyright\nAbout
  221. 57665    Quit the application; prompts to save documents\nExit
  222. 57666    Opens Help\nHelp Topics
  223. 57667    List Help topics\nHelp Topics
  224. 57668    Display instructions about how to use help\nHelp
  225. 57669    Display help for clicked on buttons, menus and windows\nHelp
  226. 57670    Display help for current task or command\nHelp
  227. 57680    Switch to the next window pane\nNext Pane
  228. 57681    Switch back to the previous window pane\nPrevious Pane
  229. 59136    EXT
  230. 59137    CAP
  231. 59138    NUM
  232. 59139    SCRL
  233. 59140    OVR
  234. 59141    REC
  235. 59392    Show or hide the toolbar\nToggle ToolBar
  236. 59393    Show or hide the status bar\nToggle StatusBar
  237. 61184    Change the window size
  238. 61185    Change the window position
  239. 61186    Reduce the window to an icon
  240. 61187    Enlarge the window to full size
  241. 61188    Switch to the next document window
  242. 61189    Switch to the previous document window
  243. 61190    Close the active window and prompts to save the documents
  244. 61202    Restore the window to normal size
  245. 61203    Activate Task List
  246. 61445    Close print preview mode\nCancel Preview
  247.