{"action":"created","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/887","repository_url":"https://api.github.com/repos/Hammerspoon/hammerspoon","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/887/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/887/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/887/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/887","id":151701268,"number":887,"title":"Is it possible to control menu items in dock context menus?","user":{"login":"fkling","id":179026,"avatar_url":"https://avatars.githubusercontent.com/u/179026?v=3","gravatar_id":"","url":"https://api.github.com/users/fkling","html_url":"https://github.com/fkling","followers_url":"https://api.github.com/users/fkling/followers","following_url":"https://api.github.com/users/fkling/following{/other_user}","gists_url":"https://api.github.com/users/fkling/gists{/gist_id}","starred_url":"https://api.github.com/users/fkling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkling/subscriptions","organizations_url":"https://api.github.com/users/fkling/orgs","repos_url":"https://api.github.com/users/fkling/repos","events_url":"https://api.github.com/users/fkling/events{/privacy}","received_events_url":"https://api.github.com/users/fkling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-28T17:38:31Z","updated_at":"2016-06-13T07:21:16Z","closed_at":null,"body":"I fear the answer is \"no\", but since I don't have any experience with OS X APIs I thought I'd ask.\r\n\r\nContext: Pandora is implemented as an Adobe Air (or whatever it's called) application, and its top bar menu doesn't provide any way to control the app. The dock menu does though:\r\n\r\n<img width=\"282\" alt=\"screen shot 2016-04-28 at 1 36 13 pm\" src=\"https://cloud.githubusercontent.com/assets/179026/14895361/37d06f98-0d46-11e6-83ce-76d2926dc00a.png\">\r\n\r\n\r\nI tried `p:findMenuItem('Play')` from the console, but that returns `nil`.\r\n\r\nP.S.: I searched the issues before but couldn't find any related questions to this."},"comment":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/comments/225505915","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/887#issuecomment-225505915","issue_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/887","id":225505915,"user":{"login":"asmagill","id":8139480,"avatar_url":"https://avatars.githubusercontent.com/u/8139480?v=3","gravatar_id":"","url":"https://api.github.com/users/asmagill","html_url":"https://github.com/asmagill","followers_url":"https://api.github.com/users/asmagill/followers","following_url":"https://api.github.com/users/asmagill/following{/other_user}","gists_url":"https://api.github.com/users/asmagill/gists{/gist_id}","starred_url":"https://api.github.com/users/asmagill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmagill/subscriptions","organizations_url":"https://api.github.com/users/asmagill/orgs","repos_url":"https://api.github.com/users/asmagill/repos","events_url":"https://api.github.com/users/asmagill/events{/privacy}","received_events_url":"https://api.github.com/users/asmagill/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T07:21:16Z","updated_at":"2016-06-13T07:21:16Z","body":"FYI, I've finally provided some documentation and a precompiled binary for the axuielement module. If you're interested, check out the Reference.md file in the repository folder."}}
{"actor":{"display_login":"asmagill"}}