• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Results differ in editor and applet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Results differ in editor and applet


  • Subject: Results differ in editor and applet
  • From: Mr Tea <email@hidden>
  • Date: Thu, 26 Feb 2004 17:17:13 +0000

When I run this in a script editor...

tell application "iTunes"
set c to class of current track as string
my dlog(c)
end tell

on dlog(c)
display dialog c
end dlog

... the dialog displayed is "audio CD track"

But, when the same script is run as an applet, it displays "<<class cCDT>>"

Why the difference? Why!?


Nick
pp Mr Tea

--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Results differ in editor and applet
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: New iTunes Track (AS DJ Script) (From: Emmanuel <email@hidden>)

  • Prev by Date: InformationWindow: How do I get info from ...
  • Next by Date: Re: InformationWindow: How do I get info from ...
  • Previous by thread: Re: New iTunes Track (AS DJ Script)
  • Next by thread: Re: Results differ in editor and applet
  • Index(es):
    • Date
    • Thread