A series of command declarations that surplant the builtin definitions of some common AppleScript commands to increase versatility and functionality:
-
do shell script
Supply the shell command string optionally as a list of strings that will be concatenated and delimited using a space character -
load script
Use 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
) -
offset
Return a list of all offsets of a substring. Includes recursive and iterative routines, the latter being the most efficient.