Sign in to follow this  
Followers 0
Bundy

Mousedown(right) As Hotkeyset

6 posts in this topic

HotKeySet only uses buttons from Send(). Now I have no idea how to assignate Mousedown() and make hotkey from it. Any advice will be welcome :think:

Share this post


Link to post
Share on other sites



HotKeySet("{YourButton}","RightToggleFunc")

$Toggle = 0

Func RightDownFunc()

If $Toggle = 0 Then

MouseDown("Right")

$Toggle = 1

Else

MouseUp("Right")

$Toggle = 0

EndIf

EndFunc

While 1

Sleep(100)

WEnd

Have fun ; )


Ha, I haven't been on these forums since... 2006, almost. Behold, my legacy signature:My AutoIt idol is Valuater. You know you love him, too.My Stuff: D&D AGoT Tools Suite

Share this post


Link to post
Share on other sites

You have misunderstood me :think: I want to make something like:

Hotkeyset(Mousedown(right),"Function")

Share this post


Link to post
Share on other sites

look for _IsPressed()

in beta help

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#include <misc.au3>
While 1
Sleep(10)
If _IsPressed('02') Then
Rightfunc()
EndIf
WEnd
func rightfunc()
MsgBox(0,'',"The right mouse button was pressed!")
EndFunc

Requires beta


AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!

Share this post


Link to post
Share on other sites

Thanx alot.

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