Search found 1352 matches

by Dorian (MJT support)
Wed Apr 24, 2024 6:09 pm
Forum: Technical / Scripting
Topic: How to Compile Includes from the command line?
Replies: 7
Views: 329

Re: How to Compile Includes from the command line?

Also, apologies if I led you up the garden path. :)
by Dorian (MJT support)
Wed Apr 24, 2024 6:08 pm
Forum: Technical / Scripting
Topic: How to Compile Includes from the command line?
Replies: 7
Views: 329

Re: How to Compile Includes from the command line?

I managed to find one old support thread from 2013 which mentions this : Question: If I create an EXE from the GUI Includes are working fine. If I use the command line includes fail with an error at runtime. Is there a problem or missing docs to force includes to work as expected from the command li...
by Dorian (MJT support)
Tue Apr 23, 2024 9:47 pm
Forum: Technical / Scripting
Topic: How to Compile Includes from the command line?
Replies: 7
Views: 329

Re: How to Compile Includes from the command line?

In all honesty I wasn't too sure, but yes, it certainly seems to. If I compile an exe from within the editor and INCLUDES=1 is in line 1, the "compile includes" checkbox will be automatically selected. If I remove INCLUDES=1, it won't be. I can also control whether it will be by pasting line 1 into ...
by Dorian (MJT support)
Fri Apr 19, 2024 1:23 pm
Forum: Technical / Scripting
Topic: How to Compile Includes from the command line?
Replies: 7
Views: 329

Re: How to Compile Includes from the command line?

I've been testing possibilities quite extensively and it appears the sole cause is the path to msrt.exe C:\Program Files (x86)\Macro Scheduler 15\msrt.exe As opposed to : C:\Program Files (x86)\Macro Scheduler 15 Pro \msrt.exe I was able to successfully compile a script containing an include both wi...
by Dorian (MJT support)
Fri Apr 19, 2024 12:50 pm
Forum: Beginners
Topic: Paste into website page
Replies: 2
Views: 336

Re: Paste into website page

Pasting and sending text are different. Websites can disable copy (CTRL-C) and paste (CTRL-V) if they wish. I'm guessing you're using mouse clicks to click in a field, then sending the text, e.g. "send>test" ? Of course the first thing to check is the timing, so maybe add a Wait>0.5 after your mouse...
by Dorian (MJT support)
Fri Mar 08, 2024 1:57 pm
Forum: Technical / Scripting
Topic: GetDialogProperty not working for HTML
Replies: 2
Views: 513

Re: GetDialogProperty not working for HTML

Passed to dev, confirmed as bug, fixed in dev.
by Dorian (MJT support)
Thu Mar 07, 2024 9:55 am
Forum: Technical / Scripting
Topic: Login to webiste send me screenshot in gmail
Replies: 3
Views: 464

Re: Login to webiste send me screenshot in gmail

I'm wondering if you read through the entire thread I linked to. If you click the link to creating an app password in that thread it contains an explanation and instructions for app passwords. There wasn't instructions to add 2FA as that's a Google thing and not a Macro Scheduler thing, but I have j...
by Dorian (MJT support)
Thu Mar 07, 2024 9:48 am
Forum: Technical / Scripting
Topic: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"
Replies: 6
Views: 16892

Re: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"

Phil Pendlebury wrote:
Mon May 29, 2023 11:41 am
OK needed to enable 2FA and now it works thank you.
Just adding this for the sake of completion.

How to enable 2FA
by Dorian (MJT support)
Wed Mar 06, 2024 8:37 pm
Forum: Technical / Scripting
Topic: CompareBitmap or WaitRectChanged
Replies: 1
Views: 585

Re: CompareBitmap or WaitRectChanged

There isn't, specifically with those commands, but you could use a combination of GetRectCheckSum and WaitRectChanged. My approach would probably be to split the target area into a grid of squares or rectangles, and perform an initial scan with GetRectCheckSum. Then use WaitRectChanged on the target...
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: 464

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: 27132

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: 1134

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...
Sign up to our newsletter for free automation tips, tricks & discounts