Sign in to follow this  
Followers 0
z999

special hotkey

6 posts in this topic

#1 ·  Posted (edited)

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



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

#5 ·  Posted (edited)

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

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  
Followers 0