Macro Name: @ScriptLineNumber
Returns the Line number being executed - useful for debug statements (e.g. location of function call). Significant in uncompiled scripts only. #include files return their internal line numbering.
Example:
Returns the Line number being executed - useful for debug statements (e.g. location of function call). Significant in uncompiled scripts only. #include files return their internal line numbering.
Example:
#include <MsgBoxConstants.au3>
;Display script line number
MsgBox($MB_SYSTEMMODAL, "Script Line Number", @ScriptLineNumber)
;Display script line number
MsgBox($MB_SYSTEMMODAL, "Script Line Number", @ScriptLineNumber)
- AutoIt - Get Script Name (Process Name)
- AutoIt - Get Script (or Executable) Folder Path
- AutoIt - Get Script (or Executable) Path Including Script Name
- AutoIt - Get Current Working Directory
- AutoIt - Get Process ID (PID) of Current Script or Executable
Interesting? Share and Let Others Know.
Post a Comment