Jump to content

Setting Own Hotkeys


lopolop
 Share

Recommended Posts

I have Hotkeys set up for my autoit program... this program allready has a ini file for easy customization of the script but i was woundering how could i set up a HotKey in a ini... meaning in stead of having then to read that + meand shift and ^ means control and making things confusing how can i set it up so when it reads Control(not case sensirive) it can turn that into ^ for the Variable...

or if there is a easier or different way that would be great too....

Link to comment
Share on other sites

I have Hotkeys set up for my autoit program... this program allready has a ini file for easy customization of the script but i was woundering how could i set up a HotKey in a ini... meaning in stead of having then to read that + meand shift and ^ means control and making things confusing how can i set it up so when it reads Control(not case sensirive) it can turn that into ^ for the Variable...

or if there is a easier or different way that would be great too....

INI file:

[Hotkeys]
one={conrtol}{shift}z

$one = iniread("file.ini","Hotkeys","one","")
$one = stringreplace($one,"{shift}","+")
...

get the idea?

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...