• 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: Dialog from script application displays raw codes (was: no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog from script application displays raw codes (was: no subject)


  • Subject: Re: Dialog from script application displays raw codes (was: no subject)
  • From: kai <email@hidden>
  • Date: Sun, 27 Aug 2006 16:41:37 +0100


On 27 Aug 2006, at 16:33, Yvan KOENIG wrote:

Le 27 août 2006 à 15:51, kai a écrit :

On 27 Aug 2006, at 13:55, Yvan KOENIG wrote:

I may also code this way:

set _ to (path to desktop) as Unicode text
using terms from application "Finder"
tell application "Finder" to display dialog "The item " & _ & " is of class : " & class of item _
end using terms from

I'm somewhat surprised that works for you, Yvan - since my understanding is that the prime purpose of a 'using terms from' statement is to let the compiler know, when compiling the script, where to look first for any definitions contained within it. It certainly doesn't help here (10.4.6) in forcing a script application to decompile raw codes, at any rate. Have you tried it in both 10.3.9 and 10.4.7?

Oops, it seems that my cursor skids a bit from the app's icon to the script's one.
In fact it DOESN'T work and displays «class cfol».


I must apologize ;-((

No worries, Yvan. Just means I don't need to rewrite my (mental) notes on the subject. ;-)


Thanks for the confirmation.

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >(no subject) (From: Yvan KOENIG <email@hidden>)
 >Re: Dialog from script application displays raw codes (was: no subject) (From: kai <email@hidden>)
 >Re: Dialog from script application displays raw codes (was: no subject) (From: Yvan KOENIG <email@hidden>)
 >Re: Dialog from script application displays raw codes (was: no subject) (From: kai <email@hidden>)
 >Re: Dialog from script application displays raw codes (was: no subject) (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: Dialog from script application displays raw codes (was: no subject)
  • Next by Date: Re: Dialog from script application displays raw codes (was: no subject)
  • Previous by thread: Re: Dialog from script application displays raw codes (was: no subject)
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread