<div dir="ltr">Here's one way I found to do it- <a href="https://supportforums.cisco.com/discussion/11741046/uccx-create-email-step-content-body">https://supportforums.cisco.com/discussion/11741046/uccx-create-email-step-content-body</a></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 3:49 PM, ROZA, Ariel <span dir="ltr"><<a href="mailto:Ariel.ROZA@la.logicalis.com" target="_blank">Ariel.ROZA@la.logicalis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="ES-AR" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Guys,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">This is the scenario:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I am appending some info to a text file, like a common .CSV file.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I would like to achieve this:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Each line is an append from my script (a very simple test script)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">2000;25427462;5;4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">2000;25427462;5;4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">2000;25427462;5;4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">2000;25427462;5;4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">But instead, I am Getting this:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<pre>2000;25427462;5;42000;25427462;5;42000;25427462;5;42000;25427462;5;4<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<p class="MsoNormal">And when I try to use the escape carácter \n, I get this:<u></u><u></u></p>
<pre><span lang="EN-US"><u></u> <u></u></span></pre>
<pre>2000;25427462;5;4\n2000;25427462;5;4\n2000;25427462;5;4\n2000;25427462;5;4<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<p class="MsoNormal"><span lang="EN-US">The lines I use to concatenate the file is this:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Set dFile = DOC[demo\encuesta.txt] + "\n" + TEXT[sCallingNumber+";"+ sDNI +";"+ sPregunta1 +";" + sPregunta2]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Set sFilePath = “demo\encuesta.txt”<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Upload Document (dFile to L[], sFilePath)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">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…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">How can I make it to insert a newline?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#e41e26">Ariel Roza</span></b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<b><span style="color:#3f4243">Field Engineer / Argentina</span></b><span style="color:#3f4243"><br>
<b>Logicalis </b></span></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#3f4243">Tel: <a href="tel:%2B54%2011%204344%20-%200458" value="+541143440458" target="_blank">+54 11 4344 - 0458</a><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a href="mailto:ariel.roza@la.logicalis.com" target="_blank"><span style="color:blue">ariel.roza@la.logicalis.com</span></a></span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#262626">
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#262626"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#3f4243">Peru 327 – CABA – Argentina –
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#404040">C1067AAG</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#262626"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><a href="http://www.la.logicalis.com/" target="_blank"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red">www.la.logicalis.com</span></a></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#3f4243"><br>
</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#e41e26">________________________</span></b><b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#e41e26">_________________________<br>
</span></b><b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#3f4243">Business and technology working as one</span></b><b><span lang="EN-GB" style="font-size:10.0pt;color:#3f4243"> </span></b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#3f4243">
</span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#404040">Síguenos en:</span></b><span lang="EN-GB"> </span><a href="http://twitter.com/LogicalisLatam" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="23" height="24" src="cid:image006.png@01CFA75F.4BD81DA0" alt="Description: Description: Descripción: Descripción: Descripción: Descripción: Descripción: Descripción: tw"></span></a><span lang="EN-GB"> </span><a href="http://es-es.facebook.com/pages/Logicalis-Latam/234648439078" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="23" height="24" src="cid:image007.png@01CFA75F.4BD81DA0" alt="Description: Description: Descripción: Descripción: Descripción: Descripción: Descripción: Descripción: fb"></span></a><span lang="EN-GB"> </span><a href="http://www.youtube.com/logicalislatam" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue;text-decoration:none"><img border="0" width="23" height="24" src="cid:image008.png@01CFA75F.4BD81DA0" alt="Description: Description: Descripción: Descripción: Descripción: Descripción: Descripción: Descripción: yt"></span></a><span>
</span><a href="http://www.slideshare.net/logicalis" target="_blank"><span style="color:windowtext;text-decoration:none"><img border="0" width="23" height="24" src="cid:image009.jpg@01CFA75F.4BD81DA0"></span></a><span> </span><a href="http://www.cxounplugged.com/" target="_blank"><span style="color:windowtext;text-decoration:none"><img border="0" width="23" height="23" src="cid:image010.jpg@01CFA75F.4BD81DA0" alt="Description: Description: Descripción: cid:image005.jpg@01CCDC0C.A5297E60"></span></a><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span><img border="0" width="301" height="74" src="cid:image011.jpg@01CFA75F.4BD81DA0" alt="Description: Description: Descripción: Descripción: Descripción: http://www.estudioponzo.com.ar/firma.gif"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br></div>