Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
I'm trying to put a couple of line breaks in between strMessage2 and strMessage3 in the automatic e-mail button in the following document. What am I missing? Thanks!
https://acrobat.com/#d=hSatmYfM4gqdX1cb-XRVMg
Win 7, LC ES2 9.0
Solucionado! Ir para a Solução.
Make sure you are using \n and not /n.
Visualizações
respostas
Total de curtidas
"\n" is a return in JS.
So if you add a couple at the beginning of your strMessage3 text it should do the trick: "\n\n**THE DCO REQUEST..."
Visualizações
respostas
Total de curtidas
Nope, that doesn't work. It only prints the "/n/n" as text before the message. Putting it outside just before the quotes does not work either, that disables the button function completely.
Visualizações
respostas
Total de curtidas
Make sure you are using \n and not /n.
Visualizações
respostas
Total de curtidas
Oops, make sense. It works now, thanks!
Visualizações
respostas
Total de curtidas
I'm using these "\n" in several scripts that have multiple lines, so I'm using the "+" at the end of the line to continue. When I use a single "\n" the "+" becomes inactive, but when I use "\n\n" it works again. Do you know what this is about?
This works:
"bla bla \n\n" +
This doesn't work:
"bla bla \n" +
Visualizações
respostas
Total de curtidas
Can anyone shed any light on this? Thanks.
Visualizações
respostas
Total de curtidas
both work fine for me.
I had to add "bla bla \n\n" + "bla" or "bla bla \n" + "bla" If you have the + after but do not follow it with something then it does not work.
Visualizações
respostas
Total de curtidas
When I put just one ".... \n" at the end of a line, the "+" goes inactive (not blue), like it's not working. What am I doing wrong?
Visualizações
respostas
Total de curtidas
You are correct the + sign does turn black after a single return \n but blue after a double \n\n but both work for me. It could be a bug in LCD. To be honest I did not even notice the color change until I changed the font size of my script window.
You were right! I assumed because the color was not correct that the syntax was bad, so I never actually tried leaving it that way. As you say, it does work.
Thanks.
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas