Search found 20 matches

by mpsinfo
Sun Feb 04, 2024 9:37 am
Forum: General Discussion
Topic: IF with AND
Replies: 2
Views: 5109

Re: IF with AND

OK.. thanks..
by mpsinfo
Sat Feb 03, 2024 5:05 pm
Forum: General Discussion
Topic: IF with AND
Replies: 2
Views: 5109

IF with AND

I don't understand why the IF function with AND doesn't work. Skips the lines after the IF and goes directly after the ENDIF Let>cnr=1 Let>dir=-1 The various versions are all ignored If>cnr=1 AND dir=-1 If>(cnr=1) AND (dir=-1) This even gives an "Unknown Identifier CNR" error If>{(cnr=1) AND (dir=-1...
by mpsinfo
Sat Feb 03, 2024 10:11 am
Forum: General Discussion
Topic: Confirm completion of uploading image from web.
Replies: 0
Views: 10213

Confirm completion of uploading image from web.

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 a...
by mpsinfo
Sat Feb 03, 2024 9:37 am
Forum: General Discussion
Topic: SCREENCAPTURE and number file progressive
Replies: 5
Views: 6895

Re: SCREENCAPTURE and number file progressive

Even if sooner or later I will have to update my v.11 version, this latest solution is truly extraordinary. I didn't know you could use VB in Macro Scheduler, I'm really still a newbie.
by mpsinfo
Thu Feb 01, 2024 9:46 am
Forum: General Discussion
Topic: SCREENCAPTURE and number file progressive
Replies: 5
Views: 6895

Re: SCREENCAPTURE and number file progressive

Thanks for the advice, but is that command available from some version of Macro Scheduler upwards?
by mpsinfo
Wed Jan 31, 2024 7:41 pm
Forum: General Discussion
Topic: SCREENCAPTURE and number file progressive
Replies: 5
Views: 6895

SCREENCAPTURE and number file progressive

Hi everyone, I'm saving screenshots with progressive file names, but my code writes in this way Let>cnc=1 Let>cnr=1 ScreenCapture>20,20,3200,1350,Z:\LAVORI\MAPPE\HALTA\ZONA_%cnr%_%cnc%.bmp the file write is ZONA_1_1.bmp I would need files named like this. il file write is ZONA_001_001.bmp next ZONA_...
by mpsinfo
Sat Aug 28, 2021 3:11 pm
Forum: Technical / Scripting
Topic: How to convert number to string?
Replies: 5
Views: 5108

Re: How to convert number to string?

Error why ? Let>SPX=150 Let>SPX=SPX+0,001 Msg>%SPX% Wait>1 Let>string=%SPX% Msg>%string% Wait>1 StringReplace>string,1,9,pippo Msg>%string% %pippo% // screen 150,001 950,009 is OK StringReplace>string,,,.,pippo // error access violation in address 0041991D in module msched.exe Read of address 000000...
by mpsinfo
Sat Aug 28, 2021 2:17 pm
Forum: Technical / Scripting
Topic: How to convert number to string?
Replies: 5
Views: 5108

Re: How to convert number to string?

Thanks for answer, but the number change and not is fix. Let>CC=0 Input>CC,Insert number (es. 100,70) Let>CC=CC+10,20 // CC= 100,90 Send>https://www.xxxxxx.com/%CC% // CC=100,90 and not point 100.90 !! with comma website non answer. _______________________________________ Furthermore why: Let>CC=0 I...
by mpsinfo
Sat Aug 28, 2021 8:32 am
Forum: Technical / Scripting
Topic: How to convert number to string?
Replies: 5
Views: 5108

How to convert number to string?

Sorry for the trivial question. I should enter a number converted to text into a URL. Let>CC=0 Input>CC,Insert number (es. 100,70) Let>CC=CC+10,20 Also I wanted to know if there is a more elegant way to insert URLs in a website window already open. I currently use this system which works but I don't...
by mpsinfo
Thu Aug 26, 2021 9:14 am
Forum: Technical / Scripting
Topic: MOVE SCREENING -- LDOWN LUP
Replies: 5
Views: 4529

Re: MOVE SCREENING -- LDOWN LUP

I don't try to move a window, but its internal. I have to go through a list
by mpsinfo
Wed Aug 25, 2021 5:47 pm
Forum: Technical / Scripting
Topic: MOVE SCREENING -- LDOWN LUP
Replies: 5
Views: 4529

Re: MOVE SCREENING -- LDOWN LUP

My monitor is 3440 x 1440 so I enter 3000/3300 as SX and 1200/1300 as SY These are the variable values : X=3440 Y=1440 SX= 3000 variable to 3300 SY= 1200 variable to 1300 X1= Before 100 next 3390 The shift of the image on the screen to the right occurs regularly but does not shift to the left, but t...
by mpsinfo
Wed Aug 25, 2021 8:45 am
Forum: Technical / Scripting
Topic: MOVE SCREENING -- LDOWN LUP
Replies: 5
Views: 4529

MOVE SCREENING -- LDOWN LUP

Hi, with this simple code I should translate the image on the screen, simulating dragging with the mouse. Everything works, but while the translation from right to left moves correctly by about 3000 pixels, the one from left to right (2nd part of the code) moves only 300-400 pixels. Non ho ancora ca...
by mpsinfo
Tue Aug 24, 2021 2:14 pm
Forum: Technical / Scripting
Topic: Unrecognized images
Replies: 2
Views: 3344

Re: Unrecognized images

That's right, even looking for the newly created image gave an error.
Today everything seems to be working OK.

Mystery.
by mpsinfo
Sat Aug 21, 2021 10:20 am
Forum: Technical / Scripting
Topic: Unrecognized images
Replies: 2
Views: 3344

Unrecognized images

Hi, until yesterday everything was working correctly. Today despite restarted PC etc. the program no longer recognizes my images. :evil: I also made a new test code but tells me -1. Can you tell me where to look for the problem? Code: ScreenCapture>1160,96,1240,140,D:\LAVORI\_ARDUINO\MACRO\MK.bmp Wa...
by mpsinfo
Mon Jun 21, 2021 1:15 pm
Forum: Technical / Scripting
Topic: SEND> problem with CODE ASCII
Replies: 2
Views: 3030

Re: SEND> problem with CODE ASCII

Thanks for you answer, but my problem is this: // this select the text to cell Excel MouseMove>560,10 Wait>0.2 LClick Wait>0.2 Press>Esc Wait>0.1 MouseMove>%X%,%Y% Wait>0.2 LClick Wait>0.2 Press Ctrl Wait>0.2 Send>c Wait>0.2 Release Ctrl Wait>0.1 GetClipBoard>result --> "film plastico polipropilene ...
Sign up to our newsletter for free automation tips, tricks & discounts