Skip to content

Commit

Permalink
Remove redundant lines and fix indents.
Browse files Browse the repository at this point in the history
  • Loading branch information
j4byers authored Sep 16, 2022
1 parent 5a98637 commit 1c3e52e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ tell application "System Events"
set windowReady to true
exit repeat
end if
on error
end try
end repeat
end if
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ on main(addressList)
if exists window 1 then
repeat with buttonEl in buttons of window 1
try
if (exists attribute "AXIdentifier" of buttonEl) and (value of attribute "AXIdentifier" of buttonEl contains "NS") then
set windowReady to true
exit repeat
end if
on error
if (exists attribute "AXIdentifier" of buttonEl) and (value of attribute "AXIdentifier" of buttonEl contains "NS") then
set windowReady to true
exit repeat
end if
end try
end repeat
end if
Expand Down

0 comments on commit 1c3e52e

Please sign in to comment.