Well, Gregory had the right idea the first time if he added a few
more words to his script.
Instead of just saying:
answer file "Show me the file."
Try this:
answer file "Show me the file." with "OK" or "Delete my disk" or
"Make coffee" or "Cancel"
The [if it is "cancel" then exit mouseUp] will now work.
>"Cancel" is actually in the result in the answer file,ask file and asswer
>folder commands
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Jack Rarick
>Sent: Thursday, 18 January 2001 9:20 AM
>To: [EMAIL PROTECTED]
>Subject: Re: ANSWER FILE command
>
>
>
>
>Gregory Lypny wrote:
>
>> Hi Everyone,
>>
>> When I use the "answer file" command as below, clicking "Cancel"
>> does not cause an exit out of the handler. What am I doing wrong?
>>
> > answer file "Show me the file."
>> if it is "Cancel" then exit mouseUp
>>
>> Regards,
>>
>> Greg
>
>Canceling leaves "it" empty. Try this:
>
>Answer file "Show me the file:"
>if it = "" then exit mouseup
>
>....
>
>Good luck,
>
>Jack Rarick
>Braintree Athletic Systems
>
>
>Archives: http://www.mail-archive.com/[email protected]/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
>
>Archives: http://www.mail-archive.com/[email protected]/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
--
Cheers,
Simon
All your .com .net and .org domains for only $14.50 each.
Get them while they last... http://www.amigo-3.com/hosting/
--------------------------------------------------
"The great discoveries in science are not punctuated by 'Eureka! I've
found it!' but rather "Hmmm,that's funny...." Isaac Asimov
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.