Jump to content
Sign in to follow this  
z999

special hotkey

Recommended Posts

z999

I want to use a special programmable key on my keyboard to open a program that will shut down certain processes and then open a game. but I want that the program will have a GUI so I can send it to my friends and change it without having to open scite. my question is can I create a hotkey for the programmable key?

Edited by z999

Share this post


Link to post
Share on other sites
z999

I want it to close the ICQ, MSN messenger and some monitoring program and then open Need For Speed: Carbon.

Share this post


Link to post
Share on other sites
Xenobiologist

Hi,

an easy would be :

HotKeySet(IniRead("hotkey.ini", "start", "start", "no"), "_start")

While 1
    Sleep(100)
WEnd


Func _start()
    MsgBox(0, "", "Huhu")
EndFunc   ;==>_start

hotkey.ini:

[start]
start={F5}

All you have to do is tell your friends how to defne hotkeys in Autoit.

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
z999

I didn't mean the F keys! (lol) I meant the special Internet keys that you can program to open programs and stuff...

I already found something... there's one application that will be opened with the key and uses .ini file to read the processes and another one to set the processes to the .ini file

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.