Automating Handler Selection from Script Library File -- Ideas?


(Shane Stanley) #21

It’s one that has an entry for OSAScriptingDefinitionIsDynamic in its Info.plist file. InDesign is a good example: it supports scriptable plug-ins, so the dictionary has to be dynamic.

Nope. I’m surprised.

(Jim Underwood) #22


Many thanks for your continued development and sharing of this great script! :+1:

I just tested it on my system, and it ran extremely fast, 0.17 sec, and did NOT cause any apps to launch or activate. :+1:

I’m running Script Debugger 6.0.4 (6A198) on macOS 10.11.6.

(koenigyvan) #23

In MarksLib.scptd is the handler :

on |join|(theString, theSeperator)
local saveTID, theResult

set saveTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to theSeperator
set theResult to theString as text
set AppleScript's text item delimiters to saveTID
return theResult

end |join|

The script drops it because it doesn’t accept pipe in the name of handlers.