Search found 6994 matches

by Marcus Tettmar
Mon Aug 15, 2022 11:49 am
Forum: Technical / Scripting
Topic: HTTPrequest does not work for SOAP (XML)
Replies: 2
Views: 3259

Re: HTTPrequest does not work for SOAP (XML)

Hi, HTTP_CUSTOM_HEADERS needs the list CRLF delimited. So try this: Let>HTTP_CUSTOM_HEADERS=Content-Type: text/xml; charset=utf-8%CRLF%SOAPAction: That should mirror the headers you're sending via Curl, in case that is the issue. If that doesn't work I'd really need to be able to try it. If you're a...
by Marcus Tettmar
Tue Aug 09, 2022 11:24 am
Forum: Enhancement Suggestions
Topic: Support for sockets
Replies: 4
Views: 14127

Re: Support for sockets

Hi, VBScript and VB are very different. There's no built in support for sockets in VBScript. There used to be mswinsck.ocx which I'm guessing it *may* have been possible to use with VBScript, but I'm not sure if it even exists any more. Another option might be to use the socket library with Python: ...
by Marcus Tettmar
Tue Dec 28, 2021 1:02 pm
Forum: The Water Cooler
Topic: A little word game for the holidays
Replies: 1
Views: 9793

Re: A little word game for the holidays

Thanks JRL! So who has tried it and how did you do?
by Marcus Tettmar
Tue Dec 14, 2021 12:03 pm
Forum: General Discussion
Topic: 4K UHD
Replies: 8
Views: 17968

Re: 4K UHD

In Macro Scheduler 15.0.20 we have increased the zoom threshold at which we switch to the larger icons from 101% to 150%. It shouldn't look quite so 'comical' now at 125% zoom.
by Marcus Tettmar
Tue Dec 14, 2021 12:01 pm
Forum: Technical / Scripting
Topic: How to access chrome child window
Replies: 2
Views: 2542

Re: How to access chrome child window

Version 15.0.20 now has native ChromeGetWIndows and ChromeSwitchWindow functions.
by Marcus Tettmar
Mon Oct 04, 2021 2:05 pm
Forum: Technical / Scripting
Topic: How to control webpage popups
Replies: 2
Views: 2511

Re: How to control webpage popups

That pop up looks like regular html inside the page, so you would control it the same as any other html element.
by Marcus Tettmar
Mon Sep 27, 2021 12:44 pm
Forum: Technical / Scripting
Topic: Cursor for HTMLViewer isn't working
Replies: 8
Views: 3827

Re: Cursor for HTMLViewer isn't working

If you set the HTML of the HTMLViewer and put some text in it you'll notice the cursor changes to the hand pointer when you move over the text. It works with other visible objects too. So it seems you need a visible HTML element in the HTML for the cursor to change. I tried setting the css cursor pr...
by Marcus Tettmar
Tue Aug 31, 2021 2:39 pm
Forum: Technical / Scripting
Topic: Issues with ChromeDriver.exe used on multiple RDP's on Server
Replies: 7
Views: 4788

Re: Issues with ChromeDriver.exe used on multiple RDP's on Server

Hi, Probably just isn't possible. ChromeDriver runs a small http server. I guess only one instance of it can run per machine. And when it gets a response it fires up Chrome. So I can see why it won't play well in a server context where you might have multiple users. The first one will already be run...
by Marcus Tettmar
Mon Aug 16, 2021 2:55 pm
Forum: Enhancement Suggestions
Topic: WriteLn is great but...
Replies: 15
Views: 22121

Re: WriteLn is great but...

Anything that 'rewrites' a file actually deletes it and creates a new one. There's no such thing as rewriting a file. You either create a new one then delete the old one and rename the new one or you delete the old one and write out the new one with the same name. Whatever way we do this it would st...
by Marcus Tettmar
Thu Aug 12, 2021 9:52 pm
Forum: Enhancement Suggestions
Topic: WriteLn is great but...
Replies: 15
Views: 22121

Re: WriteLn is great but...

Just DeleteFile and then WriteLn with WLN_NOCRLF set (if you don't want it adding a line break at the end). Really this is all any WriteFile command would do anyway. So why not make a subroutine: SRT>WriteFile DeleteFile>WriteFile_Var_1 Let>WLN_NOCRLF=1 WriteLn>WriteFile_Var_1,wres,WriteFile_Var_2 L...
by Marcus Tettmar
Sun Jun 27, 2021 8:43 am
Forum: Technical / Scripting
Topic: how can a script receive http requests?
Replies: 2
Views: 3332

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

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

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

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