put the scriptObjectID of item 1 of the callStack
put the handler of item 1 of the callStack
The first example of yours returns the full path with script name exactly as how it's saved (including the .script) at the end. Example:
How can I extract just "ScriptName" from the above example?
put the scriptObjectID of item 1 of the callStack into fullPath
put item 1 delimited by "." of the last item delimited by "/" of fullPath into scriptName
A different question:
I saw somewhere in this forum an example of how to call another script, but in this case it was specifying the "start using" command. Can this work for images too? Like can you perhaps specify the whole suite name in the "start using" command of where the images are contained so the remainder of the script can find images there. This is so I don't have to manually specify the suite images in the helper tab.