Summary: suppress default color
Summary: suppress default color
- Subject: Summary: suppress default color
- From: Robert Poland <email@hidden>
- Date: Sun, 8 May 2005 10:00:11 -0600
on 09/05/2005 01:15, Robert Poland at email@hidden wrote:
In the following is there a way to suppress the background color of
the default message? In this case it isn't necessary and makes the
text less readable.
set answerYear to "2005"
display dialog "This is the date that will be used. " default answer
answerYear
If you are actually asking the user what year to use then you should
probably ask a question rather than say it as a statement. The way you have
written it makes it out that you don't want them to change the year, and
should probably have been written as:
Display dialog "This is the date that will be used: " & answerYear
Instead of:
Display dialog "Which year do you want?" default answer answerYear
--
Matthew Smith
With your help, this is what I came up with;
display dialog "This is the date that will be
used. " & answerYear default answer ""
if text returned of result "" then set answerYear to text returned of result
Thanks,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden