Apple Script from Juce App


#1

Hi
I’m fiddling with something I know nothing about.
Is it possible to run apple script from with in a Juce App?
Either, the script should come in the form of a juce string.
Or, if it is easier, a script file inside binarydata.
How do I go about running the script from within the juce app. does it involve Objective C and/or voodoo ?


#2

You know, it’s always worth just searching the juce folder for the string you’re interested in… If you search for “applescript” you’ll find a bit of code we use inside the networking code which invokes a script to launch an email, and you can copy that to get started. I don’t think it’s something we’d see a need to add to the library though, it’s a bit too platform-specific.