Jump to content

Hold down the home key


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...