Jump to content
Sign in to follow this  
iHonda

Keyboard control of a GUI

Recommended Posts

iHonda

well with windows you can use alt + some key to do basically anything you can do with a mouse for example in a folder if you press Alt + T it opens the tool menu.. well how can this be done in autoit? i searched the help file and have no idea what to search for in the forum so i searched for Alt Key and the results were.. well there were a lot of them and i didnt see much that could help me

peace,

Z...er iHonda


A great place to start Autoit 1-2-3

Share this post


Link to post
Share on other sites
FireFox

@iHonda

from help file :

'!'

This tells AutoIt to send an ALT keystroke, therefore Send("This is text!a") would send the keys "This is text" and then press "ALT+a".

Send("!t")

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
iHonda

not what i meant.. i mean say a user oh idk broke their mouse yet they still wanna be able to press a button on my gui... traditionaly you could press Alt+F or alt+anykey to open a menu or press a key i want to know how i can make it so my script will allow a user to do this i dont need the script to press alt+f i need it to let my user use alt+f to do something to the gui and dont say hotkey or is pressed..


A great place to start Autoit 1-2-3

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  

×