• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Summary: suppress default color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: suppress default color (From: Matthew Smith <email@hidden>)

  • Prev by Date: Re: suppress default color
  • Next by Date: Script Editor in Tiger: where's the Find gone?
  • Previous by thread: Re: suppress default color
  • Next by thread: Script Editor in Tiger: where's the Find gone?
  • Index(es):
    • Date
    • Thread