Search found 6994 matches

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

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

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

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

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

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

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

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

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

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

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

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
by Marcus Tettmar
Thu Nov 17, 2022 12:58 pm
Forum: Technical / Scripting
Topic: Problem while reading Json from a text file
Replies: 2
Views: 1806

Re: Problem while reading Json from a text file

You're getting this error because that is not valid JSON.

If you fix the JSON it will work. Here's the correct version:

Code: Select all

{
  "errorCode": "0",
  "isRunning": "False",
  "exeFileChecked": "C:\\Program Files (x86)program\\Program.exe"
}
by Marcus Tettmar
Thu Oct 06, 2022 2:20 pm
Forum: Technical / Scripting
Topic: Strange Error Message
Replies: 8
Views: 7585

Re: Strange Error Message

HelpContext is set to 5000. It is therefore trying to load a help topic from a non existent help file. Try changing that value to 0 or just remove the line altogether.
Sign up to our newsletter for free automation tips, tricks & discounts