Skip to content

Commit

Permalink
Merge pull request #3 from jaredmichaelwilliams/patch-1
Browse files Browse the repository at this point in the history
The UI element has changed from title to Title
  • Loading branch information
mikelxc authored Nov 22, 2020
2 parents 006aeae + 715ec5b commit bce7928
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,16 @@
<key>escaping</key>
<integer>68</integer>
<key>script</key>
<string>tell application "System Events" tell process "SystemUIServer" try click (menu bar item 1 of menu bar 1 whose description contains "Displays") click (menu item 1 of menu 1 of result whose title contains "iPad") on error display dialog "Cannot find any iPads available right now" end try end tellend tell</string>
<string>tell application "System Events"
tell process "SystemUIServer"
try
click (menu bar item 1 of menu bar 1 whose description contains "Displays")
click (menu item 1 of menu 1 of result whose Title contains "iPad")
on error
display dialog "Cannot find any iPads available right now"
end try
end tell
end tell</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
Expand Down

0 comments on commit bce7928

Please sign in to comment.