• 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
Create variables from the script ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Create variables from the script ?


  • Subject: Create variables from the script ?
  • From: Thomas <email@hidden>
  • Date: Tue, 26 Nov 2002 21:54:31 +0100

I was wondering if this would be possible to create variables from within the script. Here is a simple example :

set list_folder to list folder "a folder"
repeat with i from 1 to count of list_folder
set vari to item i of list_folder
end

So i would get the name of the first folder in the variable var1, the name of the second folder in the variable var2... and the name of the nth folder in the variable varn.
This is impossible right ?

Thanks Thomas
_______________________________________________
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.

  • Follow-Ups:
    • Re: Create variables from the script ?
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: (Repost) Distributing 'recreatored' script apps...
  • Next by Date: Set creator code of a package don't work
  • Previous by thread: first applescript = lost in the wind, help please.
  • Next by thread: Re: Create variables from the script ?
  • Index(es):
    • Date
    • Thread