• 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: Setting Variables to List Items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Variables to List Items


  • Subject: Re: Setting Variables to List Items
  • From: John Delacour <email@hidden>
  • Date: Tue, 18 Mar 2003 21:06:38 +0000
  • Mac-eudora-version: 6.0a11

At 2:09 pm -0600 18/3/03, Peter Bunn wrote:

I'm trying to define (or associate?) a sequence of variables to a list of
individual items... (or at least that's what I _think_ I'm trying to do).
Please see the snippet below.


Is this thwhat you're trying to do ? ...

set s to "-walk-run-hide-quit"
set my text item delimiters to "-"
set {ls, text item delimiters} to {text items 2 through -1 of s, ""}
tell SomeApplication to doThis(item 1 of ls)
--
script SomeApplication
on doThis(action)
return "OK, I'm " & action & "ing."
end doThis
end script
_______________________________________________
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: 
 >Setting Variables to List Items (From: Peter Bunn <email@hidden>)

  • Prev by Date: Re: moving multiple *selected* messages in Eudora
  • Next by Date: Re: Illustrator Overprint Selection
  • Previous by thread: Setting Variables to List Items
  • Next by thread: Re: Setting Variables to List Items
  • Index(es):
    • Date
    • Thread