Search found 1349 matches
- Wed Jan 31, 2024 11:43 pm
- Forum: General Discussion
- Topic: SCREENCAPTURE and number file progressive
- Replies: 5
- Views: 992
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: 1343
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: 1343
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: 1343
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: 1369
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: 1369
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: 74285
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: 2475
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: 2475
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: 2475
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 ?
- Tue Jan 09, 2024 9:43 pm
- Forum: Technical / Scripting
- Topic: chromefindelements returning array of hexadecimal instead of links
- Replies: 7
- Views: 2475
Re: chromefindelements returning array of hexadecimal instead of links
ChromeFindElements always returns a list of element IDs like that. It's the subsequent commands (ChromeGetElementData, ChromeSetElementValue, ChromeElementAction) that extracts them. If you look at ChromeFindElements you'll see you have a variety of methods available. One of these is "partial link t...
- Fri Dec 29, 2023 11:51 pm
- Forum: Technical / Scripting
- Topic: Macro Scheduler support for current versions of Python?
- Replies: 1
- Views: 1512
Re: Macro Scheduler support for current versions of Python?
Version 14.2 03/11/2014
- Added: PyExec - execute Python code - requires Python DLL installed (link in help)
Version 14.5.5 15/10/2019
Upgraded Python engine to Python 3.7.4 with ability to run Python 2.7 (PYTHON_DLL variable)
You can try a higher version DLL but we do not
support it.
- Added: PyExec - execute Python code - requires Python DLL installed (link in help)
Version 14.5.5 15/10/2019
Upgraded Python engine to Python 3.7.4 with ability to run Python 2.7 (PYTHON_DLL variable)
You can try a higher version DLL but we do not
support it.
- Mon Dec 18, 2023 10:24 am
- Forum: General Discussion
- Topic: ONERROR not capturing string error
- Replies: 6
- Views: 10818
Re: ONERROR not capturing string error
Interesting. Have passed to dev.
- Thu Nov 09, 2023 12:07 am
- Forum: Technical / Scripting
- Topic: stolen_codes
- Replies: 2
- Views: 5442
Re: stolen_codes
It may think it's stolen as it's cloned. I would always suggest using the installation file.
If you still need help, please email support with your registered email address and license codes, and we'll happily see how we can help. If possible please email us from the registered email address.
If you still need help, please email support with your registered email address and license codes, and we'll happily see how we can help. If possible please email us from the registered email address.
- Thu Nov 09, 2023 12:01 am
- Forum: General Discussion
- Topic: License Question
- Replies: 1
- Views: 5168
Re: License Question
Hi Gary,
25 would be fine.
25 would be fine.