Bundy Posted April 18, 2006 Share Posted April 18, 2006 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 Link to comment Share on other sites More sharing options...
JoshDB Posted April 18, 2006 Share Posted April 18, 2006 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 Link to comment Share on other sites More sharing options...
Bundy Posted April 18, 2006 Author Share Posted April 18, 2006 You have misunderstood me I want to make something like: Hotkeyset(Mousedown(right),"Function") Link to comment Share on other sites More sharing options...
Valuater Posted April 18, 2006 Share Posted April 18, 2006 look for _IsPressed() in beta help 8) Link to comment Share on other sites More sharing options...
cdkid Posted April 18, 2006 Share Posted April 18, 2006 #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! Link to comment Share on other sites More sharing options...
Bundy Posted April 18, 2006 Author Share Posted April 18, 2006 Thanx alot. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now