Search found 7 matches
- Wed Oct 09, 2024 12:50 pm
- Forum: Technical / Scripting
- Topic: Execute Chrome in incognito window
- Replies: 1
- Views: 1269
Re: Execute Chrome in incognito window
Hi This should do what you need. Hope it helps. thanks. Jon //Set IGNORESPACES to 1 to force script interpreter to ignore spaces. //If using IGNORESPACES quote strings in {" ... "} //Let>IGNORESPACES=1 Let>CHROMEDRIVER_EXE="C:\chromedriver.exe" //C:\Users\jonagoss\AppData\Local\Google\Chrome\User Da...
- Fri Mar 01, 2024 3:38 pm
- Forum: Technical / Scripting
- Topic: FindImagePos return_offset 1 (center) not working
- Replies: 2
- Views: 5181
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
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
- Thu Feb 29, 2024 3:06 pm
- Forum: Technical / Scripting
- Topic: File Format Conversion and compression through window command.
- Replies: 5
- Views: 8110
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...
- Thu Feb 29, 2024 2:59 pm
- Forum: Technical / Scripting
- Topic: Setting Screen Resolution
- Replies: 4
- Views: 6432
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!
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!
- Fri Sep 21, 2012 3:26 pm
- Forum: Technical / Scripting
- Topic: Fields Count varibale with an IF statement
- Replies: 4
- Views: 4692
Fields Count
Thank you!
- Tue Sep 18, 2012 2:52 pm
- Forum: Technical / Scripting
- Topic: Fields Count varibale with an IF statement
- Replies: 4
- Views: 4692
Fields Count varibale with an IF statement
hi - thanks for the code - tried this - but same result?
- Fri Sep 07, 2012 8:45 am
- Forum: Technical / Scripting
- Topic: Fields Count varibale with an IF statement
- Replies: 4
- Views: 4692
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...