
Quote from joferar333 on May 26, 2023, 6:38 pm
Hola @palamar he descargado tu plug para enviar un mensaje via whatsapp
no lo puedo hacer funcionarLo que hice es algo muy simple
hay una entrada de texto que toma un nombre en la variable [name]
una entrada de texto que toma el numero del movil [movil]este es el codigo que le puse al boton
EnviarWhatsapp "5492317507772" "16 hs - [nombre] - Cel [movil]" ""
teoricamente deberia enviar un mensaje a ese numero con el mensaje que arma tomando la variables nombre y movil pero cuado lo subo y lo publico al pulsar el boton no hace nada....
No se que puede ser... yo no necesito que se complete un formulario sino que arme de las variables y lo envie que es lo que esta mal
intente ver tu ejemplo pero no esta el fuente asi que no pude descubrir que es lo que tengo mal...
Te agradeceria mucho una mano
Saludos
P/D intente entrar en tu pagina para contactarte directamente pero no funciona...
Hola @palamar he descargado tu plug para enviar un mensaje via whatsapp
no lo puedo hacer funcionar
Lo que hice es algo muy simple
hay una entrada de texto que toma un nombre en la variable [name]
una entrada de texto que toma el numero del movil [movil]
este es el codigo que le puse al boton
EnviarWhatsapp "5492317507772" "16 hs - [nombre] - Cel [movil]" ""
teoricamente deberia enviar un mensaje a ese numero con el mensaje que arma tomando la variables nombre y movil pero cuado lo subo y lo publico al pulsar el boton no hace nada....
No se que puede ser... yo no necesito que se complete un formulario sino que arme de las variables y lo envie que es lo que esta mal
intente ver tu ejemplo pero no esta el fuente asi que no pude descubrir que es lo que tengo mal...
Te agradeceria mucho una mano
Saludos
P/D intente entrar en tu pagina para contactarte directamente pero no funciona...

Quote from Palamar on May 28, 2023, 4:25 amHola, ¿Como estas?
El plugin no toma variables a no ser que correspondan a nombres de objetos.
cada uno de los campos espera el nombre de un objeto, por ejemplo:
EnviarWhatsapp "numero" "mensaje" "nombre"En este caso deberías tener 3 objetos, cada uno debe tener el ID que le corresponde; numero, mensaje, nombre.
El plugin subido en la sección de plugins aún funciona correctamente.
Mis plugins están todos subidos a la página oficial de VisualNeo dentro de la sección de "FREEBIES>WEBPALAMARPLUGINS" donde se aclara que no contesto mensajes privados cuando se trata de plugins gratuitos, solo a través del foro oficial del programa (como lo estamos haciendo ahora)
¡Saludo Atte!
Hola, ¿Como estas?
El plugin no toma variables a no ser que correspondan a nombres de objetos.
cada uno de los campos espera el nombre de un objeto, por ejemplo:
EnviarWhatsapp "numero" "mensaje" "nombre"
En este caso deberías tener 3 objetos, cada uno debe tener el ID que le corresponde; numero, mensaje, nombre.
El plugin subido en la sección de plugins aún funciona correctamente.
Mis plugins están todos subidos a la página oficial de VisualNeo dentro de la sección de "FREEBIES>WEBPALAMARPLUGINS" donde se aclara que no contesto mensajes privados cuando se trata de plugins gratuitos, solo a través del foro oficial del programa (como lo estamos haciendo ahora)
¡Saludo Atte!
Quote from Gustavo1973 on May 30, 2023, 3:56 am@joferar333
yo lo hago de esta manera y me funciona,
primero de todo del panel de objectos de la izquierda, donde podes agregar botones y mas, agregas 2 "textinput" y un "numericInput"
despues agregas el plugin donde quieras que funcione , en un boton ejmeplo:
EnviarWhatsapp "numero2" "TextInput9" "TextInput10"Entonces te vas a las propiedades de "numericInput" que en mi caso el id es "numero2" y en la parte de variable pones la variable que contiene el numero donde tambien tenes que incluir la caracteristica del pais: ejemplo :
SetVar [Telefono] "598[Numero]"Eso en caso de que el numero lo ingreses via variable, en el ejemplo es la variable "Numero"
Tambien pongo esa variable en el campo "initial-value"
Despues modificas las propiedades del cuadro de texto que en mi caso es "TextInput9" y en "initial_value" pones el mensaje que queres enviar y ahi deberia funcionarte, si ves que al abrir el whatsapp no abre el chat directamente con el numero que pusistes es porque el error esta al momento de poner el numero
Espero te sirva
yo lo hago de esta manera y me funciona,
primero de todo del panel de objectos de la izquierda, donde podes agregar botones y mas, agregas 2 "textinput" y un "numericInput"
despues agregas el plugin donde quieras que funcione , en un boton ejmeplo:
EnviarWhatsapp "numero2" "TextInput9" "TextInput10"
Entonces te vas a las propiedades de "numericInput" que en mi caso el id es "numero2" y en la parte de variable pones la variable que contiene el numero donde tambien tenes que incluir la caracteristica del pais: ejemplo :
SetVar [Telefono] "598[Numero]"
Eso en caso de que el numero lo ingreses via variable, en el ejemplo es la variable "Numero"
Tambien pongo esa variable en el campo "initial-value"
Despues modificas las propiedades del cuadro de texto que en mi caso es "TextInput9" y en "initial_value" pones el mensaje que queres enviar y ahi deberia funcionarte, si ves que al abrir el whatsapp no abre el chat directamente con el numero que pusistes es porque el error esta al momento de poner el numero
Espero te sirva
Quote from Gustavo1973 on June 8, 2023, 12:19 am@palamar aprovecho a preguntarte sobre tu plugin, es posible poner de alguna manera un salto de linea en el texto que se crea para enviar
Intente mediante "\n" que funciona en el plugin de envio de SMS de VisualNeo , pero en el tuyo no da resultado
@palamar aprovecho a preguntarte sobre tu plugin, es posible poner de alguna manera un salto de linea en el texto que se crea para enviar
Intente mediante "\n" que funciona en el plugin de envio de SMS de VisualNeo , pero en el tuyo no da resultado

