Skip navigation.
 
mlLoading Compiled AppleScript from Main Bundle???
FROM : matt neuburg
DATE : Fri Nov 01 19:24:29 2002

On Fri, 1 Nov 2002 21:54:39 +1100, Dale Gillard <<email_removed>> said:

>I'm not able to load and execute a compiled AppleScript that sits
>within my app's Bundle and was hoping someone may be able to help
>
>When I build the app I can see the compiled script has been saved into
>my Bundle's resources folder. And NSLog(theCompiledScript) shows me
>that the compiled script is being found at runtime. But
>NSLog([theResult stringValue]) shows nothing - the script returns a
>string.


I don't know the answer to the question you're asking, because I wouldn't do like that. I would just add an AppleScript file directly to my project (File -> New File -> AppleScript File). Thanks to AppleScript Kit you can hook this up to your code and just call any handler in the AppleScript file. m.

matt neuburg, phd = <email_removed>, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlLoading Compiled AppleScript from Main Bundle??? Dale Gillard Nov 1, 11:54
mlLoading Compiled AppleScript from Main Bundle??? matt neuburg Nov 1, 19:24