• 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: Certain Answer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Certain Answer


  • Subject: Re: Certain Answer
  • From: Patrick Zittle <email@hidden>
  • Date: Sun, 1 Aug 2004 09:21:20 -0700

Thanks Everyone! I got my answer.


On Jul 31, 2004, at 9:03 PM, Christopher Stone wrote:

global theAnswer
set theAnswer to "yes"

on dd()
return text returned of (display dialog "Are you out of your mind?" default answer "")
end dd

on theQuestion()
set theText to ""
repeat while theText is not theAnswer
set theText to dd()
if theText is "yes" then
return theText
end if
end repeat
end theQuestion

theQuestion()



Best Regards,

Chris
_______________________________________________
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.


  • Prev by Date: Re: Problem with 'to-dos' in iCal
  • Next by Date: Re: Wake from Sleep
  • Previous by thread: Re: Certain Answer
  • Next by thread: Re: Work aroun for "say" in Portuguese language.
  • Index(es):
    • Date
    • Thread