Detection if input is going to master/slave/which slave?

29 views
Skip to first unread message

Jolly

unread,
Feb 28, 2023, 3:39:55 PMFeb 28
to input-d...@googlegroups.com
is there a way for me to programmatically detect this from another program, script, api call, etc? Autohotkey, or something similar?

My Goal I use a streamdeck, which is very handy.
I would love for this stream deck to be able to tell if I"m using the host or the guest, or which guest So that way I could run a script accordingly.

(like I have a script that will automatically find my slack window, and launch it if it's not already running, but if I can detect which screen I'm on, I can then have it run in my guest if I'm in the guest or host if I'm on the host)

-Jolly

Jolly

unread,
Mar 17, 2023, 9:04:56 PMMar 17
to input-d...@googlegroups.com
I see that ID macro's let us define a macro's target, but I'm Trying to figure out a way to access that same sort of information from outside of input director itself, IE an auto hotkey script or a batch file or something.

Any ideas?
-Jolly
"
  • Unassigned - The macro is disabled and has no target.
  • System with Input Focus - Whichever system has the (mouse/keyboard) input will be the one that the macro is played to.
  • Director - No matter which system has the input, the macro will be played on the Director system.
  • Client with Input Focus - If the system being controlled is a client system then the macro will be played on it. If the Director system has the input then the macro isn't played.
  • All Client - The macro is played to all available client systems
  • All Systems - The macro is played to all available client systems and the Director system
  • All but System w/ Input Focus - The macro is played to all available client and the Director except for the system that currently has the input focus
  • System: clientname - The macro is bound to a particular client. No matter which system has the input, the macro is played to that specific client.
"

Jolly

unread,
Mar 22, 2023, 2:00:44 PMMar 22
to input-d...@googlegroups.com
Or is it possible that ID's macro's can output the name of the device it's sending the input to?

Shane

unread,
Mar 23, 2023, 6:35:55 AMMar 23
to Input Director
Hi,

Not at this stage. A few years ago I did raise the idea of providing hooks that could be used to trigger other programs / scripts when particular events occurred (such as transitioning control), but didn't get any real interest so never implemented it.

Regs,

Shane.
Reply all
Reply to author
Forward
0 new messages