J'ai besoin d'une application qui :
- Activer Parallels Desktop
- Tout en tenant Opt sélectionnez "Actions > Suspendre".
- Activer SmartSleep
- Minimiser SmartSleep
- Cliquez sur "Hibernation" dans le menu "QuickSleep".
- Après avoir repris le Mac, reprenez aussi le vm.
Voici mon essai :
tell application "Parallels Desktop" to activate
tell application "System Events"
tell process "Parallels Desktop"
click menu 1 of menu item 5 of menu
delay 1
tell application "System Events" to keystroke option
delay 1
end tell
end tell