applescript?

2 posts / 0 new
Last post
Offline
Last seen: 19 years 2 months ago
Joined: Nov 19 2004 - 04:27
Posts: 5
applescript?

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!

Offline
Last seen: 17 years 6 months ago
Joined: Dec 26 2003 - 16:21
Posts: 584
hmm

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

Log in or register to post comments