1 reply [Last post]
Joined: Nov 19 2004
Posts: 5

set thetext to "Hi, would you like to surf the net?"
display dialog thetext buttons {"NO!", "Indeed I would"}

if the button returned of the result is "NO!" then
set thetext to "Ok, so you won't surf the net. Do you want to write?"
display dialog thetext buttons {"i kan't spel", "Yes"}
end if

if the button returned of the result is "Indeed I would" then
tell application "Safari" to activate
end if

How do I get it so the last bit responds to the first bit instead of the second bit? Please help me!


i was ill when god handed out brains

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: Dec 26 2003
Posts: 585

Any chance of seeing Dr Webster's trademark pic this time? ;D