| Off Topic > Off Topic |
| Funny/Stupid Scripts |
| (1/1) |
| LaCuckooRacha:
I was playing around with applescript, and eventually I got to this; --- Code: ---display dialog "Please enter your name." default answer "Name" buttons {"OK"} default button 1 display dialog "Hello." display dialog "I'm bored." display dialog "Hello?" display dialog "I'm bored." display dialog "You're ignoring me, aren't you?" display dialog "I'm bored." display dialog "Are you ignoring me?" buttons {"yes", "no"} default button 2 if the button returned of the result is "yes" then tell application "Mommy" end tell else display dialog "Good." buttons {"OK"} default button 1 end if --- End code --- In the end, if you say "yes" it tells its "mommy" on you. However, when I ran the script, since application "mommy" doesn't exist, it asked me: "where is mommy?". Lol. Post any funny/stupid scripts you've made. (In any scripting language.) |
| Navigation |
| Message Index |