Search found 6953 matches

by Marcus Tettmar
Fri May 28, 2021 9:18 am
Forum: Technical / Scripting
Topic: MultiDIM Array Quirks
Replies: 7
Views: 286

Re: MultiDIM Array Quirks

ArrayDim is designed for single dimension arrays only.
by Marcus Tettmar
Tue May 25, 2021 8:09 am
Forum: Technical / Scripting
Topic: Registry value decimal/HEX
Replies: 2
Views: 126

Re: Registry value decimal/HEX

RegistryWriteKey will write integers or strings. Since the values you are supplying are integers it should write them as integers. Macro Scheduler does not write as hex.

Maybe I'm not understanding what your issue is.
by Marcus Tettmar
Sat May 15, 2021 4:06 pm
Forum: Technical / Scripting
Topic: Cannot get the image recognition function
Replies: 2
Views: 125

Re: Cannot get the image recognition function

When running in VMs and remote environments more attention needs to be paid to ensuring consistency between design time image capture and run time. Just changing the dimension of the window can cause the remote/virtual screen resolution to change enough that the image capture fails. The host OS/prof...
by Marcus Tettmar
Fri May 14, 2021 12:34 pm
Forum: Technical / Scripting
Topic: Compile includes aren't working with dynamic path
Replies: 4
Views: 225

Re: Compile includes aren't working with dynamic path

Note:

https://www.mjtnet.com/manuals/v15/HTML/create-exe.html

Compile Includes: "Scripts referenced by Include> statements will be embedded and compiled into the Exe. Will not work where Include> references scripts via variables other than SCRIPT_DIR."
by Marcus Tettmar
Mon May 03, 2021 9:40 am
Forum: Enhancement Suggestions
Topic: VirtualFile>FileName,String
Replies: 3
Views: 233

Re: VirtualFile>FileName,String

Unfortunately the INI file functions use Windows APIs which rely on ... files. Why not just save to a TEMP file. If we were to implement this that is probably exactly what we'd do behind the scenes. It would make much more sense than completely reinvent the Windows INI file handling API.
by Marcus Tettmar
Mon May 03, 2021 9:37 am
Forum: Technical / Scripting
Topic: How to word-wrap a long line - Solved
Replies: 13
Views: 584

Re: How to word-wrap a long line

I am having a hard time following this. Wordwrap does not modify the text. It just describes how that text should fit in the window. I think you'll find this is the same for all editors. E.g. if you were using a text editor like Notepad and you enabled wordwrap it would mean you would see all the te...
by Marcus Tettmar
Tue Apr 27, 2021 3:47 pm
Forum: Technical / Scripting
Topic: chromedriver.exe once and for all
Replies: 29
Views: 1385

Re: chromedriver.exe once and for all

I didn't actually do anything aside from note that initially chrome and chromedriver were not at the same version level. Once that was sorted the scripts just ran without modification. It isn't normally necessary to run chromedriver.exe first as Macro Scheduler will start it anyway. I've not seen th...
by Marcus Tettmar
Tue Apr 27, 2021 7:25 am
Forum: Technical / Scripting
Topic: FTP not working for me
Replies: 4
Views: 298

Re: FTP not working for me

FTPGetDirList needs a LOCAL file and a remote folder. And you don't need the protocol specifier, which could be the issue here: FTPGetDirList>g02.one,g02one,gUmXYzzMn4333,21,c:\temp\folder.txt,/html,*,D Also usually ftp over tls uses port 990 not port 21 but that really depends how your server is se...
by Marcus Tettmar
Mon Apr 26, 2021 11:38 am
Forum: Technical / Scripting
Topic: chromedriver.exe once and for all
Replies: 29
Views: 1385

Re: chromedriver.exe once and for all

Ok. PM me login details.
by Marcus Tettmar
Tue Apr 20, 2021 11:47 am
Forum: Enhancement Suggestions
Topic: Right click on command - "Open Online Manual"
Replies: 4
Views: 353

Re: Right click on command - "Open Online Manual"

F1 has always opened up the manual on the command that the cursor is on. Been like that for must be nearly 20 years ;-)
by Marcus Tettmar
Tue Apr 20, 2021 11:45 am
Forum: Technical / Scripting
Topic: Issue when pasting into MS Editor
Replies: 15
Views: 1238

Re: Issue when pasting into MS Editor

I can't really imagine why regional settings would affect paste.
by Marcus Tettmar
Tue Apr 20, 2021 6:49 am
Forum: Technical / Scripting
Topic: Issue when pasting into MS Editor
Replies: 15
Views: 1238

Re: Issue when pasting into MS Editor

Odd. Using Chrome and copying code from the manual to the editor I get no issues.
by Marcus Tettmar
Mon Apr 19, 2021 10:11 pm
Forum: Beginners
Topic: Outlook Processing new messages
Replies: 4
Views: 576

Re: Outlook Processing new messages

You probably also need to set the PORT number. Maybe this will help:
https://help.mjtnet.com/article/4-sendi ... -gmail-ssl

However, you should consult your email provider's docs to find out what settings are required.
by Marcus Tettmar
Mon Apr 19, 2021 10:08 pm
Forum: Technical / Scripting
Topic: Issue when pasting into MS Editor
Replies: 15
Views: 1238

Re: Issue when pasting into MS Editor

I've not been able to replicate this. Does this happen every time? Only when copying from a web page?
Sign up to our newsletter for free automation tips, tricks & discounts