Hey everyone, I’m totally recoding and redoing an interface for my iTunes controller. I have the track info showing up fine and a working progress bar for the songs progress. However the bright blue aqua progress bar doesn’t really go well with the beige like iTunes track info background I have…I was wondering if anyone knew how I might go about creating a custom progress bar (obviously using some form of Obj-C) and then implementing it into my AS Studio app.
sth like this should work (‘li’ is the level indicator - it is set to ‘Relevancy’, Minimum Value: 0, Maximum Value: 1, Current Value: 0 in Interface Builder):
on idle theObject
tell application “iTunes”
set pp to player position
set tl to duration of current track
set content of (control “li” of window “main”) to (pp / tl)
set content of (control “li” of window “main”) to 0