{"action":"created","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/958","repository_url":"https://api.github.com/repos/Hammerspoon/hammerspoon","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/958/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/958/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/958/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/958","id":172503676,"number":958,"title":"Unparsed output from applescript","user":{"login":"joelmccracken","id":10936,"avatar_url":"https://avatars.githubusercontent.com/u/10936?v=3","gravatar_id":"","url":"https://api.github.com/users/joelmccracken","html_url":"https://github.com/joelmccracken","followers_url":"https://api.github.com/users/joelmccracken/followers","following_url":"https://api.github.com/users/joelmccracken/following{/other_user}","gists_url":"https://api.github.com/users/joelmccracken/gists{/gist_id}","starred_url":"https://api.github.com/users/joelmccracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelmccracken/subscriptions","organizations_url":"https://api.github.com/users/joelmccracken/orgs","repos_url":"https://api.github.com/users/joelmccracken/repos","events_url":"https://api.github.com/users/joelmccracken/events{/privacy}","received_events_url":"https://api.github.com/users/joelmccracken/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-22T17:02:58Z","updated_at":"2016-10-05T21:31:20Z","closed_at":null,"body":"I'm not sure that I understand what I should be seeing, but:\r\n\r\n![screen shot 2016-08-22 at 1 00 39 pm](https://cloud.githubusercontent.com/assets/10936/17863664/8fab8612-6868-11e6-9ec5-1927257236bd.png)\r\n\r\n\r\nI want to get the value that I entered (\"face\"), but there is nothing in y. I figured that I can resort to using a regex to pull the entered value out, but this seems like a bug to me."},"comment":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/comments/251805648","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/958#issuecomment-251805648","issue_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/958","id":251805648,"user":{"login":"joelmccracken","id":10936,"avatar_url":"https://avatars.githubusercontent.com/u/10936?v=3","gravatar_id":"","url":"https://api.github.com/users/joelmccracken","html_url":"https://github.com/joelmccracken","followers_url":"https://api.github.com/users/joelmccracken/followers","following_url":"https://api.github.com/users/joelmccracken/following{/other_user}","gists_url":"https://api.github.com/users/joelmccracken/gists{/gist_id}","starred_url":"https://api.github.com/users/joelmccracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelmccracken/subscriptions","organizations_url":"https://api.github.com/users/joelmccracken/orgs","repos_url":"https://api.github.com/users/joelmccracken/repos","events_url":"https://api.github.com/users/joelmccracken/events{/privacy}","received_events_url":"https://api.github.com/users/joelmccracken/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T21:31:20Z","updated_at":"2016-10-05T21:31:20Z","body":"I think your AppleScript is better than mine :) \n\nSent from my iPhone\n\n> On Sep 19, 2016, at 1:11 AM, Chris Hocking <notifications@github.com> wrote:\n> \n> I'm a newbie to Hammerspoon, so I could be completely wrong, however, I feel like it actually works as expected. Here's an example of how I would write the code:\n> \n> hs.hotkey.bind({\"cmd\", \"alt\", \"ctrl\"}, \"t\", function()\n> ok,appleScriptResult = hs.osascript.applescript([[\n> set dialogBox to (display dialog \"tell me something\" default answer \"\")\n> return the text returned of dialogBox\n> ]]) \n> hs.alert.show(appleScriptResult) \n> end)\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"joelmccracken"}}