NotEnoughHotkeys icon indicating copy to clipboard operation
NotEnoughHotkeys copied to clipboard

[idea] Attach to process

Open PascalRL opened this issue 4 years ago • 4 comments

Add a function to attach the macro to a specific process, so it can run in the background. Another thing that would be really cool to have is the ability to loop the macro.

PascalRL avatar Nov 13 '21 07:11 PascalRL

@PascalRL By "attaching the macro to a specific process", do you mean an option that only triggers the Macro when a certain process is in foreground?

VollRahm avatar Nov 13 '21 08:11 VollRahm

@VollRahm No, it's meant so the macro can run in the background attached to a single process/program. The macro continues to run in notepad.exe (for example) regardless if you're focused/using a different program for example chrome, so the macro will not send input to "chrome" (the window you're using/focused on) instead it will send input to the selected process "notepad" aka the process that is running in the background. I hope this clarifies it

PascalRL avatar Nov 13 '21 11:11 PascalRL

@PascalRL Yes, that is possible by using SendMessage, I will work on implementing it the next time I continue development.

VollRahm avatar Nov 13 '21 11:11 VollRahm

Awesome! I really love the UI btw, will be waiting for the next update!

PascalRL avatar Nov 13 '21 11:11 PascalRL