• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Name of this folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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!"


  • Follow-Ups:
    • Re: Name of this folder
      • From: Bryan Harris <email@hidden>
References: 
 >Re: Name of this folder (From: "Arthur J Knapp" <email@hidden>)

  • Prev by Date: trim_line problems
  • Next by Date: Re: Long Filenames with Applescript
  • Previous by thread: Re: Name of this folder
  • Next by thread: Re: Name of this folder
  • Index(es):
    • Date
    • Thread