Search found 922 matches

by Dorian (MJT support)
Fri Jun 18, 2021 9:08 am
Forum: Technical / Scripting
Topic: Dropdown Box in Chrome
Replies: 2
Views: 33

Re: Dropdown Box in Chrome

If you right click on that element you can see it's in a frame. "View frame source" often gives us all the information we need to switch to that frame. So we find frames, switch frames, interact, switch back. Like this : //Find the frame using xpath ChromeFindElements>session_id,xpath,//iframe[@src=...
by Dorian (MJT support)
Tue Jun 15, 2021 7:49 am
Forum: Technical / Scripting
Topic: FindImagePos
Replies: 5
Views: 135

Re: FindImagePos

I may have picked up on the version if the post was in English. We don't support version 11 as it's 11 years old. To answer the move/size window question, these were all introduces in V5 : http://www.mjtnet.com/manual/index.html?windowaction.htm https://www.mjtnet.com/manual/index.html?resizewndow.h...
by Dorian (MJT support)
Mon Jun 14, 2021 3:57 pm
Forum: Beginners
Topic: Automatically send email when macro completes
Replies: 3
Views: 107

Re: Automatically send email when macro completes

For gmail you may need to enable 'less secure' apps and/or you might also need to create an app password:
https://support.google.com/accounts/ans ... 0255?hl=en
by Dorian (MJT support)
Sat Jun 12, 2021 6:15 pm
Forum: Technical / Scripting
Topic: FindImagePos
Replies: 5
Views: 135

Re: FindImagePos

That is all explained in depth here : http://www.mjtnet.com/manual/index.html ... agepos.htm
by Dorian (MJT support)
Tue Jun 08, 2021 10:17 am
Forum: Technical / Scripting
Topic: FindImagePos
Replies: 5
Views: 135

Re: FindImagePos

I would imagine it's more likely the browser dimensions have changed, possibly changing the visual properties of the image, rather than the screen position causing a problem. I've also seen this happen if browser magnification settings have been changed. Your example has the Offset and Algorithm par...
by Dorian (MJT support)
Wed Jun 02, 2021 6:14 pm
Forum: General Discussion
Topic: Labelling - user issue, not software issue.
Replies: 2
Views: 160

Re: Labelling - user issue, not software issue.

Just something that isn't going to affect your script, but is redundant.. You don't need a Goto just before the label. Goto>Load Label>Load All you need is the label. You're telling the script to go to a label which is on the next line anyway. You don't appear to need these lines at all. you only ne...
by Dorian (MJT support)
Wed May 26, 2021 11:20 am
Forum: General Discussion
Topic: ZipExtractFiles and HTTPRequest large files, indication on progress?
Replies: 4
Views: 201

Re: ZipExtractFiles and HTTPRequest large files, indication on progress?

I had a feeling it may not be. I'll flag this for Marcus and we'll see if he has any input.
by Dorian (MJT support)
Wed May 26, 2021 10:41 am
Forum: General Discussion
Topic: ZipExtractFiles and HTTPRequest large files, indication on progress?
Replies: 4
Views: 201

Re: ZipExtractFiles and HTTPRequest large files, indication on progress?

I'm not sure there is, as both of those commands will remain "busy" until the operation is complete. Other than setting a timeout for HTTPRequest with HTTP_TIMEOUT and/or checking for an error afterwards : Result_Variable : Stores result of operation. If LocalFileName is not specified and the operat...
by Dorian (MJT support)
Fri May 21, 2021 10:08 am
Forum: Technical / Scripting
Topic: Wait for window not working
Replies: 2
Views: 125

Re: Wait for window not working

My guess is that tab isn't selected. Macro Scheduler Window functions only see the title of the active tab. So if another tab is selected it won't be able to see the one you're wanting/waiting to close. If you ensured that tab was selected, this should work every time. So select it first, then close...
by Dorian (MJT support)
Thu May 20, 2021 10:10 am
Forum: General Discussion
Topic: automating task with image trigger
Replies: 1
Views: 70

Re: automating task with image trigger

Maybe other players are automating it too, if it's a race to click it. Or maybe yours is working slightly too fast. Sometimes we might see an element before everything has finished loading or processing. I'd start by adding a small delay between the two clicks. If that doesn't help maybe experiment ...
by Dorian (MJT support)
Thu May 13, 2021 8:53 am
Forum: Enhancement Suggestions
Topic: PERCENT = %
Replies: 1
Views: 321

Re: PERCENT = %

Have passed this on.
by Dorian (MJT support)
Thu May 13, 2021 8:50 am
Forum: Enhancement Suggestions
Topic: CopyFile documentation
Replies: 3
Views: 459

Re: CopyFile documentation

Have passed this on.
by Dorian (MJT support)
Mon May 03, 2021 9:34 am
Forum: Beginners
Topic: IE Desktop app
Replies: 3
Views: 279

Re: IE Desktop app

I find IEFormFill works best with the <select><option> <select producthasstrategy="True" selectlist="System.Collections.Generic.Dictionary`2[System.String,System.String]" sorted="False" usergroup="" class="persistable chosen-select" id="coverages_0__TermID" name="coverages[0].TermID" style="display:...
Sign up to our newsletter for free automation tips, tricks & discounts