{"action":"created","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/295","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/295/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/295/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/295","id":79269664,"number":295,"title":"Question: How do I move application window between virtual desktop?","user":{"login":"phuna","id":1096791,"avatar_url":"https://avatars.githubusercontent.com/u/1096791?v=3","gravatar_id":"","url":"https://api.github.com/users/phuna","html_url":"https://github.com/phuna","followers_url":"https://api.github.com/users/phuna/followers","following_url":"https://api.github.com/users/phuna/following{/other_user}","gists_url":"https://api.github.com/users/phuna/gists{/gist_id}","starred_url":"https://api.github.com/users/phuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuna/subscriptions","organizations_url":"https://api.github.com/users/phuna/orgs","repos_url":"https://api.github.com/users/phuna/repos","events_url":"https://api.github.com/users/phuna/events{/privacy}","received_events_url":"https://api.github.com/users/phuna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T03:53:36Z","updated_at":"2015-05-24T10:48:44Z","closed_at":null,"body":"Hi,\r\nQuestion as subject. I've checked the document and see there're API to move between screen but no API for moving between virtual desktop. Anyone help?\r\n\r\nThank,"},"comment":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/comments/105000763","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/295#issuecomment-105000763","issue_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/295","id":105000763,"user":{"login":"oskarols","id":324147,"avatar_url":"https://avatars.githubusercontent.com/u/324147?v=3","gravatar_id":"","url":"https://api.github.com/users/oskarols","html_url":"https://github.com/oskarols","followers_url":"https://api.github.com/users/oskarols/followers","following_url":"https://api.github.com/users/oskarols/following{/other_user}","gists_url":"https://api.github.com/users/oskarols/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarols/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarols/subscriptions","organizations_url":"https://api.github.com/users/oskarols/orgs","repos_url":"https://api.github.com/users/oskarols/repos","events_url":"https://api.github.com/users/oskarols/events{/privacy}","received_events_url":"https://api.github.com/users/oskarols/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T10:48:44Z","updated_at":"2015-05-24T10:48:44Z","body":"Hey,\r\n\r\nI'm assuming with \"Virtual desktop\" you're referring to \"Spaces\". That functionality isn't currently in Hammerspoon. There's basically two ways of approaching this as I know it.\r\n\r\nEither you can use https://github.com/asmagill/hammerspoon_asm.undocumented/tree/master/spaces which requires installing and using undocumented APIs.\r\n\r\nOr you could use Mission Control either directly or via Hammerspoon to configure hotkeys that switch spaces. \r\nSystem Preferences -> Keyboard -> Shortcuts (tab) -> Mission Control\r\n"}}