Search found 136 matches: syswait

Return to advanced search

Re: Pruebas con WhatsApp

... telefono al que enviar mensaje tiene que ser exactamente como aparece en la información de contacto, es decir, (+)codigo de país + telefono Añadir SysWait( 1 ) antes del ultimo oShell:SendKeys("~") Si WhatsApp está abierto en el escritorio, se envia el mensaje de forma automática Si no ...
by Joaquim Ferrer
Wed Apr 17, 2024 4:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pruebas con WhatsApp
Replies: 7
Views: 267

Re: Talking to your apps

Antonio Linares wrote:Dear Enrico,

I think it is a timing issue, maybe we invoke it too soon.

We need to find a way to fine tune it...


Yes, I was thinking along the same line. I tried with a call to SysWait() but to no avail. I have to try putting a delay in the C code.
by Enrico Maria Giordano
Fri Mar 29, 2024 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Talking to your apps
Replies: 20
Views: 3865

Re: SysWait() ó SysRefresh()

Gracias !
by sysctrl2
Mon Nov 20, 2023 8:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SysWait() ó SysRefresh()
Replies: 2
Views: 265

Re: SysWait() ó SysRefresh()

No difference, other than the duration:

Code: Select all  Expand view
function SysWait( nLong )

   local nSeconds

   DEFAULT nLong := .1
   nSeconds := Seconds() + nLong

   while Seconds() < nSeconds
     SysRefresh()
   end

return .t.
by Enrico Maria Giordano
Mon Nov 20, 2023 8:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SysWait() ó SysRefresh()
Replies: 2
Views: 265

SysWait() ó SysRefresh()

SysWait() ó SysRefresh()
Maestro Antonio Linares C. !
cual es la diferencia entre estas 2 funciones?

saludos !
by sysctrl2
Mon Nov 20, 2023 5:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SysWait() ó SysRefresh()
Replies: 2
Views: 265

Re: enviar mensajes a whatsapp, ¿posible solucion?

... Linares.%0A"+;    "Gusto en Saludarle, "+ Time() )    oShell := CreateObject( "WScript.Shell" )   syswait(.2)   oShell:SendKeys( "~" ) //Doy enter para que envie el mensaje   syswait(2)   oShell:SendKeys("+{TAB}") ...
by nageswaragunupudi
Sat Oct 28, 2023 2:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar mensajes a whatsapp, ¿posible solucion?
Replies: 55
Views: 4476

Re: enviar mensajes a whatsapp, ¿posible solucion?

... )   ShellExecute( 0, "Open", "whatsapp://send?phone="+cPhone+"&text="+cMsg )   SysWait(1)   if !Empty( aFiles )      if HB_ISSTRING( aFiles ); aFiles := { aFiles }; endif      if !Empty( aImages ...
by nageswaragunupudi
Fri Oct 27, 2023 3:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar mensajes a whatsapp, ¿posible solucion?
Replies: 55
Views: 4476

Re: No borrar fichero

Hola,

Entiendo q quieres borrar el fichero para q no se quede por alli una vez cierres el visor. O creas un hilo q este pendiente o despues de abrir puedes hacer algo como

While fErase(cFile) = -1
Syswait(1)
End

No lo he probado. Este paso te congela la aplicacion, claro

C.
by Carles
Fri Oct 20, 2023 7:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No borrar fichero (SOLUCIONADO)
Replies: 12
Views: 475

Re: enviar mensajes a whatsapp, ¿posible solucion?

... "whatsapp://send?phone=" + cTelefono + "&text=" + cMensaje ), " ", "%20" ) ) SysRefresh() // ó SysWait( 5 ) prueba con distintos valores hasta que te funcione bien CreateObject( "WScript.Shell" ):SendKeys( "~" )
by Antonio Linares
Thu Oct 12, 2023 11:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: enviar mensajes a whatsapp, ¿posible solucion?
Replies: 55
Views: 4476

Re: Saving OuterHTML using Await Implementation with TWebView

Hello Otto. SysWait() is not a timer. Could you please provide a detailed explanation of what it is used for? Alternatively, if you'd like, you can share your email, and I'll provide you with my WhatsApp contact. Regards, Charles ...
by CharlesKwon
Mon Aug 21, 2023 6:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1632

Re: Saving OuterHTML using Await Implementation with TWebView

Hello Charles, In the past, I had some problems with SysWait(). I think you should use a timer. https://forums.fivetechsupport.com/viewtopic.php?f=3&t=36667&p=218689&hilit=syswait&sid=baaa9792d603f7acacf7427eeacfd234#p218689 I tested ...
by Otto
Fri Aug 18, 2023 8:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1632

Re: Saving OuterHTML using Await Implementation with TWebView

... provides a number of methods for loading web pages, executing JavaScript, and retrieving data from web pages. The program also uses the FiveWin SysWait() function to pause the execution of the program for a specified number of milliseconds. This is used to prevent the program from consuming ...
by CharlesKwon
Thu Aug 17, 2023 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1632

Re: Saving OuterHTML using Await Implementation with TWebView

... provides a number of methods for loading web pages, executing JavaScript, and retrieving data from web pages. The program also uses the FiveWin SysWait() function to pause the execution of the program for a specified number of milliseconds. This is used to prevent the program from consuming ...
by Otto
Thu Aug 17, 2023 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1632

Re: sleep function

Dear Marco,

Use SysRefresh() or SysWait( nValue )
by Antonio Linares
Fri May 26, 2023 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: sleep function
Replies: 2
Views: 214

Re: Syswait() question

Antonio Linares wrote:Use:

ACTIVATED DIALOG oDlg VALID .F.

or this way:

ACTIVATED DIALOG oDlg VALID CanTheUserExit()


It worked, thank you Antonio!
by wartiaga
Wed Apr 19, 2023 3:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Syswait() question
Replies: 9
Views: 646
Next

Return to advanced search