computergroove Posted November 2, 2014 Share Posted November 2, 2014 (edited) How do I hold down the home key then send left click and then release the home key? Send("{{HOME} DOWN}") Sleep(50) MouseClick("",50,50) Sleep(50) Send("{{HOME} UP}") This just sends "{ DOWN}{ UP" on the screen *EDIT- This works for my purposes however I would like to know how to hold down a {HOME] or {PGUP} or {PGDN} etc key Local $X = "{HOME}" MouseClick("".50,50) Sleep(50) Send($X) Sleep(50) MouseClick("",50,50) Edited November 2, 2014 by computergroove Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
Exit Posted November 2, 2014 Share Posted November 2, 2014 Send("{home down}") Sleep(50) MouseClick("", 50, 50) Sleep(50) Send("{home up}") App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now