I’m building a Cocoa app and I’m very new to Objective-C. I have a library of AppleScript handlers that I would like to call from my Cocoa app passing variable parameters to the various handlers but I’m stumped how to make this work. I understand how to call a script and have it return a value from the explicit run handler but not other handlers and not passing parameters.
Rob, thanks, but I don’t think that’s what I need. I found this posting online and I think it is more along the lines of what I want to do but I can’t figure out how to make it work (the author didn’t respond to my query even though I promised valuable rewards for some illumination).
Jon, I don’t know if you subscribe to the applescript-studio list so here’s something else that popped up today and might be useful.
DocGlue was created as a global data store for all your AppleScript Studio scripts. It can remember values for later, then recall those same values in another script. The download package includes an Objective-C class (doing all the work), an AppleScript library (talking to the Objective-C class), documentation, and a Sample project.
Rob, thanks for being on the lookout. I don’t subscribe to the list but I do search it (and others) periodically using the excellent and invaluable iList. I’ll take a look at DocGlue and let you know how that goes as well.
Thanks for the pointer to iList, a bit quirky at first, but absolutely wonderful. Never again will I have to trawl through those huge text files on the carbon and quicktime lists. It would be good but not quite so necesary if iList could work on these lists as well.