• 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
Silly script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Silly script


  • Subject: Silly script
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 19 Dec 2000 17:15:20 -0800

I just felt silly today, so I came up with this script.

--Michelle

set |you're happy| to false
set |you know it| to false

display dialog "Are you happy?" buttons {"Yes", "No"}
if button returned of result is "Yes" then
set |you're happy| to true
display dialog "Do you know it?" buttons {"Yes", "No"}
if button returned of result is "Yes" then
set |you know it| to true
end if
end if

if |you're happy| and |you know it| then
|clap your hands|()
end if

to |clap your hands|()
beep 3
end |clap your hands|

----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: Silly script
      • From: Jerry LeCarpentier <email@hidden>
    • Re: Silly script
      • From: John McAdams <email@hidden>
    • Re: Silly script
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Run Only
  • Next by Date: Re: Silly script
  • Previous by thread: Re: Simple 'screensaver' launcher
  • Next by thread: Re: Silly script
  • Index(es):
    • Date
    • Thread