{"action":"created","issue":{"url":"https://api.github.com/repos/pilotmoon/PopClip-Extensions/issues/438","labels_url":"https://api.github.com/repos/pilotmoon/PopClip-Extensions/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/pilotmoon/PopClip-Extensions/issues/438/comments","events_url":"https://api.github.com/repos/pilotmoon/PopClip-Extensions/issues/438/events","html_url":"https://github.com/pilotmoon/PopClip-Extensions/issues/438","id":30961014,"number":438,"title":"How do you invoke notification center to tweet?","user":{"login":"ernestyao","id":3162603,"avatar_url":"https://avatars.githubusercontent.com/u/3162603?v=3","gravatar_id":"","url":"https://api.github.com/users/ernestyao","html_url":"https://github.com/ernestyao","followers_url":"https://api.github.com/users/ernestyao/followers","following_url":"https://api.github.com/users/ernestyao/following{/other_user}","gists_url":"https://api.github.com/users/ernestyao/gists{/gist_id}","starred_url":"https://api.github.com/users/ernestyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernestyao/subscriptions","organizations_url":"https://api.github.com/users/ernestyao/orgs","repos_url":"https://api.github.com/users/ernestyao/repos","events_url":"https://api.github.com/users/ernestyao/events{/privacy}","received_events_url":"https://api.github.com/users/ernestyao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-04-07T06:39:18Z","updated_at":"2015-09-25T12:36:49Z","closed_at":"2014-07-15T09:58:37Z","body":"I found two extensions in \"source\". One uses system service and one uses applescript. I found the applescript not running on my Mac in Chinese environment. \"Window\" cannot be  found blah blah blah... But your extension with system service works perfect.\r\n\r\nI want to write some separate workflows invoking NC to tweet and weibo. So would you please tell me what's the system service and how to write it? Do you use Automator?\r\n\r\nThank you in advance."},"comment":{"url":"https://api.github.com/repos/pilotmoon/PopClip-Extensions/issues/comments/143208000","html_url":"https://github.com/pilotmoon/PopClip-Extensions/issues/438#issuecomment-143208000","issue_url":"https://api.github.com/repos/pilotmoon/PopClip-Extensions/issues/438","id":143208000,"user":{"login":"invariant","id":17520,"avatar_url":"https://avatars.githubusercontent.com/u/17520?v=3","gravatar_id":"","url":"https://api.github.com/users/invariant","html_url":"https://github.com/invariant","followers_url":"https://api.github.com/users/invariant/followers","following_url":"https://api.github.com/users/invariant/following{/other_user}","gists_url":"https://api.github.com/users/invariant/gists{/gist_id}","starred_url":"https://api.github.com/users/invariant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invariant/subscriptions","organizations_url":"https://api.github.com/users/invariant/orgs","repos_url":"https://api.github.com/users/invariant/repos","events_url":"https://api.github.com/users/invariant/events{/privacy}","received_events_url":"https://api.github.com/users/invariant/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T12:36:49Z","updated_at":"2015-09-25T12:36:49Z","body":"The problem is not Signing. It's probbaly something happening inside MessageMaker2. perhaps it can't handle com.apple.share.AirDrop.send (can that handle sending plain text?)\n\nThe source of MessageMaker2 is in the extras folder of this repo\n\n\n\n> On 25 Sep 2015, at 08:15, Matt Motherway <notifications@github.com> wrote:\n> \n> @invariant I tried duplicating the Tweet extension in order to enable AirDrop, and it's not working. Do I need to sign it in order for it to work?\n> \n> ✔ /tmp/build/Airdrop.popclipext\n> 00:09 $ cat drop.sh\n> # We direct to null so PopClip does not sit around trying to read from stdout.\n> # Otherwise PopClip blocks and shows the spinner.\n> ./MessageMaker2.app/Contents/MacOS/MessageMaker2 com.apple.share.AirDrop.send text \"$POPCLIP_TEXT\" > /dev/null &\n> 00:10 $ sh drop.sh\n> ✔ /tmp/build/Airdrop.popclipext\n> 00:10 $ 2015-09-25 00:10:30.252 MessageMaker2[84109:14208532] error with remoteObjectProxyWithErrorHandler: Error Domain=NSCocoaErrorDomain Code=4097 \"connection from pid 84126\" UserInfo={NSDebugDescription=connection from pid 84126}\n> 2015-09-25 00:10:30.253 MessageMaker2[84109:14208554] plugin com.apple.share.AirDrop.send interrupted\n> 2015-09-25 00:10:30.275 MessageMaker2[84109:14208554] plugin com.apple.share.AirDrop.send invalidated\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n\n"}}