Tom McGrath put together an iTunesLibrary in LC. I can't seem to find it in my LC files, but I'm sure he would make it available to you. I used his library to make a little thing called iTunesWidget. Pop it into your plugins folder, and any time you're running in the IDE, you can open it up and use it to control iTunes without leaving LC. It's a little 32-pixel round customwindowshape stack that can be set as a systemwindow if you want, uses AppleScript to manage iTunes' basic functions. Very simple: click to start/pause iTunes, cmd-click to go to iTunes, opt-drag to move widget, ctrl-click or right-click for option menu. Hovering over the widget displays the current track, album, and artist in a tooltip. You can get it at:

http://home.comcast.net/~pmbrig/iTunesWidget.rev.zip

I haven't tried to pass this around much, because for reasons I can't track down, clicks sometimes disappear into emptiness with no response, sometimes mousemove doesn't trigger the tooltip display, etc. Something is swallowing system messages, or maybe the AppleScript messages are going awry, anyway it's occasionally a bit unpredictable. But I use it when I'm working in the IDE and want to listen to some MP3s. Handy because I don't have to change gears when the phone rings, just click to pause, and answer the call.

If you can't find Tom's library stack, look at the stack script in the widget for ideas on what you're trying to do. Tom did the real work for this, I really just adapted his scripts.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Apr 1, 2011, at 12:02 PM, Terry Vogelaar wrote:

I want to make an app that uses data from the currently playing song on my iPod Touch, like song title, artist, comments, etc.

Is there a way to see data like that in a LiveCode app? Probably not 'out of the box'. Is there a workaround? I know Xcode can do it. So is there someone who can make an external to do this? At what cost? Can LiveCode for iOS use externals?

Any help is greatly appreciated.

Terry
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to