A series of command declarations that surplant the builtin definitions of some common AppleScript commands to increase versatility and functionality:
-
do shell scriptSupply the shell command string optionally as a list of strings that will be concatenated and delimited using a space character -
load scriptUse scripts stored in text files that can be referenced by posix paths utilising~/, or any other type of AppleScript file reference (e.g.POSIX file,file,alias) -
offsetReturn a list of all offsets of a substring. Includes recursive and iterative routines, the latter being the most efficient.