Files
gemoji/db/aliases.applescript
Mislav Marohnić 0bb789e3e6 Convert applescript to plain text format
So that it's readable and diffable from the web interface

[ci skip]
2014-08-06 07:51:55 -07:00

14 lines
317 B
AppleScript

set jsCode to "document.getElementById('output').value"
set json to missing value
tell application "Safari"
repeat
set json to (do JavaScript jsCode in current tab of window 1)
if (json is not missing value) then exit repeat
delay 0.5
end repeat
close current tab of window 1
end tell
return json