This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
set theDevice to my urlencode("Eric Pramono’s iPhone") as string | |
set theQuery to my urlencode("{query}") as string | |
set theURL to "command-c://x-callback-url/copyText?deviceName=" & theDevice & "&text=drafts%3A%2F%2Fx-callback-url%2Fcreate%3FafterSuccess%3DDelete%26action%3DAdd%2520Journal%2520Item%2520in%25201Writer%26text%3D" & my urlencode(theQuery) | |
open location theURL | |
end tell | |
on urlencode(theurl) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onewriter://x-callback-url/append? | |
path=Documents& | |
type=local& | |
name=Journal%20Items.md& | |
text={{<<xdts>>}}%0A[[draft]]& | |
afterSuccess=Delete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
set theDevice to my urlencode("Eric Pramono’s iPhone") as string | |
set theQuery to my urlencode("{query}") as string | |
set theURL to "command-c://x-callback-url/copyText?deviceName=" & theDevice & "&text=beginapp%3A%2F%2Fx-callback-url%2FaddTasks%3Ftext%3D" & my urlencode(theQuery) | |
open location theURL | |
end tell | |
on urlencode(theurl) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set theClipboard to the clipboard as string | |
set theQuote to my urlencode(theClipboard) | |
set theActiveURL to "" | |
tell application "Safari" | |
set theActiveWindow to first window | |
set theActiveTab to current tab of theActiveWindow | |
set theDecodedURL to URL of theActiveTab as string | |
set theActiveURL to my urlencode(theDecodedURL) as string | |
end tell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
set theDevice to my urlencode("Eric Pramono’s iPhone") as string | |
set theQuery to "{query}" | |
set oldDelimiters to AppleScript's text item delimiters | |
set AppleScript's text item delimiters to {"; "} | |
set argv to my explode ("; ", theQuery) as list | |
set argcount to count of argv | |
if (argcount > 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
launch://x-callback-url/clipboard? | |
text={[text]}& | |
x-success= | |
drafts%3A%2F%2Fx-callback-url%2Fcreate%3F | |
text%3D%3Ccclipboard%3E%26 | |
action%3DSearch%2520Multiple%2520Sites%26 | |
allowEmpty%3DNO%26 | |
afterSuccess%3DDelete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command-c://x-callback-url/copyAndOpenURL? | |
deviceName={{Eric Pramono’s MacBook}}& | |
url=[[title]]& | |
x-source=Drafts& | |
x-success= | |
{{drafts://x-callback-url/create? | |
text=[[body]]& | |
action=Search%20Multiple%20Sites& | |
allowEmpty=NO& | |
afterSuccess=Delete}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
launch://x-callback-url/clipboard? | |
text={{[prompt-text:Search Keyword]}}& | |
x-success= | |
{{launch://?url=drafts%3A%2F%2Fx-callback-url%2Fcreate%3Ftext%3D | |
%3Ccclipboard%3E%26 | |
action%3DSearch%2520Multiple%2520Sites%26 | |
allowEmpty%3DNO%26 | |
afterSuccess%3DDelete}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
launch://x-callback-url/clipboard? | |
attach=photo:library& | |
quality=[list:Quality|60|80|100]& | |
maxwidth=600& | |
x-success={{command-c://x-callback-url/copy? | |
deviceName=[list:Device|iMac=epramono|MacBook=Eric Pramono’s MacBook|iPad 2=Eric Pramono’s iPad]& | |
x-source=Launch%20Pro& | |
x-success=launch%3A%2F%2F}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
launch://?url= | |
{{command-c://x-callback-url/copyText? | |
deviceName=[list:Device|iMac=epramono|MacBook=Eric Pramono’s MacBook|iPad 2=Eric Pramono’s iPad]& | |
x-source=Launch%20Pro& | |
x-success=drafts%3A%2F& | |
text=[[selection]]}} |