AppCtrlScript

MAY Computer

Help

Index of available commands

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Below is a list of all pre-implemented commands. For documentation of language enhancements (application specific commands) see the documentation of the appropriate application.

Available Commands

Command

Description

ACTIVATEWINDOW Activate an applications window
ADDERROR Produce an error
ADDINCALL Run an addin
ADDWARNING Produce a warning
ANYFILEFOUND Get information if a folder is empty
APPENDFROMFILE Append file content to a script variable content
APPENDSTRING Append a string to a file
APPXSCANACCESS AppXS integration CanAccess query
APPXSGETRIGHTS AppXS integration GetRights query
APPXSLOGIN AppXS integration login
APPXSLOGOUT AppXS integration logout
ASKNOYES Ask yes/no question to the user with no as default answer
ASKYESNO Ask yes/no question to the user with yes as default answer
BEGINFOREGROUNDACTION Push windows displayed afterwards to the foreground
BREAKPOINT Sets a default breakpoint when debugger is activated
CALC Perform mathematical operations
CALL Run subroutines
CHANGEPRINTER Change system standard printer
CHOOSEITEMFROMLIST Let the user select an item from a list
CLEARERRORS Clear the list of occured errors
CLEARWARNINGS Clear the list of occured warnings
CLIPBOARDCOPYSTR Copy a string to the Windows clipboard
CLIPBOARDGETSTR Get current string content from Windows clipboard
CLOSEAPPS Close specific applications
CLOSEWINDOW Close a specific window
CMDASYNC Execute system commandline asynchroneously
CMDFILEMETHOD Execute a method from context menu of a file
CMDSYNC Execute system commandline synchroneously
CNV2LEGALFILENAME Eliminate invalid characters in filenames
CNVDOS2WIN Convert DOS ASCII string to Windows ASCII string
CNVFROMHTML Get string from HTML encoded value
CNVFROMQUERYSTRVALUE Get string from query string encoded version of that string
CNVTOHTML HTML encode string
CNVTOQUERYSTRVALUE Convert string for use in hyperlink query strings
CNVWIN2DOS Convert Windows ASCII string to DOS ASCII string
CONCATFILES Concat two files together
CONTINUESERVICE Continue a paused service
COUNTFILES Retrieve the number of files in a folder
COUNTLINESINFILE Count number of lines in a text file
CRC32FROMFILE Builds a CRC32 checksum from a file
CRC32FROMSTRING Builds a CRC32 checksum from a string
CREATEPATH Create a path if it does not exist
CREATEPATHTOFILE Create the path to a file
DEBUGMODE Activates or deactivates debugger
DEFAULTHEADER Sets a default header value
DIM Initialize script variables
DOEVENTS Perform a doevents operation
ENDFOREGROUNDACTION Push windows displayed afterwards to the foreground
EXECSHELL Execute synchroneously or asynchroneously with options
EXIT Exit current subroutine or current script
EXITLOOP Exit the currently running loop
FILECOPY

Copy a file

