Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)



Hello

I am puzzled.
When I run this short script from the script editor, 

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

the result is 

folder

But, if I run the script as an application, it is:

«class cfol»

Is it a normal behaviour?

I was assuming that I would get the same responce  in both calls.

I get the same results with 10.3.9 and 10.4.7

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.