Orbit
MacMan
Im just learning how to make programes in xcode using applescript studio.
For my first project I'm trying to make a small simple itunes remote. It works all good so far teh play/pause, back and foward buttons all work but im having a little trouble getting the slider to work to controll the itunes volume.
I tryed this script i created:
on action theObject
tell application "iTunes"
--set snd to current itunes volume
set snd to sound volume as integer
--set the slider to the current itunes volume: snd
set "volumeslider" to snd
--set volumevalue to whatever the user sets the slider to
set volumevalue to contents of slider "volumeslider" as integer
-- set itunes volume to what the user sets it to
set sound volume to volumevalue
end tell
end action
but it dosent work
Can someone please help me out
For my first project I'm trying to make a small simple itunes remote. It works all good so far teh play/pause, back and foward buttons all work but im having a little trouble getting the slider to work to controll the itunes volume.
I tryed this script i created:
on action theObject
tell application "iTunes"
--set snd to current itunes volume
set snd to sound volume as integer
--set the slider to the current itunes volume: snd
set "volumeslider" to snd
--set volumevalue to whatever the user sets the slider to
set volumevalue to contents of slider "volumeslider" as integer
-- set itunes volume to what the user sets it to
set sound volume to volumevalue
end tell
end action
but it dosent work

Can someone please help me out