• 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
Re: Formatting Text When Responding to a Dialog Box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatting Text When Responding to a Dialog Box


  • Subject: Re: Formatting Text When Responding to a Dialog Box
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 25 Jan 2012 11:49:37 -0700

On Jan 25, 2012, at 11:12 AM, Robert W. Young wrote:

Is it possible to do what I want, and if so how?

set theText to text returned of (display dialog "What address do you want to display? (please enter a dollar sign after the street)" default answer "")
set text item delimiters to "$"
set theText to text items of theText
set text item delimiters to return
set theText to theText as text
display dialog theText

-- Michelle

-- 
Some people think computers need to be complicated.  They really have a tough time when it's not.

 _______________________________________________
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

References: 
 >Formatting Text When Responding to a Dialog Box (From: "Robert W. Young" <email@hidden>)

  • Prev by Date: RE: Formatting Text When Responding to a Dialog Box
  • Next by Date: Re: Formatting Text When Responding to a Dialog Box
  • Previous by thread: Formatting Text When Responding to a Dialog Box
  • Next by thread: Re: Formatting Text When Responding to a Dialog Box
  • Index(es):
    • Date
    • Thread