I have a G15-keyboard and since I play BF2, I have a program for the G15: 'BF2 LCD.exe'.
It displays how many kills/deaths and some more stuff.
The problem is: sometimes it freezes. Now I can do Alt+Tab, but when I shut down and open it again and come back ingame, it lags for some time. That can be really annoying and I was wondering if someone could make a little script for me that, for example when I press the '-' key, shuts down the program and when I press the '+' key it opens it :)
For I have no experience with AutoHotkey, I didn't manage to make one myself and didn't find an example, too.
So:
BF2 LCD.exe
open with the '+' key (on NumPad),
close with the '-' key (on NumPad).
AutoHotkey file or exe or whatever, I only need it to work :D
I hope you can help me.
You shouldn't ask for people to do things for you. Instead you should rather attempt to learn how to use [url="http://www.autohotkey.com/"]AutoHotKey[/url] or [url="http://www.autoitscript.com/autoit3/index.shtml"]AutoIT[/url]. This way, you'll also get exactly what you need.
Remember, if you want something done; do it yourself.
Seriously, that's the best advice you can get.
You are right! Thanks for the links and it feels much better now I made it myself! :D
Here is what I got right now:
;Alt+= to open, Alt+- to close.
!=::RUN %A_ProgramFiles%\Logitech\BF2G15Mod\BF2 LCD.exe
return
!-::process, close, BF2 LCD.exe
return
[QUOTE=iAwesome;21500600]You are right! Thanks for the links and it feels much better now I made it myself! :D
Here is what I got right now:
;Alt+= to open, Alt+- to close.
!=::RUN %A_ProgramFiles%\Logitech\BF2G15Mod\BF2 LCD.exe
return
!-::process, close, BF2 LCD.exe
return[/QUOTE]
Nice, I got into programming the same way. And I find it more useful to make things myself. I think the best part of making something yourself, is that you have full knowledge of how it works. And hence can support/maintain it yourself.
not to mention you get that real good feeling of accomplishment.
AHK was my first language, besides good ol' NXT-G.This thread brings back some [b]good[/b] memories. :love:
[editline]10:01PM[/editline]
And use code tags. It helps.
Sorry, you need to Log In to post a reply to this thread.