mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Continue rename to NetNewsWire.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
-- this script tests that it is possible to get the url property of the current article
|
||||
-- it uses system event accessibility scripting to set up the main window
|
||||
-- one needs to authorize scripting accessibility control in the System Preferences'
|
||||
-- Privacy and security pane
|
||||
|
||||
try
|
||||
tell application "NetNewsWire"
|
||||
{url, permalink, external url} of current article
|
||||
end tell
|
||||
on error message
|
||||
return {test_result:false, script_result:message}
|
||||
end try
|
||||
|
||||
return {test_result:true, script_result:"tests passed"}
|
||||
Reference in New Issue
Block a user