Hey People, I have a problem with this code:
''
#ifwinactive League of Legends (TM) Client
*Enter::return
*NumpadEnter::return
''
It's Working only once. (for 1 game)
Every time I need to re-create a file and paste the script and save it up as a new file for it to work.
I would like to have the script work, game after game, without the need to re-create the whole file, time and time again.
The Idea is that :
Whenever the ENTER key is pressed in-game. It automatically presses it again. (this effectively disable's the user from using the chat-box)
Can any of you provide an improved or different code?
Thank you very much!
League of Legends Script, Works Just Once Topic is solved
Re: League of Legends Script, Works Just Once Topic is solved
#ifwinactive League of Legends (TM) Client
*Enter::return
return
*NumpadEnter::return
return
use this
*Enter::return
return
*NumpadEnter::return
return
use this
Re: League of Legends Script, Works Just Once
Code: Select all
#SingleInstance force
WinGet, id, ID, League of Legends (TM) Client
#ifwinactive ahk_id %id%
*Enter::return
*NumpadEnter::return
Hi
Re: League of Legends Script, Works Just Once
Result:StundeR wrote:Code: Select all
#SingleInstance force WinGet, id, ID, League of Legends (TM) Client #ifwinactive ahk_id %id% *Enter::return *NumpadEnter::return
https://snag.gy/Ks6YFI.jpg
Thanks for trying tho'
Re: League of Legends Script, Works Just Once
I found that the original code also worked IF the file is set to Read-Only.enes3626 wrote:#ifwinactive League of Legends (TM) Client
*Enter::return
return
*NumpadEnter::return
return
use this
Thank you for your time and effort!
Who is online
Users browsing this forum: No registered users and 50 guests