support for permalink and external url

Consolidate GetURL AppleEvent handling into AppDelegate+Scriptability
file
Add scripting access groups to sdef
Add exists command
Add ‘permalink’ and ‘external url’ properties to the article scripting
object
Add a unit test to verify the behavior of ‘current article’
This commit is contained in:
Olof Hellman committed 2018-02-11 01:20:30 -08:00
1 parent dcd2ee94f9
commit 43cfb54437
14 files changed
+371 -78

No files matched your search

@@ -0,0 +1,18 @@
-- this script sets up Evergreen so it is ready to be tested
-- to get a current article
to activateEvergreen()
tell application "Evergreen"
activate
end tell
end activateEvergreen
tell application "System Events"
set isFrontmost to frontmost of process "Evergreen"
repeat while isFrontmost is false
my activateEvergreen()
set isFrontmost to frontmost of process "Evergreen"
end repeat
end tell
return {test_result:true, script_result:"finished"}