tell application "iTunes"
if player state is playing then
set volumet to sound volume
repeat with volum from volumet to 0 by -1
set sound volume to volum
end repeat
pause
end if
end tell
tell application "iTunes"
if player state is paused or player state is stopped then
set sound volume to 0
play
repeat with volum from 0 to 100 by 1
set sound volume to volum
end repeat
end if
end tell
tell application "iTunes"
if player state is playing then
set volumet to sound volume
repeat with volum from volumet to 0 by -1
set sound volume to volum
end repeat
pause
else
set sound volume to 0
play
repeat with volum from 0 to 100 by 1
set sound volume to volum
end repeat
end if
end tell
Registrerte brukere: Google [Bot]