Jump to content

Recommended Posts

Posted

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:

Posted

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
Posted

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

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
×
×
  • Create New...