{"action":"created","issue":{"url":"https://api.github.com/repos/johnste/finicky/issues/21","labels_url":"https://api.github.com/repos/johnste/finicky/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/johnste/finicky/issues/21/comments","events_url":"https://api.github.com/repos/johnste/finicky/issues/21/events","html_url":"https://github.com/johnste/finicky/issues/21","id":100204068,"number":21,"title":"Feature request: expand API to support scripting w/ bash or AppleScript","user":{"login":"joshtch","id":4016526,"avatar_url":"https://avatars.githubusercontent.com/u/4016526?v=3","gravatar_id":"","url":"https://api.github.com/users/joshtch","html_url":"https://github.com/joshtch","followers_url":"https://api.github.com/users/joshtch/followers","following_url":"https://api.github.com/users/joshtch/following{/other_user}","gists_url":"https://api.github.com/users/joshtch/gists{/gist_id}","starred_url":"https://api.github.com/users/joshtch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshtch/subscriptions","organizations_url":"https://api.github.com/users/joshtch/orgs","repos_url":"https://api.github.com/users/joshtch/repos","events_url":"https://api.github.com/users/joshtch/events{/privacy}","received_events_url":"https://api.github.com/users/joshtch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-11T01:35:30Z","updated_at":"2015-08-11T16:52:49Z","closed_at":null,"body":"As I [mentioned](https://www.reddit.com/r/macapps/comments/3fuxku/finicky_a_scriptable_browser_launcher_os_x_1010/ctxnh11) on Reddit, I'd like to use Finicky to open the URL in whatever browser happens to be open, with a hierarchy of preference for tiebreaks. This could be done with a system call to `ps`, or via an AppleScript command like [the one I found here](http://hints.macworld.com/article.php?story=20100503134708927)."},"comment":{"url":"https://api.github.com/repos/johnste/finicky/issues/comments/129966186","html_url":"https://github.com/johnste/finicky/issues/21#issuecomment-129966186","issue_url":"https://api.github.com/repos/johnste/finicky/issues/21","id":129966186,"user":{"login":"joshtch","id":4016526,"avatar_url":"https://avatars.githubusercontent.com/u/4016526?v=3","gravatar_id":"","url":"https://api.github.com/users/joshtch","html_url":"https://github.com/joshtch","followers_url":"https://api.github.com/users/joshtch/followers","following_url":"https://api.github.com/users/joshtch/following{/other_user}","gists_url":"https://api.github.com/users/joshtch/gists{/gist_id}","starred_url":"https://api.github.com/users/joshtch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshtch/subscriptions","organizations_url":"https://api.github.com/users/joshtch/orgs","repos_url":"https://api.github.com/users/joshtch/repos","events_url":"https://api.github.com/users/joshtch/events{/privacy}","received_events_url":"https://api.github.com/users/joshtch/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T16:52:49Z","updated_at":"2015-08-11T16:52:49Z","body":"Okay, sure. What do you have in mind? I figured plugging into an existing language would make Finicky a lot more powerful without adding much complexity. Frankly, I find it a little curious to be using a Javascript API in the first place..."}}