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,19 @@
|
||||
try
|
||||
tell application "NetNewsWire"
|
||||
open location "http://scripting.com/rss"
|
||||
end tell
|
||||
on error message
|
||||
return {test_result:false, script_result:message}
|
||||
end
|
||||
|
||||
-- open location is not expected to return a value
|
||||
-- trying to access result should trigger an error, and that indicates a successful test
|
||||
|
||||
try
|
||||
set getURLResult to the result
|
||||
set testResult to false
|
||||
on error message
|
||||
set testResult to true
|
||||
end try
|
||||
|
||||
return {test_result:testResult}
|
||||
Reference in New Issue
Block a user