Search found 6996 matches

by Marcus Tettmar
Wed Jul 05, 2023 2:56 pm
Forum: General Discussion
Topic: Custom "runicon.ico"
Replies: 9
Views: 19953

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

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

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

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

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

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

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

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

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

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

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.
by Marcus Tettmar
Mon Jan 16, 2023 11:54 am
Forum: Technical / Scripting
Topic: To print a window on a dialog image
Replies: 5
Views: 2608

Re: To print a window on a dialog image

The PrintWindow function is only going to work if the application in question responds to the WM_PRINT message and does something useful with it. Do you know if it does that? My bet is it doesn't. Most are unlikely to care. Most likely to be able to print a screenshot version of itself it also needs...
by Marcus Tettmar
Wed Nov 23, 2022 4:43 pm
Forum: Technical / Scripting
Topic: Reading Json response from clipboard
Replies: 1
Views: 1960

Re: Reading Json response from clipboard

Hi,

Remove the % characters around the clipboard variable in the JSONParse line. You can also remove Let and the format value.

Code: Select all

GetClipBoard>v_clipboardData
JSONParse>v_clipboardData,$.errorCode,v_jsonErrorCode
Sign up to our newsletter for free automation tips, tricks & discounts