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
In fact it DOESN'T work and displays «class cfol».
I must apologize ;-((
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