first surprise after going from GP 4.5.8 to GP 4.7
In my Global Rack Script I make use of Shell() or ShellEx() to invoke AppleScript, e.g. to run a BGM playlist in music, bring an app to front of the screen, skip to the next track in Music etc.
This was OK in 4.5.8, however in 4.7 only part of it is working:
Good question, I also tried ShellEx(), however I got nothing as a return value… Same result. The AppleScripts are working, command line scripts are not
Same result on both of my macs…
I don’t have installed 4.5.8 anymore, but yes, these Shell(“osascript -e ‘…’”) have definitly been running on GP 4.5.8
I think this gots something to do with correct escaping the " in my osascript command string
I made some additions: the ESC character '' gets added to the command string, therefore osascripts drops an error message (unfortunately in German on my system