• 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
Re: display as text anomaly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display as text anomaly


  • Subject: Re: display as text anomaly
  • From: Paul Scott <email@hidden>
  • Date: Sat, 29 Apr 2017 18:27:12 -0700
  • Dkim-filter: OpenDKIM Filter v2.11.0 secure.paul-scott.us 4ACE8403F5

On Apr 29, 2017, at 5:42 PM, Shane Stanley wrote:

You're trying to coerce an AS term to a string. It works in an editor because the editor has the application's dictionary open, so it knows what kVdT stands for. But when you run it from iTunes, the dictionary is not needed and therefore not loaded.

You need to do something like:

set theKind to sel's media kind
if theKind = TV show then
  set theKind to "TV show"
else if...

But, I’m trying to display the unknown field contents. Is there some way (perhaps load the dictionary?) to make it work outside of ScriptEditor?

--
Paul Scott

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: display as text anomaly
      • From: Shane Stanley <email@hidden>
References: 
 >display as text anomaly (From: Paul Scott <email@hidden>)
 >Re: display as text anomaly (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: display as text anomaly
  • Next by Date: Re: Copying the path of files selected in Finder
  • Previous by thread: Re: display as text anomaly
  • Next by thread: Re: display as text anomaly
  • Index(es):
    • Date
    • Thread