• 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: simple problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple problem?


  • Subject: Re: simple problem?
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 19 Nov 2007 18:34:44 -0700

On Nov 19, 2007, at 6:08 PM, Celine Latulipe wrote:

Anyone have any ideas? I'm a proficient programmer, and I feel pretty dumb being stumped on an if statement. But I'm new to Applescript, so maybe it's something I'm just not aware of.

"Choose from list" returns a list, so you need to make one small modification:


set group to item 1 of (choose from list {"Group A", "Group B", "Group C", "Group D", "Group E", "Group F"} with prompt "Please select the group letter you have been assigned:")
display dialog "You selected " & group & "."


--
Patriots demand freedom; sheep demand security.


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >simple problem? (From: Celine Latulipe <email@hidden>)

  • Prev by Date: Re: simple problem?
  • Next by Date: Re: simple problem?
  • Previous by thread: Re: simple problem?
  • Next by thread: Re: simple problem?
  • Index(es):
    • Date
    • Thread