I am using the $$variable name for external data sources (FileMaker files).
I have a script (A) which populates $$variable with the file name in question, and then opens the file (1), no problem.
That same script (A) then attempts to call a sub-script (B) within the external file (1). It works.
Now, if I use the same script (A) open a different external file (2), which has a different name, and call that same subscript (B), which has the exact same name as it did in (1), it fails. It cannot find the script, even though the new file (2) has that exact same script by the exact same name as it did in File (1).
It's as if it's trying to find the script by script ID, instead of by script name. Is there any way to force it to look first for script by name instead of script ID?