communicating between scripts with different user levels

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
loosenut
Posts: 1
Joined: 29 Jan 2018, 02:20

communicating between scripts with different user levels

Post by loosenut » 15 Oct 2021, 10:48

Hi. I have a script that I start with Task Scheduler, set to run with highest privileges. And I have another script that, when run (manually launched, fwiw), sends a message with PostMessage that is supposed to be picked up by the first script. But it doesn't work - it never receives the message.

I've tested it by running the first script normally (double-clicking) and everything works fine. So I'm guessing that the problem is that the scripts are run at different "user levels"/with different privileges. Is there a way to get them to talk to each other?

The reason I'm running the first script from Task Scheduler, btw, is because that's the only way I can get it to work with WinLIRC.

User avatar
mikeyww
Posts: 26936
Joined: 09 Sep 2014, 18:38

Re: communicating between scripts with different user levels

Post by mikeyww » 15 Oct 2021, 11:04

If you run both scripts with the same privileges, you should be OK.

Post Reply

Return to “Ask for Help (v1)”