Search found 1354 matches
- Mon Feb 19, 2024 11:55 am
- Forum: Technical / Scripting
- Topic: File Format Conversion and compression through window command.
- Replies: 5
- Views: 3048
Re: File Format Conversion and compression through window command.
I'm no expert on ImageMagick but managed to cobble this together, which will take Untitled.png and create Untitled.jpeg. I installed ImageMagick first. let>FilePath=C:\Path\To\Images let>filename=Untitled.png let>filenameout=Untitled.jpeg let>IMPath=C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick...
- Mon Feb 19, 2024 8:51 am
- Forum: Technical / Scripting
- Topic: File Format Conversion and compression through window command.
- Replies: 5
- Views: 3048
Re: File Format Conversion and compression through window command.
This might get you started : viewtopic.php?f=3&t=10590&hilit=Imagemagick#p45051
- Mon Feb 19, 2024 8:45 am
- Forum: Technical / Scripting
- Topic: File Format Conversion and compression through window command.
- Replies: 5
- Views: 3048
Re: File Format Conversion and compression through window command.
I'd investigate using ImageMagick via the command line with RunProgram.
I can't give specific ImageMagick examples to do this, but I'm fairly sure it would be able to do what you need.
I can't give specific ImageMagick examples to do this, but I'm fairly sure it would be able to do what you need.
- Wed Feb 14, 2024 10:19 am
- Forum: General Discussion
- Topic: OCR Acuracy
- Replies: 1
- Views: 1680
Re: OCR Acuracy
The higher the number you use, the more accurate it would be. But it would also use more resources. It is also dependent on the font/colour/background. OCR_SCALEFACTOR 2 is the default. I generally see people reporting a good success rate with 4. Let>OCR_SCALEFACTOR=4 I suggest starting with 3, then...
- Thu Feb 01, 2024 11:00 am
- Forum: General Discussion
- Topic: SCREENCAPTURE and number file progressive
- Replies: 5
- Views: 2272
Re: SCREENCAPTURE and number file progressive
It was added to v14.2 in 2014 and should be available in Lite/Std/Pro
Version 14.2 03/11/2014
- Added: Format function to format numbers and strings
Version 14.2 03/11/2014
- Added: Format function to format numbers and strings
- Wed Jan 31, 2024 11:43 pm
- Forum: General Discussion
- Topic: SCREENCAPTURE and number file progressive
- Replies: 5
- Views: 2272
Re: SCREENCAPTURE and number file progressive
Format will help you here. You could do this : Let>cnc=1 Format>%.3d,cnc,cncformatted Let>cnr=1 Format>%.3d,cnr,cnrformatted ScreenCapture>20,20,3200,1350,Z:\LAVORI\MAPPE\HALTA\ZONA_%cnrformatted%_%cncformatted%.bmp Or even just this : Let>cnc=1 Format>%.3d,cnc,cnc Let>cnr=1 Format>%.3d,cnr,cnr Scr...
- Thu Jan 25, 2024 8:20 am
- Forum: Technical / Scripting
- Topic: Marcus
- Replies: 6
- Views: 2591
Re: Marcus
Your most recent example uses a tolerance of 0 whereas the prior one used 0.7. This could account for the false positive with NumFound. FindImagePosition Tolerence should be given a value between 0 and 1 where 1 is a precise match and 0 is the least precise. A value of 0.7 is recommended and should ...
- Thu Jan 25, 2024 12:23 am
- Forum: Technical / Scripting
- Topic: Marcus
- Replies: 6
- Views: 2591
Re: Marcus
I recommend turning on logging in the logging tab of the editor so you can see exactly what's happening.
It's also worth learning how to use the debugger : https://help.mjtnet.com/article/42-usin ... t-creation
It's also worth learning how to use the debugger : https://help.mjtnet.com/article/42-usin ... t-creation
- Mon Jan 22, 2024 10:57 am
- Forum: Technical / Scripting
- Topic: Marcus
- Replies: 6
- Views: 2591
Re: Marcus
It took me quite a while to spot this, as it's an easy mistake to make. This: If>WSI_TIMEOUT=FALSE Should be this : If>WSI_TIMEDOUT=FALSE TIME D OUT, not TIMEOUT WaitScreenImage : The system variable WSI_TIMEOUT can be used to set the number of seconds after which this command should timeout. If set...
- Mon Jan 22, 2024 10:29 am
- Forum: General Discussion
- Topic: Unable to Search Website
- Replies: 4
- Views: 2556
Re: Unable to Search Website
Site search has been fixed.
- Fri Jan 19, 2024 2:17 pm
- Forum: General Discussion
- Topic: Unable to Search Website
- Replies: 4
- Views: 2556
Re: Unable to Search Website
The forum search is the little magnifying glass just below your username on the top right, or the option within Quicklinks as JRL mentioned, which both link through to the page Grovkillen mentioned. The search box in the top-right corner is supposed to search the entire MJT site - it used to, and th...
- Tue Jan 16, 2024 12:37 pm
- Forum: Enhancement Suggestions
- Topic: [added 15.0.23] Run command, capture STDOUT
- Replies: 29
- Views: 77342
Re: [added 15.0.23] Run command, capture STDOUT
Have passed this on to dev.
- Thu Jan 11, 2024 10:58 am
- Forum: Technical / Scripting
- Topic: chromefindelements returning array of hexadecimal instead of links
- Replies: 7
- Views: 3666
Re: chromefindelements returning array of hexadecimal instead of links
Re "submit". Submit submits a form. For buttons, use click.
- Thu Jan 11, 2024 10:38 am
- Forum: Technical / Scripting
- Topic: chromefindelements returning array of hexadecimal instead of links
- Replies: 7
- Views: 3666
Re: chromefindelements returning array of hexadecimal instead of links
I can't seem to replicate this at all. I've tried three different methods including yours, and they all successfully click the link. At the moment I am at a loss as to what could be causing you the problem, so I will consult Marcus. In the meantime, it may be worth checking your ChromeDriver version...
- Wed Jan 10, 2024 10:57 am
- Forum: Technical / Scripting
- Topic: chromefindelements returning array of hexadecimal instead of links
- Replies: 7
- Views: 3666
Re: chromefindelements returning array of hexadecimal instead of links
Are you able to share the HTML for the specific link you're wishing to click please?
What is the value of arrElementID_count ?
What is the value of arrElementID_count ?