|
-
Jan 26th, 2005, 04:40 PM
#1
Thread Starter
Hyperactive Member
Spy++ and iTunes
I just wanted to see if anyone would help me with this. I'm trying to get the name of the current playing song but am having much difficulty. Can anyone help me figure this out?
-
Jan 26th, 2005, 05:13 PM
#2
Re: Spy++ and iTunes
Name of what current tune?
Woka
-
Jan 26th, 2005, 06:06 PM
#3
Thread Starter
Hyperactive Member
Re: Spy++ and iTunes
you know itunes? the program developed by apple?
the song that is currently playing. If you dont have the music software it is a free download at apple.com
-
Aug 11th, 2005, 08:34 AM
#4
Member
-
Aug 11th, 2005, 10:42 AM
#5
Fanatic Member
Re: Spy++ and iTunes
I don't have iTunes. 
The most I can tell you is open Spy++ and look at the iTunes classnames and see if you see a song you're listening to in quotation marks. If you DO then use FindWindowEx and SendMessage to get the window's text.
-Sir Loin
-
Aug 11th, 2005, 11:25 AM
#6
Hyperactive Member
Re: Spy++ and iTunes
download the itunes com sdk, which will provide you with a help file for this type of stuff.
Code:
Dim oTunes As iTunesLib.iTunesApp
Dim oTrack As iTunesLib.IITTrack
Set oTunes = New iTunesLib.iTunesApp
Set oTrack = oTunes.CurrentTrack
MsgBox oTrack.Name
Set oTrack = Nothing
Set oTunes = Nothing
-
Aug 11th, 2005, 11:32 AM
#7
Member
Re: Spy++ and iTunes
http://developer.apple.com/sdk/itunescomsdk.html
i also download a plugin that puts the current playing song in a text file
and then opened that file in my program but ill look at the sdk
-
Nov 15th, 2005, 08:36 AM
#8
Addicted Member
Re: Spy++ and iTunes
BUMP
Anyone figured out how to get the track title AND artist? The above example only outputs the tracktitle without the artist...
-
Nov 15th, 2005, 04:35 PM
#9
Member
Re: Spy++ and iTunes
i use the plugin called amip
-
Nov 15th, 2005, 05:05 PM
#10
Addicted Member
Re: Spy++ and iTunes
Thanks man, but I figured it out. I took the time to REALLY read the SDK, turns out this is quite easy:
VB Code:
Private Sub Form_Load()
Dim iTunesApp As New iTunesApp
MsgBox (iTunesApp.CurrentTrack.Artist & " - " & iTunesApp.CurrentTrack.Name)
set iTunesApp = nothing
End Sub
edit, forgot a "= nothing"!
-
Dec 29th, 2005, 04:44 AM
#11
Member
Re: Spy++ and iTunes
i am trying to use this in vb but i cant figure out how to reference the sdk or anything a little help plz
-
Dec 29th, 2005, 04:52 AM
#12
Re: Spy++ and iTunes
Project---> references
Then select it from the list.
woka
-
Dec 29th, 2005, 04:58 AM
#13
Member
Re: Spy++ and iTunes
ty i relized that after the post and couldnt delete it fast enough ty any ways
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|