{"action":"created","issue":{"url":"https://api.github.com/repos/wouterdebie/i2cssh/issues/23","labels_url":"https://api.github.com/repos/wouterdebie/i2cssh/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/wouterdebie/i2cssh/issues/23/comments","events_url":"https://api.github.com/repos/wouterdebie/i2cssh/issues/23/events","html_url":"https://github.com/wouterdebie/i2cssh/issues/23","id":17542389,"number":23,"title":"appscript gem causing errors","user":{"login":"davidxia","id":480621,"avatar_url":"https://avatars.githubusercontent.com/u/480621?v=3","gravatar_id":"","url":"https://api.github.com/users/davidxia","html_url":"https://github.com/davidxia","followers_url":"https://api.github.com/users/davidxia/followers","following_url":"https://api.github.com/users/davidxia/following{/other_user}","gists_url":"https://api.github.com/users/davidxia/gists{/gist_id}","starred_url":"https://api.github.com/users/davidxia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidxia/subscriptions","organizations_url":"https://api.github.com/users/davidxia/orgs","repos_url":"https://api.github.com/users/davidxia/repos","events_url":"https://api.github.com/users/davidxia/events{/privacy}","received_events_url":"https://api.github.com/users/davidxia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-08-02T02:55:40Z","updated_at":"2015-05-29T16:47:54Z","closed_at":null,"body":"    $ i2cssh -m host1.com,host2.com\r\n\r\n    /Library/Ruby/Gems/1.8/gems/rb-appscript-0.6.1/lib/appscript.rb:542:in `_send_command': CommandError (Appscript::CommandError)\r\n        OSERROR: -1719\r\n        MESSAGE: Access for assistive devices is disabled.\r\n        OFFENDING OBJECT: app(\"/System/Library/CoreServices/System Events.app\").processes[\"iTerm\"].menu_bars[1]\r\n        COMMAND: app(\"/System/Library/CoreServices/System Events.app\").processes[\"iTerm\"].menu_bars[1].menu_bar_items[\"Shell\"].menus[\"Shell\"].menu_items[\"Split Vertically with Current Profile\"].click()\r\n      from /Library/Ruby/Gems/1.8/gems/rb-appscript-0.6.1/lib/appscript.rb:642:in `method_missing'\r\n      from /Library/Ruby/Gems/1.8/gems/i2cssh-1.9.0/lib/i2cssh.rb:74:in `split_session'\r\n      from /Library/Ruby/Gems/1.8/gems/i2cssh-1.9.0/lib/i2cssh.rb:73:in `upto'\r\n      from /Library/Ruby/Gems/1.8/gems/i2cssh-1.9.0/lib/i2cssh.rb:73:in `split_session'\r\n      from /Library/Ruby/Gems/1.8/gems/i2cssh-1.9.0/lib/i2cssh.rb:28:in `initialize'\r\n      from /Library/Ruby/Gems/1.8/gems/i2cssh-1.9.0/bin/i2cssh:192:in `new'\r\n      from /Library/Ruby/Gems/1.8/gems/i2cssh-1.9.0/bin/i2cssh:192\r\n      from /usr/bin/i2cssh:19:in `load'\r\n      from /usr/bin/i2cssh:19\r\n\r\n    $ ruby -v\r\n    ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]\r\n"},"comment":{"url":"https://api.github.com/repos/wouterdebie/i2cssh/issues/comments/106868698","html_url":"https://github.com/wouterdebie/i2cssh/issues/23#issuecomment-106868698","issue_url":"https://api.github.com/repos/wouterdebie/i2cssh/issues/23","id":106868698,"user":{"login":"MelonSmasher","id":1491053,"avatar_url":"https://avatars.githubusercontent.com/u/1491053?v=3","gravatar_id":"","url":"https://api.github.com/users/MelonSmasher","html_url":"https://github.com/MelonSmasher","followers_url":"https://api.github.com/users/MelonSmasher/followers","following_url":"https://api.github.com/users/MelonSmasher/following{/other_user}","gists_url":"https://api.github.com/users/MelonSmasher/gists{/gist_id}","starred_url":"https://api.github.com/users/MelonSmasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MelonSmasher/subscriptions","organizations_url":"https://api.github.com/users/MelonSmasher/orgs","repos_url":"https://api.github.com/users/MelonSmasher/repos","events_url":"https://api.github.com/users/MelonSmasher/events{/privacy}","received_events_url":"https://api.github.com/users/MelonSmasher/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T16:47:54Z","updated_at":"2015-05-29T16:47:54Z","body":"same issue here OSX 10.10.3 :\r\n\r\n```\r\nmelon@odin:~$ i2cssh -c cloudweb -l root\r\n/Users/melon/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-14/2.1.0-static/rb-appscript-0.6.1/appscript.rb:542:in `_send_command': CommandError (Appscript::CommandError)\r\n\t\tOSERROR: -1728\r\n\t\tMESSAGE: Can't get reference.\r\n\t\tOFFENDING OBJECT: app(\"/System/Library/CoreServices/System Events.app\").processes[\"/opt/homebrew-cask/Caskroom/iterm2/2.0/iTerm.app\"]\r\n\t\tCOMMAND: app(\"/System/Library/CoreServices/System Events.app\").processes[\"/opt/homebrew-cask/Caskroom/iterm2/2.0/iTerm.app\"].menu_bars[1].menu_bar_items[\"Shell\"].menus[\"Shell\"].menu_items[\"Split Vertically with Current Profile\"].click()\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-14/2.1.0-static/rb-appscript-0.6.1/appscript.rb:642:in `method_missing'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/gems/i2cssh-1.13.2/lib/i2cssh.rb:117:in `block in split_session'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/gems/i2cssh-1.13.2/lib/i2cssh.rb:116:in `upto'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/gems/i2cssh-1.13.2/lib/i2cssh.rb:116:in `split_session'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/gems/i2cssh-1.13.2/lib/i2cssh.rb:30:in `initialize'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/gems/i2cssh-1.13.2/bin/i2cssh:290:in `new'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/gems/i2cssh-1.13.2/bin/i2cssh:290:in `<top (required)>'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/bin/i2cssh:23:in `load'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/bin/i2cssh:23:in `<main>'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'\r\n\tfrom /Users/melon/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'\r\nmelon@odin:~$ ruby -v\r\nruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]\r\n```"}}