Jump to content

Left MouseClick as Hotkey


LiberrY
 Share

Recommended Posts

Use _IsPressed() to see when mouse button is pressed.

can you pls say it a bit more excact? im not very good in autoit programming, i just started a bit. i want to add it into a hotkey script which automatically presses 5 times left mosue button if a key is pressed. and this key should be left mosue button too.
Link to comment
Share on other sites

#include <Misc.au3>

the key codes can be found in tne Misc.au3 include

anyway it should be code "02" but i'm not sure

Some Projects:[list][*]ZIP UDF using no external files[*]iPod Music Transfer [*]iTunes UDF - fully integrate iTunes with au3[*]iTunes info (taskbar player hover)[*]Instant Run - run scripts without saving them before :)[*]Get Tube - YouTube Downloader[*]Lyric Finder 2 - Find Lyrics to any of your song[*]DeskBox - A Desktop Extension Tool[/list]indifference will ruin the world, but in the end... WHO CARES :P---------------http://torels.altervista.org

Link to comment
Share on other sites

If _IsPressed(button hex value) Then
function_Name()
EndIf

Interpreters have great power!Although they live in the shadow of compiled programming languages an interpreter can do anything that a compiled language can do, you just have to code it right.

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