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

Re: Write an antislash (backslash) in a variable ?


  • Subject: Re: Write an antislash (backslash) in a variable ?
  • From: Yvan KOENIG <email@hidden>
  • Date: Sun, 12 Mar 2017 14:48:30 +0100


Le 12 mars 2017 à 14:12, emile.a.schwarz <email@hidden> a écrit :

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…

 


Hello Émile


set theReport1 to "\\cf0"
log theReport1 (*\cf0*)
set theReport2 to character id 92 & "cf0"
log theReport2 (*\cf0*)
{theReport1, theReport2} --> {"\\cf0", "\\cf0"}


Yvan KOENIG running Sierra 10.12.3 in French (VALLAURIS, France) dimanche 12 mars 2017 14:48:15



 _______________________________________________
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: 
 >Write an antislash (backslash) in a variable ? (From: "emile.a.schwarz" <email@hidden>)

  • Prev by Date: Re: Question on keywords
  • Next by Date: Re: Question on keywords
  • Previous by thread: Write an antislash (backslash) in a variable ?
  • Next by thread: Re: Write an antislash (backslash) in a variable ?
  • Index(es):
    • Date
    • Thread