Re: Dialog from script application displays raw codes (was: no subject)
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