Here's what I'm using:
#ifWinActive Star Wars: The Old Republic { $+Rbutton:: send +' return $+LButton:: Send +] return $!Rbutton:: send +[ return $!Lbutton:: send +; return }
#ifWinActive Star Wars: The Old Republic { $+Rbutton:: send +' return $+LButton:: Send +] return $!Rbutton:: send +[ return $!Lbutton:: send +; return }
SetTitleMatchMode,2 #ifWinActive Star Wars ; Your code here
The title changed, according to AutoIt3 Window Spy it is, Star Wars™: The Old Republic™
However, simply updating the title text in my script did NOT work.
What I ended up doing...SetTitleMatchMode,2 #ifWinActive Star Wars ; Your code here
And that seemed to do the trick.
The title changed, according to AutoIt3 Window Spy it is, Star Wars™: The Old Republic™
However, simply updating the title text in my script did NOT work.
What I ended up doing...SetTitleMatchMode,2 #ifWinActive Star Wars ; Your code here
And that seemed to do the trick.
SetTitleMatchMode,2 #ifWinActive Star Wars ; Your code here ^F4::Send 1
If you are going to use the send command, you must also insert return at the end like this:Brand new to AHK, so just trying to make a simple hotkey for SWTOR and can't get it to work. My script worked in Notepad, but not in SWTOR. Based on this thread, I changed it to
SetTitleMatchMode,2 #ifWinActive Star Wars ; Your code here ^F4::Send 1
Shouldn't that press the 1 key when I press ctrl F4 in SWTOR?
Thanks in advance for any help, Eric
SetTitleMatchMode,2 #ifWinActive Star Wars ; Your code here ^F4:: Send 1 return
SetTitleMatchMode,2 #ifWinActive Star Wars ; Your code here ^F4::1
I::O