en:autorun:documentation:autorun_vars
Constants
Plugin have few predefined variables (constants). You can not redefine these constants.
Information about Total Commander
AUTORUN_OSARCH | The OS architecture where TC is running. This can be either 32 or 64. Equal to %SYSINFO_OSARCH%. |
AUTORUN_TCHANDLE | Total Commander window handle (for using in scripts). Do not use this constant in the finalize section, as its value will point to a window that no longer exists. |
AUTORUN_TCPID | Total Commander process ID (for using in scripts). |
AUTORUN_ISADMIN | 1 if TC executed under admin, else 0. |
AUTORUN_TCARCH | 32 or 64 — TotalCommander architecture, where plugin loaded. |
AUTORUN_TCCMDLINE | Commandline of TotalCommander. |
Special symbols
auCRLF | Returns a line break in Windows format: 0xD + 0xA |
auCR | Returns the line break character: 0xD |
auLF | Returns a carriage return character: 0xA |
auTAB | Returns the tab character: 0x9 |
Additional constants with system information are available in the plugin SysInfo.
en/autorun/documentation/autorun_vars.txt · Последнее изменение: 2022/10/06 19:03 — loopback