Search found 1356 matches

by Dorian (MJT support)
Wed Mar 06, 2024 8:34 pm
Forum: Technical / Scripting
Topic: Login to webiste send me screenshot in gmail
Replies: 3
Views: 1753

Re: Login to webiste send me screenshot in gmail

Re sending via Gmail, this link will help.

Make sure to read the entire thread, as you'll need to enable 2FA and then create an app password.
by Dorian (MJT support)
Thu Feb 22, 2024 2:25 pm
Forum: Scripts and Tips
Topic: Scaling dialog based on TextHeight
Replies: 6
Views: 28749

Re: Scaling dialog based on TextHeight

I have passed this on to dev.
by Dorian (MJT support)
Mon Feb 19, 2024 11:55 am
Forum: Technical / Scripting
Topic: File Format Conversion and compression through window command.
Replies: 5
Views: 3219

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...
by Dorian (MJT support)
Mon Feb 19, 2024 8:45 am
Forum: Technical / Scripting
Topic: File Format Conversion and compression through window command.
Replies: 5
Views: 3219

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.
by Dorian (MJT support)
Wed Feb 14, 2024 10:19 am
Forum: General Discussion
Topic: OCR Acuracy
Replies: 1
Views: 1738

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...
by Dorian (MJT support)
Thu Feb 01, 2024 11:00 am
Forum: General Discussion
Topic: SCREENCAPTURE and number file progressive
Replies: 5
Views: 2350

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
by Dorian (MJT support)
Wed Jan 31, 2024 11:43 pm
Forum: General Discussion
Topic: SCREENCAPTURE and number file progressive
Replies: 5
Views: 2350

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...
by Dorian (MJT support)
Thu Jan 25, 2024 8:20 am
Forum: Technical / Scripting
Topic: Marcus
Replies: 6
Views: 2662

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 ...
by Dorian (MJT support)
Thu Jan 25, 2024 12:23 am
Forum: Technical / Scripting
Topic: Marcus
Replies: 6
Views: 2662

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
by Dorian (MJT support)
Mon Jan 22, 2024 10:57 am
Forum: Technical / Scripting
Topic: Marcus
Replies: 6
Views: 2662

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...
by Dorian (MJT support)
Mon Jan 22, 2024 10:29 am
Forum: General Discussion
Topic: Unable to Search Website
Replies: 4
Views: 2621

Re: Unable to Search Website

Site search has been fixed. :)
by Dorian (MJT support)
Fri Jan 19, 2024 2:17 pm
Forum: General Discussion
Topic: Unable to Search Website
Replies: 4
Views: 2621

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...
by Dorian (MJT support)
Tue Jan 16, 2024 12:37 pm
Forum: Enhancement Suggestions
Topic: [added 15.0.23] Run command, capture STDOUT
Replies: 29
Views: 77536

Re: [added 15.0.23] Run command, capture STDOUT

Have passed this on to dev.
by Dorian (MJT support)
Thu Jan 11, 2024 10:58 am
Forum: Technical / Scripting
Topic: chromefindelements returning array of hexadecimal instead of links
Replies: 7
Views: 3755

Re: chromefindelements returning array of hexadecimal instead of links

Re "submit". Submit submits a form. For buttons, use click.
Sign up to our newsletter for free automation tips, tricks & discounts