[macOS] Add Parallels Desktop extension (#6314)

* Add Parallels Desktop extension

* fix typo

* remove new line
This commit is contained in:
Aleksandr Chebotov
2022-09-28 19:06:08 +02:00
committed by GitHub
parent b0885e18a1
commit 3f0a28fe18
6 changed files with 66 additions and 9 deletions

View File

@@ -12,17 +12,13 @@ on run argv
set userpassword to item 1 of argv
set secpane to "Security & Privacy"
tell application "System Events"
tell security preferences
keystroke return
delay 5
end tell
end tell
activate application "System Preferences"
delay 5
tell application "System Events"
tell process "System Preferences"
set frontmost to true
delay 2
click menu item secpane of menu "View" of menu bar 1
delay 5
click button 1 of window 1