Search found 1352 matches

by Dorian (MJT support)
Thu Sep 10, 2020 6:59 pm
Forum: Beginners
Topic: ArrayCount
Replies: 3
Views: 5353

Re: ArrayCount

If I run your code without any arrays, I just get MDL returning zero 20 times. However, if I use ArrayDim to create 20 arrays, mine hangs on ArrayCount too. In fact it hangs even if I simply create 1 array, and use ArrayCount in conjunction with a variable. This hangs : ArrayCount>Array%k%,itemCount...
by Dorian (MJT support)
Wed Sep 09, 2020 3:56 pm
Forum: Beginners
Topic: Add two numbers
Replies: 2
Views: 4342

Re: Add two numbers

In the Help File it says "Deprecated by Let for numeric calculations"

Therefore :

Code: Select all

let>t=1.23
let>tt=0.009
Let>xx=t+tt
xx = 1.239 as required.
by Dorian (MJT support)
Mon Sep 07, 2020 9:09 am
Forum: Technical / Scripting
Topic: Finding all files in subfolders?
Replies: 3
Views: 4603

Re: Finding all files in subfolders?

Hi Phil,

GetFileList still isn't recursive.
by Dorian (MJT support)
Thu Sep 03, 2020 2:49 pm
Forum: Technical / Scripting
Topic: problem with SRT start and end mismatch
Replies: 6
Views: 7677

Re: problem with SRT start and end mismatch

I've never managed to get to the bottom of it. I've experienced it too.
by Dorian (MJT support)
Thu Sep 03, 2020 9:51 am
Forum: Technical / Scripting
Topic: problem with SRT start and end mismatch
Replies: 6
Views: 7677

Re: problem with SRT start and end mismatch

Hi Bob, Are you able to share a snippet that replicates this? I can't seem to force it to happen in v15. Could it be the positioning of the //**BREAKPOINT** ? It reminds me of something I discovered in March last year, where an errant */ breaks Repeat/Until in a similar way - but only if it's inside...
by Dorian (MJT support)
Wed Sep 02, 2020 9:40 am
Forum: Technical / Scripting
Topic: Reading PDF file table and text
Replies: 1
Views: 3216

Re: Reading PDF file table and text

Yes, for this I use a combination of Macro Scheduler and PDFtoText . ( download link for xpdf command line tools ). You may have to learn more about PDFtoText usage in order to specifically extract tables, but this example should get you started with the Macro Scheduler part. //Set the file paths Le...
by Dorian (MJT support)
Tue Sep 01, 2020 1:33 pm
Forum: Beginners
Topic: Abs(x) Function
Replies: 2
Views: 3863

Re: Abs(x) Function

I think this is what you need :

Code: Select all

Let>x=-3
Let>y={Abs(%x%)}
MessageModal>y
OR :

Code: Select all

Let>y={Abs(-3)}
MessageModal>y
OR :

Code: Select all

MessageModal>{Abs(-3)}
by Dorian (MJT support)
Fri Aug 28, 2020 2:14 pm
Forum: General Discussion
Topic: Macro Scheduler Message Mouse Resize Failing
Replies: 7
Views: 18988

Re: Macro Scheduler Message Mouse Resize Failing

Thank you Dick, I'll bring this to Marcus' attention.
by Dorian (MJT support)
Wed Aug 26, 2020 12:33 pm
Forum: Beginners
Topic: OCRArea captures wrong text most of the time
Replies: 1
Views: 3383

Re: OCRArea captures wrong text most of the time

It's certainly not a bug we've had reported. I'm sure we'd have had a lot of reports if it was a bug. Something somewhere must be changing. Does your monitor setup change at all? Adding or removing a monitor will change screen coordinates. For example if you add a 2nd screen as an extension above, i...
by Dorian (MJT support)
Fri Aug 14, 2020 12:06 pm
Forum: Beginners
Topic: Install MS-15
Replies: 1
Views: 3345

Re: Install MS-15

You can have both if you want to. I uninstalled 14 and only have 15, but pointed 15 to my old 14 data folder so it remembered all my settings and I didn't need to import or recreate folders. (Tools >Settings >Change Macro/Group Settings Path) This should help : how do I fully uninstall and reinstall...
by Dorian (MJT support)
Fri Aug 14, 2020 10:38 am
Forum: Beginners
Topic: Capturing text of its corresponding targeted heading of a table
Replies: 1
Views: 3322

Re: Capturing text of its corresponding targeted heading of a table

I'm not sure ArrayFind would help you here, as the data returned by ChromeFindElements isn't what you're looking for until you've used ChromeGetElementData - so you have to loop through the ChromeFindElements array anyway. Also, according to the helpfile for ArrayFind -"Stops at the first matching i...
by Dorian (MJT support)
Thu Aug 13, 2020 2:22 pm
Forum: Technical / Scripting
Topic: Comma in eMail
Replies: 8
Views: 12026

Re: Comma in eMail

I'm not sure sure you even have to predefine the comma anymore, as %comma% is a system variable. I don't think it always was, and I can't find in the version history when it was added. but 2006 was a long time ago. But, this works : messagemodal>This%comma%that //or Let>var1=Hello Let>var2=Dave Mess...
by Dorian (MJT support)
Wed Aug 12, 2020 11:38 am
Forum: Technical / Scripting
Topic: Chrome Click Screen Issues
Replies: 1
Views: 3223

Re: Chrome Click Screen Issues

Just a few things to experiment with :

Try the Find Object Wizard on the Filename Field and Save Button.

Use MouseMoveRel on the Save Dialog.

Try the Image Recognition Wizard on the Save Button.
by Dorian (MJT support)
Mon Aug 10, 2020 10:00 am
Forum: Beginners
Topic: How to get tags with two specific attribute=value in IEGetTagsByAttrib
Replies: 6
Views: 6171

Re: How to get tags with two specific attribute=value in IEGetTagsByAttrib

The issue seemed to be the :443 and the amp; in the hyperlink. It was in the html but not in the rendered version displayed in the browser. Remove those, and it clicks. stringreplace>oldstring,:ReplaceThis,WithThat,newstring stringreplace>%matches_1%,:443,,matches_1 stringreplace>%matches_1%,amp;,,m...
cron
Sign up to our newsletter for free automation tips, tricks & discounts