Re: Display Dialog handling trouble
Re: Display Dialog handling trouble
- Subject: Re: Display Dialog handling trouble
- From: kai <email@hidden>
- Date: Mon, 19 Mar 2007 10:52:52 +0000
On 19 Mar 2007, at 10:40, I wrote:
I've inserted some initial code to set the variables
'warn_before_sending' (as boolean, rather than string) and
'the_reply'.
I should have taken account of the fact that 'the_reply' was intended
to be the result from an intermediate dialog. However, since the
final dialog is invoked only if the previous reply was "Yes", it's
hardly necessary to include the variable.
So the code might simply be:
---------------------
-- initial setup code (not included in original) --
set warn_before_sending to true (* or false *)
-- dialog routine --
if warn_before_sending and "Yes" is button returned of ¬
(display dialog "Is this working?" buttons {"No", "Yes"}) ¬
then display dialog "UPDATING: Yes"
---------------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden