Search found 6998 matches

by Marcus Tettmar
Sun Jun 27, 2021 8:43 am
Forum: Technical / Scripting
Topic: how can a script receive http requests?
Replies: 2
Views: 3432

Re: how can a script receive http requests?

Macro Scheduler Enterprise includes a plug-in called msNet which makes Macro Scheduler listen for HTTP requests, allowing scripts to be executed via http and data returned in the response ...
by Marcus Tettmar
Sun Jun 27, 2021 8:41 am
Forum: Technical / Scripting
Topic: Gettextinit freezes debugger
Replies: 20
Views: 22896

Re: Gettextinit freezes debugger

To read a text file just use ReadFile ...
by Marcus Tettmar
Fri May 28, 2021 9:18 am
Forum: Technical / Scripting
Topic: MultiDIM Array Quirks
Replies: 7
Views: 5382

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

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: 1
Views: 2641

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

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

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

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

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

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

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

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: 16
Views: 11129

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: 16
Views: 11129

Re: Issue when pasting into MS Editor

Odd. Using Chrome and copying code from the manual to the editor I get no issues.
cron
Sign up to our newsletter for free automation tips, tricks & discounts