Sign in to follow this  
Followers 0
lopolop

Setting Own Hotkeys

2 posts in this topic

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


Share this post


Link to post
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?

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