Macro Name: @ScriptName
Returns the Filename of the currently running script or compiled executable.
Example:
Returns the Filename of the currently running script or compiled executable.
Example:
#include <MsgBoxConstants.au3>
;Display script/ executable file name
MsgBox($MB_SYSTEMMODAL, "Script Name", @ScriptName)
;Display script/ executable file name
MsgBox($MB_SYSTEMMODAL, "Script Name", @ScriptName)
- AutoIt - Get Script (or Executable) Folder Path
- AutoIt - Get Script (or Executable) Path Including Script Name
- AutoIt - Get Script Line Number Being Executed
- AutoIt - Get Current Working Directory
- AutoIt - Get Process ID (PID) of Current Script or Executable
Interesting? Share and Let Others Know.
Post a Comment