• 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: Reading Folder names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading Folder names


  • Subject: Re: Reading Folder names
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 1 Oct 2002 10:14:15 -0700

On Tuesday, October 1, 2002, at 08:45 AM, email@hidden wrote:

I'm new to applescript and I'm having problems reading in folder names and
using them as a variable. The folder name that I need to read in is
unknown to me, it will be created after the creation of the script. I need
the name of the folder in a variable so I can compare the name to other
folder names. Any help at all is very much appreciated. Thank you.

set the folder_to_be_identified to choose folder
tell application "Finder"
set the folder_name to the name of the folder_to_be_identified
end tell

Replace the first line with whatever code your script needs to identify the folder.

--Michelle

We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Reading Folder names (From: email@hidden)

  • Prev by Date: [OT] Re: Lookalikes...
  • Next by Date: Re: Lookalikes...
  • Previous by thread: Reading Folder names
  • Next by thread: RE: Reading Folder Names
  • Index(es):
    • Date
    • Thread