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: Yvan KOENIG <email@hidden>
- Date: Sun, 27 Aug 2006 17:33:00 +0200
Le 27 août 2006 à 15:51, kai a écrit :
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?
-
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 ;-((
Yvan KOENIG
_______________________________________________
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