• 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
Write an antislash (backslash) in a variable ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Write an antislash (backslash) in a variable ?


  • Subject: Write an antislash (backslash) in a variable ?
  • From: "emile.a.schwarz" <email@hidden>
  • Date: Sun, 12 Mar 2017 14:12:23 +0100 (CET)

My first attempt to send this question returned to me because the list does not like the \ character in the subject line !

 

I want to add \cf0 (for example) in a variable.

 

At first the ScripEditor rejected my code, then it double the \…

 

set TheReport to TheReport & "\cf0" # etc.: rejected

 

then:

Set RTFLead to "\" # Not rejected, but appears two times (\\) when used later…

 

Ideas ?

 _______________________________________________
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

  • Follow-Ups:
    • Re: Write an antislash (backslash) in a variable ?
      • From: Christopher Stone <email@hidden>
    • Re: Write an antislash (backslash) in a variable ?
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Question on keywords
  • Next by Date: Re: Question on keywords
  • Previous by thread: Re: Question on keywords
  • Next by thread: Re: Write an antislash (backslash) in a variable ?
  • Index(es):
    • Date
    • Thread