Re: display as text anomaly
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