mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Major folder and project tree restructuring.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
-- this script sets up NetNewsWire so it is ready to be tested
|
||||
-- to get a current article
|
||||
|
||||
to activateNetNewsWire()
|
||||
tell application "NetNewsWire"
|
||||
activate
|
||||
end tell
|
||||
end activateNetNewsWire
|
||||
|
||||
tell application "System Events"
|
||||
set isFrontmost to frontmost of process "NetNewsWire"
|
||||
repeat while isFrontmost is false
|
||||
my activateNetNewsWire()
|
||||
set isFrontmost to frontmost of process "NetNewsWire"
|
||||
end repeat
|
||||
end tell
|
||||
|
||||
return {test_result:true, script_result:"finished"}
|
||||
Reference in New Issue
Block a user