Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Name of this folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Name of this folder



At 12:36 PM -0600 11/03/01, Bryan Harris wrote:
This just returns "Applescript" for me. Does it only work when running from other apps?

Save this as a double-clickable application and run it. Then it will work. Running it in an editor doesn't.

tell application "Finder"
set myContainer to name of (":" as alias)
display dialog myContainer
end tell

- web


References: 
 >Re: Name of this folder (From: Bryan Harris <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.