Hallo,
ich nutze ein Script um beim Herunterfahren meinen Skype Status auf "abwesend" zu setzen. Das klappt auch gut, nur bewirkt der shut down-Befehl, dass die Option "beim nächsten Anmelden alle Fenster wieder öffnen" aktiviert ist. Das will ich aber nicht. Der Haken ist bei mir im Menü auch nicht gesetzt...
Hat jemand eine Idee, welchen Befehl bzw. welche Option man da verwendet?
Danke schonmal:
Hier das Script:
tell application "Finder"
tell application "System Events" to set SkypeIsRunning to (count of (every process whose name is "Skype")) > 0
if SkypeIsRunning then
tell application "Skype"
send command "SET USERSTATUS AWAY" script name "AWAY"
end tell
end if
shut down
end tell
ich nutze ein Script um beim Herunterfahren meinen Skype Status auf "abwesend" zu setzen. Das klappt auch gut, nur bewirkt der shut down-Befehl, dass die Option "beim nächsten Anmelden alle Fenster wieder öffnen" aktiviert ist. Das will ich aber nicht. Der Haken ist bei mir im Menü auch nicht gesetzt...
Hat jemand eine Idee, welchen Befehl bzw. welche Option man da verwendet?
Danke schonmal:
Hier das Script:
tell application "Finder"
tell application "System Events" to set SkypeIsRunning to (count of (every process whose name is "Skype")) > 0
if SkypeIsRunning then
tell application "Skype"
send command "SET USERSTATUS AWAY" script name "AWAY"
end tell
end if
shut down
end tell