0

Testing what can be done with System Events I noticed when pulling system info:

AppleScript Version:

tell application "System Events" to return AppleScript version of (get system info)

AppleScript Studio Version:

tell application "System Events" to return AppleScript Studio version of (get system info)

there was a difference returned. When I researched the site I didn't see this asked and I haven't found an answer on Apple discussion. So what is the difference between the two?

2
  • Just an FYI... No need for using "Tell" statements with that command. In script editor, simply use the command "system info" and the result will show you the results from both of your examples plus more
    – wch1zpink
    Aug 9 '17 at 17:46
  • It's a force of habit when coding very long apps and noticing at times there is an issue when calling different commands from System Events and Finder.
    – ʀ2ᴅ2
    Aug 9 '17 at 17:47
0

Your first line of code simply returns the version of the AppleScript language currently in use. You can also see it under Script EditorPreferencesGeneralDefault Language.

As for AppleScript Studio, this is what Wikipedia has to say about it:

AppleScript Studio
A framework for attaching Cocoa interfaces to AppleScript applications, part of the Xcode package in Mac OS X 10.4 and 10.5, now deprecated in favor of AppleScriptObjC.

— From AppleScript: the definitive guide, 2nd edition

In essence, it was what you used for creating AppleScript applications in Xcode.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .