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

Re: Quoting


  • Subject: Re: Quoting
  • From: Bill Briggs <email@hidden>
  • Date: Fri, 11 Feb 2005 12:59:28 -0400

At 11:50 AM -0500 2/11/05, Stephen Jonke wrote:
Why does the following:

   get " \" "

produce the following result:

   \"

Clearly the quoting works because the line doesn't flag an error, however the resulting string includes the slash! What?!?

I'm running 10.3.8.

It's a function of the Script Editor. If you run that in Script Debugger you'll get " as expected. Script Editor gives you a string that's usable in a script (to use a term from Cal's lexicon, it takes the result and stringifys it for use in AppleScript). Script Debugger gives you the text as it is intended to be, unstringified. If you actually use that quote character somewhere, it will work fine done from Script Editor of Script Debugger. You're seeing a difference in the visual presentation of the result.


- web
_______________________________________________
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: 
 >Quoting (From: Stephen Jonke <email@hidden>)

  • Prev by Date: Quoting
  • Next by Date: Re: where are the shell scripts ?
  • Previous by thread: Quoting
  • Next by thread: Excluded Dates in iCal Events
  • Index(es):
    • Date
    • Thread