script working while I do something else

Ask gaming related questions
wone7788
Posts: 5
Joined: 08 Apr 2017, 11:29

script working while I do something else

19 Jun 2020, 11:52

yo guys, I just created a script that works, but I'd like to make it work in one specific window and be able to do something else.
this is it:
Spoiler
Last edited by BoBo on 19 Jun 2020, 12:01, edited 1 time in total.
Reason: Moved to Gaming section. Added [code[/code]-tags.
johans2
Posts: 18
Joined: 06 Jun 2020, 23:15

Re: script working while I do something else

22 Jun 2020, 11:21

Use https://www.autohotkey.com/docs/commands/ControlSend.htm

Code: Select all

SetTitleMatchMode, 2
ControlSend,, keysToBeSent{Enter}, ahk_exe notepad.exe  ; Send directly to the window.
wone7788
Posts: 5
Joined: 08 Apr 2017, 11:29

Re: script working while I do something else

02 Jul 2020, 11:26

@johans2
I tried using this, but for some reason ControlSend won't let me press keys down which is cruicial for me

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 25 guests