Search found 6998 matches

by Marcus Tettmar
Fri Jul 28, 2023 6:28 am
Forum: Technical / Scripting
Topic: HTTPRequest with DELETE method having error 400: Bad Request
Replies: 3
Views: 9679

Re: HTTPRequest with DELETE method having error 400: Bad Request

Delete requests with a request body are non standard. Most clients won't support that as it's not in the spec. Macro Scheduler does not support it. Ask your developer if they can make a version of the endpoint which has query parameters instead.
by Marcus Tettmar
Thu Jul 27, 2023 4:26 pm
Forum: Technical / Scripting
Topic: HTTPRequest with DELETE method having error 400: Bad Request
Replies: 3
Views: 9679

Re: HTTPRequest with DELETE method having error 400: Bad Request

Rudolf wrote:
Thu Jul 27, 2023 6:54 am
Hi,
UPDATE: My engineer says the request body is not sent to the server
There is no request body with a DELETE. Please clarify.
by Marcus Tettmar
Wed Jul 05, 2023 2:56 pm
Forum: General Discussion
Topic: Custom "runicon.ico"
Replies: 9
Views: 20104

Re: Custom "runicon.ico"

You can set the main icon when you compile to an executable. You can't change the actual Macro Scheduler one - when the script is running under Macro Scheduler it's only ever going to show the Macro Scheduler one. But if compiling you have the option of compiling in a custom icon. But no, you can't ...
by Marcus Tettmar
Wed Jun 14, 2023 8:17 am
Forum: Enhancement Suggestions
Topic: [added 15.0.23] Run command, capture STDOUT
Replies: 29
Views: 73556

Re: [added 15.0.23] Run command, capture STDOUT

Nothing is shared. There shouldn't be a clash.
by Marcus Tettmar
Wed Jun 07, 2023 5:04 pm
Forum: Enhancement Suggestions
Topic: [added 15.0.23] Run command, capture STDOUT
Replies: 29
Views: 73556

Re: [added 15.0.23] Run command, capture STDOUT

In any case, if you're not admin, and you start something as admin, then you won't have permission to interact with or access that process, so you won't be able to read its STDOUT. Makes no sense. Hence you can't use RP_ADMIN here.
by Marcus Tettmar
Wed Jun 07, 2023 4:20 pm
Forum: Enhancement Suggestions
Topic: [added 15.0.23] Run command, capture STDOUT
Replies: 29
Views: 73556

Re: [added 15.0.23] Run command, capture STDOUT

Can someone confirm that this is working with RP_ADMIN=1 ? It cannot work with RP_ADMIN=1 as it has to use a completely different mechanism. (as in, while you can set RP_ADMIN to 1 it will have no effect when using RP_CAPTURESTDOUT). There are likely lots of other caveats we have yet to discover an...
by Marcus Tettmar
Sun May 28, 2023 12:09 pm
Forum: Technical / Scripting
Topic: VB Script mailto with body
Replies: 3
Views: 6743

Re: VB Script mailto with body

I think this depends on the email client. You can add &body= parameter but I am not sure how many mail clients support it.
by Marcus Tettmar
Fri May 26, 2023 3:54 pm
Forum: Technical / Scripting
Topic: ALT+TAB show dialog and executable even if compiled as hidden
Replies: 9
Views: 12774

Re: ALT+TAB show dialog and executable even if compiled as hidden

It's not a problem but a impression sinker. I'm developing a bundle of apps to this one company. I call them help apps and now the users starts to get this ALT + TAB window manager polluted by a non-window entry per compiled app. It's a nag for them and I feel their pain. Maybe we need to start a b...
by Marcus Tettmar
Fri May 26, 2023 7:06 am
Forum: Technical / Scripting
Topic: ALT+TAB show dialog and executable even if compiled as hidden
Replies: 9
Views: 12774

Re: ALT+TAB show dialog and executable even if compiled as hidden

I'm not sure there's anything we can do here as this is what Windows does. But once minimised to the tray an app should disappear from that alt tab list and if not minimised then it has to follow the rules of windows. So just make sure it's minimised. And if you can't then I'm sorry you'll have to p...
by Marcus Tettmar
Tue Feb 21, 2023 12:21 pm
Forum: Technical / Scripting
Topic: Text File Locking with MS 15? (Resolved!!)
Replies: 5
Views: 2764

Re: Text File Locking with MS 15?

This can't possibly have anything to do with v14 vs v15. There were no changes to WriteLn between v14 and v15. This has to be a coincidence and something else is causing it.
by Marcus Tettmar
Mon Feb 13, 2023 2:54 pm
Forum: Technical / Scripting
Topic: SendMessageA or PostMessageA Mouse Click
Replies: 3
Views: 2060

Re: SendMessageA or PostMessageA Mouse Click

I think you want:

Code: Select all

Let>lparam={(%y% * 65536) OR (%x% AND 65535)}
by Marcus Tettmar
Thu Feb 09, 2023 6:39 pm
Forum: Technical / Scripting
Topic: Connect to MySQL with SSH Tunnel
Replies: 1
Views: 1601

Re: Connect to MySQL with SSH Tunnel

Yes, as you would with any other database client. Create your SSH tunnel. Usually you would map 127.0.0.1 through to your MySQL server. Then in Macro Scheduler you simply specify 127.0.0.1 as the host.
by Marcus Tettmar
Tue Jan 17, 2023 1:37 pm
Forum: Technical / Scripting
Topic: To print a window on a dialog image
Replies: 5
Views: 2640

Re: To print a window on a dialog image

It's not a limit of "macro schedulers". Whatever you use, whether Macro Scheduler or C#, you will need to first focus the window to make it fully visible before you can get a screenshot of it. Good luck.
Sign up to our newsletter for free automation tips, tricks & discounts