fred666777 Posted October 19, 2009 Posted October 19, 2009 i looking to find what song is currently playing on itunes. i have no idea where to start.i tried using the autoit window info thing that came w/ autoit and i dont know what to do with what it give me.
AdmiralAlkex Posted October 20, 2009 Posted October 20, 2009 There is a iTunes UDF, try that. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
fred666777 Posted October 20, 2009 Author Posted October 20, 2009 (edited) i got it after a while of help file $text = ControlGetText("[CLASS:iTunes]", "", "Static23") MsgBox(0, "Text read was:", $text) but how would i do something like this $text = ControlGetText("[CLASS:iTunes]", "", "Static23") If $text = "asdf" then Run("cmd.exe") Edited October 20, 2009 by fred666777
FuryCell Posted October 20, 2009 Posted October 20, 2009 (edited) Your best bet would be to use COM. $iTunes=ObjCreate("iTunes.Application") $Song=$iTunes.CurrentTrack.Artist & " - " & $iTunes.CurrentTrack.Name MsgBox(0,"",$Song) You should check out the iTunes COM SDK. The possibilities are limitless. I have already built a lyrics app and a hotkey tool using iTunes COM interface. Edited October 20, 2009 by P5ych0Gigabyte HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now