[cisco-voip] Escape charaters in UCCX scripts

ROZA, Ariel Ariel.ROZA at LA.LOGICALIS.COM
Thu Jul 24 15:49:16 EDT 2014


Guys,

I am trying to work with a UCCX script, but i don´t seem to get the hang of using the escape characters. At least does not seem to behave like a normal programming language.

This is the scenario:

I am appending some info to a text file, like a common .CSV file.

I would like to achieve this:

Each line is an append from my script (a very simple test script)

2000;25427462;5;4
2000;25427462;5;4
2000;25427462;5;4
2000;25427462;5;4

But instead, I am Getting this:


2000;25427462;5;42000;25427462;5;42000;25427462;5;42000;25427462;5;4


And when I try to use the escape carácter \n, I get this:



2000;25427462;5;4\n2000;25427462;5;4\n2000;25427462;5;4\n2000;25427462;5;4


The lines I use to concatenate the file is this:

Set dFile = DOC[demo\encuesta.txt] + "\n" + TEXT[sCallingNumber+";"+ sDNI +";"+ sPregunta1 +";" + sPregunta2]
Set sFilePath = "demo\encuesta.txt"
Upload Document (dFile to L[], sFilePath)

So far, I tried using \n without the quotes, but it gives me an error. Also '\n' seems to do the same as the double quotes...
How can I make it to insert a newline?

Regards,

Ariel Roza
Field Engineer  / Argentina
Logicalis
Tel: +54 11 4344 - 0458
ariel.roza at la.logicalis.com<mailto:ariel.roza at la.logicalis.com>
Peru 327 - CABA - Argentina - C1067AAG
www.la.logicalis.com<http://www.la.logicalis.com/>
_________________________________________________
Business and technology working as one

Síguenos en: [Description: Description: Descripción: Descripción: Descripción: Descripción: Descripción: Descripción: tw] <http://twitter.com/LogicalisLatam>  [Description: Description: Descripción: Descripción: Descripción: Descripción: Descripción: Descripción: fb] <http://es-es.facebook.com/pages/Logicalis-Latam/234648439078>  [Description: Description: Descripción: Descripción: Descripción: Descripción: Descripción: Descripción: yt] <http://www.youtube.com/logicalislatam>  [cid:image009.jpg at 01CFA75F.4BD81DA0] <http://www.slideshare.net/logicalis>  [Description: Description: Descripción: cid:image005.jpg at 01CCDC0C.A5297E60] <http://www.cxounplugged.com/>
[Description: Description: Descripción: Descripción: Descripción: http://www.estudioponzo.com.ar/firma.gif]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/adbfdc28/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1467 bytes
Desc: image006.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/adbfdc28/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1384 bytes
Desc: image007.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/adbfdc28/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 1469 bytes
Desc: image008.png
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/adbfdc28/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 851 bytes
Desc: image009.jpg
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/adbfdc28/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 864 bytes
Desc: image010.jpg
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/adbfdc28/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.jpg
Type: image/jpeg
Size: 3975 bytes
Desc: image011.jpg
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20140724/adbfdc28/attachment-0002.jpg>


More information about the cisco-voip mailing list