Jump to content
Sign in to follow this  
SlimShady

A scrap not a script

Recommended Posts

SlimShady

I started using AutoIt Guis. It works nice at the moment.

One thing is missing: CTRL+A for selecting everything in a an editbox.

So I created a simple function that does this.

Put this anywhere in your script.

HotKeySet("^a", "SelectAll"); CTRL+A
Func SelectAll()
Send("^{HOME}")
Send("^+{END}")
EndFunc

Share this post


Link to post
Share on other sites
Valik

I think that LPARAM of -1 selects all text...

Share this post


Link to post
Share on other sites
SlimShady

That works too.

Thank you.

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  

×