Search found 1352 matches

by Dorian (MJT support)
Thu Sep 21, 2023 8:28 am
Forum: General Discussion
Topic: Problems with many functions - Mouse clicks etc...
Replies: 3
Views: 4847

Re: Problems with many functions - Mouse clicks etc...

These may help : Macro Scheduler Specifc : https://help.mjtnet.com/article/11-controlling-apps-that-run-as-admin General Windows guidance - making apps always run as admin : https://www.windowscentral.com/how-set-apps-always-run-administrator-windows-10#:~:text=Set%20Apps%20to%20always%20Run%20as%20...
by Dorian (MJT support)
Thu Sep 14, 2023 11:04 pm
Forum: Technical / Scripting
Topic: Text in HTML Viewer is not copied.
Replies: 8
Views: 6715

Re: Text in HTML Viewer is not copied.

I didn't help much... Grovkillen was the guru here. Thank you though.
by Dorian (MJT support)
Thu Sep 14, 2023 9:03 am
Forum: Technical / Scripting
Topic: Text in HTML Viewer is not copied.
Replies: 8
Views: 6715

Re: Text in HTML Viewer is not copied.

Grovkillen wrote:
Thu Sep 14, 2023 8:53 am
Try this technique : viewtopic.php?f=2&t=8197#p48509
Thank you for jumping in. I was still wrestling with this one after discovering GetDialogProperty doesn't actually get the property. (Then I found an old thread where you mentioned it)
by Dorian (MJT support)
Thu Sep 14, 2023 8:48 am
Forum: Technical / Scripting
Topic: Text in HTML Viewer is not copied.
Replies: 8
Views: 6715

Re: Text in HTML Viewer is not copied.

I'm wondering if a starting point would be to add a dialog handler for the HTMLviewer which then uses GetDialogProperty to retrieve it's contents?
by Dorian (MJT support)
Thu Sep 14, 2023 8:08 am
Forum: Technical / Scripting
Topic: Text in HTML Viewer is not copied.
Replies: 8
Views: 6715

Re: Text in HTML Viewer is not copied.

We were recently asked about the Out of Memory errors for the GetText functions over at Support recently. This was Marcus' reply : The GetText functions use a third party product which is no longer maintained. In any case they only work against native legacy apps and will not work with most modern a...
by Dorian (MJT support)
Thu Sep 14, 2023 6:52 am
Forum: Enhancement Suggestions
Topic: ISO 8601 timestamp
Replies: 4
Views: 35679

Re: ISO 8601 timestamp

Thank you for this. I will make sure to pass it on.
by Dorian (MJT support)
Mon Sep 11, 2023 9:16 pm
Forum: Technical / Scripting
Topic: Accessing Array elements
Replies: 11
Views: 10360

Re: Accessing Array elements

Your commented out method is the correct way. You can't use complex expressions with StringReplace.
by Dorian (MJT support)
Sat Sep 09, 2023 3:06 pm
Forum: Beginners
Topic: Out of memory
Replies: 3
Views: 27961

Re: Out of memory

It would be in there if you've used the Text Capture Wizard. If you haven't used that and have no recollection of using text capture in this script, then the GetTextInit suggestion is on the wrong path. :) You can always use CTRL-F to search your scripts. It's very unlikely to be the length of the s...
by Dorian (MJT support)
Sat Sep 09, 2023 12:09 pm
Forum: Beginners
Topic: Out of memory
Replies: 3
Views: 27961

Re: Out of memory

This raises it's head from time to time and is usually due to the GetTextInit functions. We recommend using the OCR functions instead.
by Dorian (MJT support)
Sat Sep 02, 2023 8:29 am
Forum: Beginners
Topic: If function understanding
Replies: 8
Views: 22233

Re: If function understanding

What you want to do is quite complex for a beginner. You'll need to master and fully understand the techniques linked below before you should even think about putting it all together into something resembling your "end product". Learn and test each stage/element. Make sure you can walk before you tr...
by Dorian (MJT support)
Fri Sep 01, 2023 5:02 pm
Forum: Beginners
Topic: If function understanding
Replies: 8
Views: 22233

Re: If function understanding

You know.... I don't think I've ever used that in the 25 years I've been using MS (IfNot probably hasn't existed for 25 years)...

In fact it slipped my mind that it even existed.
by Dorian (MJT support)
Fri Sep 01, 2023 12:51 pm
Forum: Beginners
Topic: If function understanding
Replies: 8
Views: 22233

Re: If function understanding

To compare two variables and exit the script if they are not the same, you'd do something like this :

Code: Select all

if>%variable1%<>%variable2%
  exit
endif
You can see an in-depth description of IF here.
Sign up to our newsletter for free automation tips, tricks & discounts