• 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: Quoted text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quoted text?


  • Subject: Re: Quoted text?
  • From: email@hidden
  • Date: Thu, 18 Jan 2001 14:58:25 -0500

You can also use:

set double_straight_quote to (ASCII character 34)
set x to "He said " & double_straight_quote & "Oops." & double_straight_quote &
" after dropping the plate."

K

>On 1/17/01 11:28 AM, Michael Kern <email@hidden> wrote
>
>>I am having trouble creating a quoted text string. I'm following the
>>example in a book I have.
>>
>>Script:
>>set x to "He said \"Oops.\" after dropping the plate." as string
>>get x
>>
>>Result:
>>"He said \"Oops.\" after dropping the plate."
>>
>>What I want:
>>"He said "Oops." after dropping the plate."
>>(see no slashes)
>
>You'll always see that in the results window. Try replacing "get x" with
>"display dialog x" and you won't see the slashes.
>
>--Michelle

----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------


  • Prev by Date: Re: launching Script Editor files launches associated applications
  • Next by Date: Re: launching Script Editor files launches associated applications
  • Previous by thread: Re: Quoted text?
  • Next by thread: Script problems
  • Index(es):
    • Date
    • Thread