--- In [email protected], "quantiworks" <quanticwo...@...> wrote:
>
> "entropyreduction" wrote:
> 
> > I guess first thing is to see if iTumes COM object is installed properly.  
> 
> Reinstalled it again and now is working but now, how do I place the contents 
> in an info label?
> 
> -------script start-------
> local iTunesApp = com.create_object("iTunes.Application")
> 
> ??
> with win.debug the text displays fine.
> 
> (iTunesApp.CurrentTrack.Artist, "-", iTunesApp.CurrentTrack.Name)
> 
> -------script end-------
> 
> Button name:
> *Info expr(.iTunesCt??
>

Your script probably needs:

quit(iTunesApp.CurrentTrack.Artist, "-", iTunesApp.CurrentTrack.Name)

and your *info expr might need to be eval(.script)

Regards,
Sheri



Reply via email to