Xevi wrote:Gracias por el aporte.
FUNCIONANDO!!!
Function Main()
Local oShell
oShell := CreateObject( "WScript.Shell" )
oShell:run("chrome.exe <!-- m --><a class="postlink" href="https://api.whatsapp.com/send?phone=34666666666">https://api.whatsapp.com/send?phone=34666666666</a><!-- m -->" )
Sleep(1500)
oShell:sendkeys("{tab}{tab}")
oShell:SendKeys("~")
Sleep(5000)
oShell:sendkeys("Mensaje de prueba")
oShell:SendKeys("~")
Return nil
Ahora, estaría bien poder hacer que se ejecutara en modo silencioso... sin abrir ventana alguna.
Hola Xevi:
No logro compilar, la funcion createobject no la reconoce,
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from C:\USERS\JOSÉ VTE. CHETO\DOCUMENTS\HARBOUR\PROJECTS\WHATSAPP\OBJ\MAIN.OBJ
Error: Unresolved external '_HB_FUN_SLEEP' referenced from C:\USERS\JOSÉ VTE. CHETO\DOCUMENTS\HARBOUR\PROJECTS\WHATSAPP\OBJ\MAIN.OBJ
Error: Unresolved external '_HB_FUN_FW_GT' referenced from C:\USERS\JOSÉ VTE. CHETO\DOCUMENTS\HARBOUR\PROJECTS\WHATSAPP\OBJ\MAIN.OBJ
Error: Unable to perform link
1 Files, 1 Warnings, 4 Errors
Tiempo de compilación: 0.84s Tiempo de enlazado: 0.38s Tiempo total: 1.22s
falta algun include
tengo el fivewin.ch
alguno mas?