--- In [email protected], "quantiworks" <quanticwo...@...> wrote:
>
> "Sheri" wrote:
> 
> > Your script probably needs:
> > 
> > quit(iTunesApp.CurrentTrack.Artist, "-", iTunesApp.CurrentTrack.Name)
> > 
> > and your *info expr might need to be eval(.script)
> 
> Sheri,
> 
> I get the following errors using:
> *Info expr(eval(.iTunesCt))
> 
> ---------------------------
> PowerPro
> ---------------------------
> ERROR: com.method: Object handle, isn't
> 
> Error occurred near line 2 of script iTunesCt:
> quit(iTunesApp.CurrentTrack.Artist, "-", iTunesApp.CurrentTrack.Name)
> 
> Press Cancel to end all running scripts.
> ---------------------------
> 
> and
> 
> ---------------------------
> PowerPro
> ---------------------------
> Bad expression:  wrong use of comma or function
> Check that function calls have correct number of arguments
> )
> (iTunesApp.CurrentTrack.Artist, "-", iTunesApp.CurrentTrack.Name)
> 
> Error occurred near line 2 of script iTunesCt:
> quit(iTunesApp.CurrentTrack.Artist, "-", iTunesApp.CurrentTrack.Name)
> 
> ---------------------------
>

Wasn't paying attention to your debug statement. Try

local labelstr=iTunesApp.CurrentTrack.Artist++"-"++iTunesApp.CurrentTrack.Name
quit(labelstr)

Regards,
Sheri

Reply via email to