|
|
![]() ![]() APPX_SCRIPT_IN debugging If you are using APPX_SCRIPT_IN to control an APPX session, here's a couple of tips you might find useful: ##WAIT ##BEEP ##PAUSE ##WAIT will display the ##BEEP will do the same as ##WAIT, but it will ring the bell too. ##PAUSE just pauses for When ##WAIT and ##BEEP are waiting for you, you can press any of the following keys:
E - exit the script, return control to the keyboard C - continue running the script to completion (or the next ##WAIT/##BEEP) P - pause the script (returns control to the keyboard until you press Ctrl-R, then the script continues) You can also define an environment variable called "APPX_SCRIPT_STEP=1" and APPX will step through the script. In step-mode, APPX will display the next option in the status area and wait for you to press any of the above keys, or just press Enter to process the next line from the 'script in' file. Also note that you can refer to environment variables in the script. For example, instead of hardcoding a database ID, you can refer to the variable. In Unix, use $ For additional information, contact tips@cwi-appx.com [back to top] | |