Jump to content

Is there a ways to add shortcut keys automatically to every buttons first or second letter of a desktop application.for example I had an application with two buttons login and close which has no shortcut keys associated with it, so I want that alt+l be for the login and alt+c for the close to added automatically.

Link to comment
https://linustechtips.com/topic/1411184-automatically-adding-shortcut-keys/
Share on other sites

Link to post
Share on other sites

You could try making shortcuts that focus the window then click on relative coordinates within that window to push the buttons. Alternatively if it accepts tab-navigation you could use that, and then your mouse won't be moved as a side effect.

¯\_(ツ)_/¯

 

 

Desktop:

Intel Core i7-11700K | Noctua NH-D15S chromax.black | ASUS ROG Strix Z590-E Gaming WiFi  | 32 GB G.SKILL TridentZ 3200 MHz | ASUS TUF Gaming RTX 3080 | 1TB Samsung 980 Pro M.2 PCIe 4.0 SSD | 2TB WD Blue M.2 SATA SSD | Seasonic Focus GX-850 Fractal Design Meshify C Windows 10 Pro

 

Laptop:

HP Omen 15 | AMD Ryzen 7 5800H | 16 GB 3200 MHz | Nvidia RTX 3060 | 1 TB WD Black PCIe 3.0 SSD | 512 GB Micron PCIe 3.0 SSD | Windows 11

Link to post
Share on other sites

19 minutes ago, BobVonBob said:

You could try making shortcuts that focus the window then click on relative coordinates within that window to push the buttons. Alternatively if it accepts tab-navigation you could use that, and then your mouse won't be moved as a side effect.

Thanks alot.but I already tried this with ahk. I just wanted if there is a simple/automatic version of this instead of hard coding it manually.

Link to post
Share on other sites

4 hours ago, Yasin7070 said:

Thanks alot.but I already tried this with ahk. I just wanted if there is a simple/automatic version of this instead of hard coding it manually.

If you mean macro recording software that can export to AHK script, try Pulovers Macro Creator. It's been awhile, so I don't remember whether it supports mouse macros or not.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

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

×