A_IsPortable - Check if the script was run from the exe with the same name as the script

Propose new features and changes
iseahound
Posts: 1459
Joined: 13 Aug 2016, 21:04
Contact:

A_IsPortable - Check if the script was run from the exe with the same name as the script

02 Jul 2023, 20:16

AutoHotkey can be run essentially one of 4 ways:
  • Installation
  • Compiled - Check this using A_IsCompiled.
  • Embedded - Check this using A_ScriptFullPath == A_AhkPath
  • Portable - Run from the exe with the same name as the script. Check with SubStr(A_ScriptFullPath, 1, -3) == SubStr(A_AhkPath, 1, -3)
Might be better to just add a new variable A_IsPortable or something similar.

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 10 guests