Jump to content

special hotkey


z999
 Share

Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...