Re: Name of this folder
Re: Name of this folder
- Subject: Re: Name of this folder
- From: Sander Tekelenburg <email@hidden>
- Date: Mon, 12 Mar 2001 18:20:30 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 11:48 -0500 UTC, on 12/03/2001, Arthur J Knapp wrote:
>
12:36 -0600 UTC, on 11/03/2001, Bryan Harris wrote:
[...]
>
> This just returns "Applescript" for me. Does it only work when running
>
> from other apps?
>
>
Just "AppleScript"? If you're testing it with Apple's Script Editor,
>
you should get a full alias like:
He didn't quote properly. His "this" probably referred to:
tell app "Finder"
set myContainer to name of (":" as alias)
end
which indeed would return "AppleScript" when that's the name of the folder
containing Script Editor and you run the script in Script Editor.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBOq0FV+sywKfXgqKdEQLliwCgsCGsGnnQnL7/+X2v8crljgSu/+MAoKXL
rgOsH6/svsX0CMQc4F7178wD
=ZoUf
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <
mailto:email@hidden>
Web site at <
http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"