JavaScript as an alternative to AppleScript on OS X Yosemite
developer.apple.com
JavaScript as an alternative to AppleScript on OS X Yosemite
1–10 of 126 posts
Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#2Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#3I kind've wish they'd used $ for what Application() is, though, to keep an analogous similarity with jQuery and the like.
Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#4It would be cool if they also add some kind of support for swift (or some variant) too.
Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#5In the same cycle that they release a brand new language, they begin the deprecation process for their (only?) other proprietary programming language in favor of an existing language. Pretty cool.
Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#6This makes me really happy. I kind've wish they'd used $ for what Application() is, though, to keep an analogous similarity with jQuery and the like.
Easy fix!
Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#7Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#8This makes me really happy. I kind've wish they'd used $ for what Application() is, though, to keep an analogous similarity with jQuery and the like.
var $ = Application;Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#9app.say('This is exciting')
Re: JavaScript as an alternative to AppleScript on OS X Yosemite
#10This makes me really happy. I kind've wish they'd used $ for what Application() is, though, to keep an analogous similarity with jQuery and the like.
$ = Application; Easy fix!
"The primary access points for the Objective-C bridge are the global properties ObjC and $."