I’m currently playing around with JavaScript for Automation in Yosemite. Although, overall, I like it far better than AppleScript, there are certain things that seem to be very difficult for me.
All I’m trying to do is open a URL in my default browser. Here is what I have so far:
McUsrII: I assume you mean running the JOSA script inside a webpage?
No, it is standalone scripts (which can be saved as applications), just like Applescript.
I just thought it would be very useful, to be able use JXA from within webpages since then we’d have a nice frontend for generating reports and stuff. This would also simplify invocation of scripts from bookmarks/make it work again.