Jump to content

Recommended Posts

Posted

This is a code that came from autohotkey. I would like to ask the experts here to please help me convert this to autoit.

 

$x::
while GetKeyState("x", "P")
Send {x}{8}
sleep 1
}
return


- Thanks in advance.

Posted (edited)

You should be careful with words like 'spam'.  It's like yelling bomb on a flight.

Anyways, look into while and send and _ispressed and sleep in the helpfile.

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Posted
  On 11/14/2015 at 2:02 AM, JohnOne said:

GetKeyState == _IsPressed

Send == Send

Sleep == Sleep

Thanks, I got this logic. What I did is when I press "V" I can send x

Could you give me again an idea that when I press x I can still send x? If it's not allowed please let me know. TY

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
  • Recently Browsing   0 members

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