Search found 6 matches

by jonathangoss
Fri Mar 01, 2024 3:38 pm
Forum: Technical / Scripting
Topic: FindImagePos return_offset 1 (center) not working
Replies: 2
Views: 1520

Re: FindImagePos return_offset 1 (center) not working

hi
can you post your code and a screenshot of the image and where it sends the resulting mouse?
for reference, mine does this:

FindImagePos>%SCRIPT_DIR%\testing.bmp,SCREEN,0,1,XArr,YArr,NumFound,CCOEFF
MouseMove>XArr_0,YArr_0
wait>5

and therefore correctly moves the mouse to the middle of the image
by jonathangoss
Thu Feb 29, 2024 3:06 pm
Forum: Technical / Scripting
Topic: File Format Conversion and compression through window command.
Replies: 5
Views: 2551

Re: File Format Conversion and compression through window command.

agree with Dorian there. We use the following in a loop to covert multipage tiff to PDF: runprogram>%ImageMagikLocation%convert %varImageMagickFileNames% %workingDir%\%varOriginalFileName% TimeStamp>%LogFileName%,RP_RESULT is %RP_RESULT% with ZERO being successful wait>2 SetDialogProperty>Dialog22,L...
by jonathangoss
Thu Feb 29, 2024 2:59 pm
Forum: Technical / Scripting
Topic: Setting Screen Resolution
Replies: 4
Views: 1770

Re: Setting Screen Resolution

hi there
we include this in our scripts:

Macro code is:
Let>RP_WAIT=1
Run>"%SCRIPT_DIR%\qres" /x:1920 /y:1080
Let>RP_WAIT=0

using qres.exe
Hope that helps!
by jonathangoss
Fri Sep 21, 2012 3:26 pm
Forum: Technical / Scripting
Topic: Fields Count varibale with an IF statement
Replies: 4
Views: 4126

Fields Count

Thank you! :lol:
by jonathangoss
Tue Sep 18, 2012 2:52 pm
Forum: Technical / Scripting
Topic: Fields Count varibale with an IF statement
Replies: 4
Views: 4126

Fields Count varibale with an IF statement

hi - thanks for the code - tried this - but same result?
by jonathangoss
Fri Sep 07, 2012 8:45 am
Forum: Technical / Scripting
Topic: Fields Count varibale with an IF statement
Replies: 4
Views: 4126

Fields Count varibale with an IF statement

Hi Having a few problems with getting my script to goto the correct label if the FIELDS_COUNT variable is set to 0 * This is to cover me if the first line of my text file is blank (which it can be) even though lines 2 and 3 etc do contain data My code is this: IF>TheFileData_FIELDS_COUNT=0 Then Goto...
Sign up to our newsletter for free automation tips, tricks & discounts