FILEDELETE Delete a file
FILEMOVE Move a file
FILEOPENDLG Display a file open dialog
FILERENAME Rename a file
FILESAVEDLG Display a file save dialog
FINDTASK Determine if an executable is running
FINDWINDOW Determine if a matching window can be found (obsolete)
FINDWINDOWLIKE Determine if a matching window can be found
FLUSHLOGGING Write errors and warnings to logfile
FOREACHFILE Loop a subroutine for each file found in a folder
FOREACHFOLDER Loop a subroutine for each subfolder of another folder
FOREACHIN Loop a subroutine for each substring item of a source string
FOREACHLINEINFILE Loop a subroutine for each line in a text file
FORMAT Reformat a given string
FORMATDATE Reformat a given date value
FORMATTIME Reformat a given time value
FORMATTIMESTAMP Reformat a timestamp value string
FTPDOWNLOAD Download file via FTP
FTPUPLOAD Upload file via FTP
GETDATEDIFF Get hours, minutes or seconds between two date/time values
GETDURATION Get time between two date/time stamps
GETDRIVESPACE Get number of free bytes on a drive or share
GETFILEDATE Get timestamp of a file
GETFILEEXT Get extension of a filename
GETFILELENGTH Get file size
GETFILENAME Get filename (without path) of a filename
GETFILENAMEFROMLINK Get filename from a file URL
GETFILEREADONLY Read a file's read only flag
GETFREEMEMORY Get currently free memory
GETFULLPATH Get full path of a filename
GETINI Retrieve inifile value
GETNAMEONLY Get filename (without path and extension) of a filename
GETPATH Get path (without drive or host) of a filename
GETREG Retrieve registry value
GETTOPWINDOW Retrieve the handle of the window currently on top/in foreground
GETSERVICENAME Get the internal service name from a given service display name
GETSERVICESTATE Get the status of a service
GETURLLINKTOFILE Get file URL for a filename
GETVALSASCMDLINE Get script variables as command line styled content string
GETVALSASSTRING Get script variables as single content string
GLOBDIM Initialize global variables
GOTO Jump to defined bookmark
HTTPDOWNLOAD Download a file via HTTP
IMPORTMODULE Import application script enhancement module commands
INCLUDESCRIPT Include other scriptfiles into the current script
INPUT Let the user input a text value
INSTRING Retrieve starting position of a substring within another string.
INT Cut off fractional part of a value
INTDIVIDE Integer division
JOBPRIORITY Change current script job priority
KILLAPPS Kill specific applications if they do not close
KILLTASK Kill a specific task
LCASE Get a string in lower case letters
LEFT Get left n characters from a string
LEFTSIDE Retrieves the left part of a string
LENGTH Get the length of a string in characters
LOG2EVTSTATS Add log entry to Nudger event statistics
LOGOFFUSER Logoff current user
LTRIM Cut off leading spaces of a string
MAILTO Send e-mail
MID Get a substring from a string
MOD Modular operation
MSGBOX Shows a message to the user
NETSENDASYNC Send net popup message asynchroneously
NETSENDSYNC Send net popup message synchroneously
ONERROR Error trapping options
OPENMAIL Open prefilled e-mail form
PATHFILECONNECT Connects filename parts together to a fullname
PAUSE Wait a number of seconds before proceeding
PAUSESERVICE Pause a running service
PING Ping host
PLAYSOUND Play a WAV file
PORTCHECK Checks if a remote application is available
PRGFORMCLOSE Close progress window
PRGFORMSETINFO Set info text for progress window
PRGFORMSETNEXT Increase progress bar value of progress window by one
PRGFORMSETPROGRESS Set progress bar value of progress window
PRGFORMSHOW Show progress window
PRINTFILE Print a file
PUTINI Set inifile value
QUIT Exit complete script
READSTRING Read the contents of a file in a script variable
REBOOTSYSTEM Initiates a system reboot
REGEXPORTTOFILE Export a registry hive to a .reg file
REGIMPORTFROMFILE Import a .reg file to the registry
REM Insert Comments
REMOVEVAL Remove a script variable
REMOVEVALS Remove a set of script variables
REPLACE Replace all occurrences of a string with a new one
RIGHT Get right n characters from a string
RIGHTSIDE Retrieves the right part of a string
RTRIM Cut off trailing spaces of a string
RUNASYNC Execute command asynchroneously
RUNSCRIPT Execute a vb script or java script
RUNSYNC Execute command synchroneously
SAVESCRIPT Save current script including current header
SELECTFOLDER Display a browse for folder dialog
SELECTPRINTER Display a select printer dialog
SENDKEYS Send keystrokes to the active window
SETDEBUGLOG Write a debug logfile
SETDEBUGVARIANT Specify active breakpoint set for debug mode
SETFILEREADONLY Sets or clears the read-only flag of a file
SETGLOBVAL Sets a global variable
SETHEADER Sets a header variable
SETMAILMETHOD Set mail method and related options
SETREG Set registry value
SETTOPWINDOW Sets a specific window to stick to foreground or not
SETLOC Set a local script variable to a specific value
SETVAL Set a script global variable to a specific value
SETVALS Set one or more variables by given content string
SHELLASYNC Execute program asynchroneously
SHELLSYNC Execute program synchroneously
SHOWDIDIFORM Show DiDi
SHOWERRORS Show script errors
SHOWWARNINGS Show script warnings
SHUTDOWNSYSTEM Initiates a system shutdown
SLEEP Give full processor time to other processes
STARTAPP Start an application and display a wait text
STARTSERVICE Start a service
STOPSERVICE Stop a service
STRCOLLECT Combine several script variables to a single string
STRFIRSTPART Retrieves the first substring item of a string value
STRLASTPART Retrieves the last substring item of a string value
STROCCCOUNT Count occurrences of a substring in a given source string
STRPART

Retrieves a specific substring item of a string value

STRPARTS Retrieves the number of substring items in a string value
STRREDUCE Replace multiple occurrences of a string
STRREMLEADEND Remove the specified string from beginning and end of a given source string.
STRSPLIT Split a single string into parts as separate script variables
STRSTRIPFIRSTPART Strips the first substring item of a string value
STRSTRIPLASTPART Strips the last substring item of a string value
STRTAGCONTENT Retrieves the content of a HTML or XML tag
STRWHICHPART Find a substring's index
TRIM Cut off leading and trailing spaces of a string
UCASE Get a string in upper case letters
UNZIPFILES Extract files from a ZIP file
VAL Get a numerical value from a mixed character string
VIEWGLOBVARS Show global variables and their values
VIEWVARS Show current script variables and their values
WAITFORFILEACCESS Wait until a file is available
WAITFORFILEDELETE Wait until a file has been deleted
WRITESTRING Write String to file
ZIPFILES Pack files into a ZIP file