swagfag wrote:Why are you so focused on #IfWinActive and why are you using SetTitleMatchMode, 3 if presumably the title of your game window changes constantly(I don't know what Snowpine, MrGold, @2645629, 89234752897 mean, but I figure those aren't constant values)?
All #IfWinActive is going to do is enable your defined hotkey if the window is currently in focus. From what I gathered reading your initial post, you'd like to send shit to a background/minimized game window. Use ControlSend instead. You can keep the #IfWinActive directive, but do so only if it has a purpose. If you're just adding stuff on a trial-error basis, you wont get anywhere in a reasonable amount of time.
Snowpine is the current server I'm logged, the rest is more likely the location. I used already SetTitleMatchMode, 3 and isn't working, is only work settled on 2 figure it changes that's why.
I tried with ControlSend as well, the same issue, if the window is minimized isn't "spamming" in game.
I used something like:
#ifwinactive Revelation Online
SetTitleMatchMode,2
return
loop {
ControlSend, , MY TEXT, Revelation Online
Sleep, 100
}