Folgen Sie dem Video unten, um zu sehen, wie Sie unsere Website als Icon auf Ihrem Homescreen erstellen.
Anmerkung: This feature may not be available in some browsers.
on idle
tell application "QuickTime Player"
if playing of document 1 is false then
tell application "System Events" to sleep
tell me to quit
end if
end tell
return 180
end idle
on idle
tell application "System Events"
set pros to (name of every process whose visible is true)
end tell
if "QuickTime Player" is not in pros then
display dialog "Hey! Ich glaube ich werde nicht mehr gebraucht ..." buttons {"Ok"} default button 1 with icon 2
if button returned of the result = "Ok" then
tell me to quit
end if
else
tell application "QuickTime Player"
if playing of document 1 is false then
display alert "Gute Nacht!" giving up after 3
quit
tell application "System Events" to sleep
end if
end tell
end if
return 180
end idle