• 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 14:51:25 +0100


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

Thanks Kai.

I just thaught that as the instruction is passed in a
[tell application "Finder" … end tell] block
all the required infos where available.

Well, all the information is there - but not necessarily in the form that we usually expect to see. ;-)


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?


---
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
  • Follow-Ups:
    • Re: Dialog from script application displays raw codes (was: no subject)
      • From: Yvan KOENIG <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>)

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