{"action":"created","issue":{"url":"https://api.github.com/repos/HappenApps/Quiver/issues/250","labels_url":"https://api.github.com/repos/HappenApps/Quiver/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/HappenApps/Quiver/issues/250/comments","events_url":"https://api.github.com/repos/HappenApps/Quiver/issues/250/events","html_url":"https://github.com/HappenApps/Quiver/issues/250","id":118223988,"number":250,"title":"Best Way to Get Quiver Code into Mac Script Editor?","user":{"login":"JMichaelTX","id":11052885,"avatar_url":"https://avatars.githubusercontent.com/u/11052885?v=3","gravatar_id":"","url":"https://api.github.com/users/JMichaelTX","html_url":"https://github.com/JMichaelTX","followers_url":"https://api.github.com/users/JMichaelTX/followers","following_url":"https://api.github.com/users/JMichaelTX/following{/other_user}","gists_url":"https://api.github.com/users/JMichaelTX/gists{/gist_id}","starred_url":"https://api.github.com/users/JMichaelTX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMichaelTX/subscriptions","organizations_url":"https://api.github.com/users/JMichaelTX/orgs","repos_url":"https://api.github.com/users/JMichaelTX/repos","events_url":"https://api.github.com/users/JMichaelTX/events{/privacy}","received_events_url":"https://api.github.com/users/JMichaelTX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-21T22:06:59Z","updated_at":"2015-11-22T09:38:28Z","closed_at":null,"body":"Let's say I'm writing code in the Script Editor (SE), and want to pull a  code snippet from Quiver.\r\nIs there an automated way to:\r\n1.  Search Quiver to identify the snippet\r\n  -- Ideally I'd like to provide a simple search term, like \"display\", and the process would show me choices of snippets for the AS or JXA display commands.\r\n-- Even better would be to have a label for text expansion of a code cell\r\n-- Something like `;as.display`\r\n-- This is my naming convention in TextExpander.  The above means AppleScript (as) Display commands (display), and would popup a list of all snippets that start with that label.\r\n2.  Pull the code from the code cell\r\n3.  Paste into SE\r\n\r\nThe ideal method would be like that used by TextExpander, which is where I'm currently keeping my most common code snippets.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/HappenApps/Quiver/issues/comments/158740245","html_url":"https://github.com/HappenApps/Quiver/issues/250#issuecomment-158740245","issue_url":"https://api.github.com/repos/HappenApps/Quiver/issues/250","id":158740245,"user":{"login":"JMichaelTX","id":11052885,"avatar_url":"https://avatars.githubusercontent.com/u/11052885?v=3","gravatar_id":"","url":"https://api.github.com/users/JMichaelTX","html_url":"https://github.com/JMichaelTX","followers_url":"https://api.github.com/users/JMichaelTX/followers","following_url":"https://api.github.com/users/JMichaelTX/following{/other_user}","gists_url":"https://api.github.com/users/JMichaelTX/gists{/gist_id}","starred_url":"https://api.github.com/users/JMichaelTX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMichaelTX/subscriptions","organizations_url":"https://api.github.com/users/JMichaelTX/orgs","repos_url":"https://api.github.com/users/JMichaelTX/repos","events_url":"https://api.github.com/users/JMichaelTX/events{/privacy}","received_events_url":"https://api.github.com/users/JMichaelTX/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T09:38:27Z","updated_at":"2015-11-22T09:38:27Z","body":"Thanks.\r\nAs a related matter, providing support for AppleScript might be a way of doing this.\r\nSo, if via AS I could search Quiver, find the first code cell, get its contents, then I could paste into the Script Editor."}}