Confirm completion of uploading image from web.

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
mpsinfo
Junior Coder
Posts: 20
Joined: Mon Apr 19, 2021 1:31 pm

Confirm completion of uploading image from web.

Post by mpsinfo » Sat Feb 03, 2024 10:11 am

I am automatically saving screenshots from the WEB and I have set a waiting time of 10 seconds, after scrolling the screen because with my slow internet line at 25Mb/sec and the site where I download from is slow, the image has time to download. Sometimes these 10 seconds are a lot, sometimes they are few I should increase it to 15-20 sec.
I wanted to know if there was some way to make the macro understand that the image screen is complete in its loading.

Code: Select all

Msg>CAMBIATO DIREZIONE in GIU
Wait>1
Press Down * 33
// Attendi 10 secondi che l'immagine completi il caricamento
Wait>10
ScreenCapture>10,10,3200,1350,Z:\LAVORI\MAPPE\HALTA\IMG_%num%.bmp
Msg>Salvato mappa colonna # %cnc% - riga # %cnr%    - SALVATAGGIO # %num%

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts