recentpopularlog in

handcoding : jxa   7

[HOW TO] Get frontmost tab’s url and title of various browsers - Workflow Help & Questions - Alfred App Community Forum
This page offers JXA for getting various attributes from Safari and Chrome windows, including the page title, the page URL, and the like.
automation  jxa  chrome  safari  2019  keyboardmaestron  url  title 
june 2019 by handcoding
AppleScript and JavaScript for Automation to get frontmost tab’s url and title of various browsers.
This page pretty much has the motherlode for AppleScript and JXA for getting the current URL and page title in Safari, Safari Technical Preview, Chrome, and even Opera.
applescript  jxa  javascript  mac  macos  osx  gist  canonical  safari  chrome  keyboardmaestro  2019 
april 2019 by handcoding
Home · JXA-Cookbook/JXA-Cookbook Wiki · GitHub
“JavaScript for Automation is a new feature in OS X Yosemite. It lets you control applications and the operating system using JavaScript language.”
jxa  automation  javascript  macos  mac  osx  2019 
march 2019 by handcoding
Javascript for Automation in macOS – Hacker Noon
“There is a panel in Script Editor for viewing property list of the applications. This is for helping you to figure out how to command macOS applications via JXA. You can view it by opening Script Editor and clicking on one of these menu items: File > Open Dictionary or Window > Library.”
javascript  automation  mac  osx  macos  2017  jxa 
march 2019 by handcoding
My JXA problem - All this
"The intent of this is easy to work out, but I don’t think I’ll ever be able to carry this kind of syntax in my head. I’m OK with the braces within braces, because that’s basically JSON, but the leading underscore just seems stupid. But now I have a blog post that’ll help me find it the next time I need it."
leancrew  drdrang  jxa  applescript  2017 
august 2017 by handcoding
Getting Started with JavaScript for Automation on Yosemite – MacStories
"Since JXA is so new, there obviously was not much information to go by. I've never gotten around to learning AppleScript, so articles based on the classic OS X automation language were not much help either, although I’m not sure how much they would apply anyway. The result was quite a few wasted hours trying to figure out some of the most basic parts of JXA, such as proper syntax of method calls, which method calls worked with which apps, and how to identify UI Elements in order to trigger them with UI automation. Eventually I was able to figure these things out, so now I'm back to share what I learned."
mac  osx  jxa  javascript  automation  2017 
june 2017 by handcoding

Copy this bookmark:

to read