Quote from Palamar on June 9, 2023, 4:06 pmHola @gustavo1973
El tema es que el plugin adquiere el texto de un objeto y lo hace como cadena de texto, luego Whatsapp lo interpreta por lo que no sé exactamente que se podría poner. Has intentado con
char(13) o <br> o <br />Saludos!
Hola @gustavo1973
El tema es que el plugin adquiere el texto de un objeto y lo hace como cadena de texto, luego Whatsapp lo interpreta por lo que no sé exactamente que se podría poner. Has intentado con
char(13) o <br> o <br />
Saludos!
Quote from Gustavo1973 on June 9, 2023, 8:42 pm@palamar de las opciones que me distes no funciona ninguna, no lo reconoce como un salto de linea whatsapp
@palamar de las opciones que me distes no funciona ninguna, no lo reconoce como un salto de linea whatsapp
Quote from Gaev on June 9, 2023, 11:21 pm@gustavo1973
it is possible to somehow put a line break in the text that is created to send
You've tried
char(13) or <br> or <br />
of the options you give me does not work any, does not recognize it as a line break whatsapp
I have never installed or used this plugin, but after reading the posts above, I think it might be because the object you are using (TextInput) is designed to be for SINGLE LINE inputs.
Try and use a TextArea object, which is designed to accept multi-line text inputs.
I coded this in the click event of a Button ...
SetVar "[tinput1]" "line1\nline2" SetVar "[tarea1]" "line1\nline2"The TextInput object displays ...
line1line2
... the new line character is ignored
The TextArea object displays ...
line1
line2CC: @palamar
it is possible to somehow put a line break in the text that is created to send
You've tried
char(13) or <br> or <br />
of the options you give me does not work any, does not recognize it as a line break whatsapp
I have never installed or used this plugin, but after reading the posts above, I think it might be because the object you are using (TextInput) is designed to be for SINGLE LINE inputs.
Try and use a TextArea object, which is designed to accept multi-line text inputs.
I coded this in the click event of a Button ...
SetVar "[tinput1]" "line1\nline2" SetVar "[tarea1]" "line1\nline2"
The TextInput object displays ...
line1line2
... the new line character is ignored
The TextArea object displays ...
line1
line2
CC: @palamar
Quote from Gustavo1973 on June 10, 2023, 7:34 pm@gaev
I was testing using a text area but it doesn't work, although it shows it fine in the text area, when opening watsapp and writing the text it doesn't make the line break, in Whatsapp the line break when writing is the Enter key
I was testing using a text area but it doesn't work,
although it shows it fine in the text area, when opening watsapp
and writing the text it doesn't make the line break, in Whatsapp
the line break when writing is the Enter key
Quote from Gaev on June 10, 2023, 10:16 pm@gustavo1973
@palamarAccording to this web page ... https://www.soakingcool.com/whatsapp_new-line/ ...
Inside the WhatsApp on a mobile device, you can add a new line inside a single text (Zapp) by hitting enter. If you do this on your desktop, you will send the message instead of adding a new line. To drop a line without sending the message hold:
<SHIFT> + <ENTER>
I don't have information on how to indicate Shift+Enter in a variable string, but instead of placing \n, if I place my cursor (in the TextArea display) between the text for line 1 and line 2, and then do the Shift+Enter combo on my keyboard, the display does split into 2 lines.
See if you can then send the (manually split) text to WhatsApp, and have it show up as 2 lines.
If that works, the next step would be to figure out how to do this via script.
BTW, can you or Palamar provide info on the underlying javascript library used by the plugin to do this ? Perhaps this website has more info about this issue.
According to this web page ... https://www.soakingcool.com/whatsapp_new-line/ ...
Inside the WhatsApp on a mobile device, you can add a new line inside a single text (Zapp) by hitting enter. If you do this on your desktop, you will send the message instead of adding a new line. To drop a line without sending the message hold:
<SHIFT> + <ENTER>
I don't have information on how to indicate Shift+Enter in a variable string, but instead of placing \n, if I place my cursor (in the TextArea display) between the text for line 1 and line 2, and then do the Shift+Enter combo on my keyboard, the display does split into 2 lines.
See if you can then send the (manually split) text to WhatsApp, and have it show up as 2 lines.
If that works, the next step would be to figure out how to do this via script.
BTW, can you or Palamar provide info on the underlying javascript library used by the plugin to do this ? Perhaps this website has more info about this issue.