AJ6594 Posted December 6, 2008 Posted December 6, 2008 I found this code in another forum... #InstallMouseHook LButton:: CoordMode, Mouse, Screen GetKeyState, LBState, LButton if (LBState <> D) { MouseGetPos,xpos, ypos MouseClick, left,,,,,D MouseMove, %xpos%, %ypos%, 0 MouseClick, left,,,,,U } else { MouseClick, left,,,,,D } return LButton & RButton:: MouseClick, Left,,,,,D return RButton:: Mouseclick, Right return return ================================================ But it is returning an error : ERROR: syntax error (illegal character) LButton:
AdmiralAlkex Posted December 6, 2008 Posted December 6, 2008 That is not AutoIt v3 .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Tomb Posted December 6, 2008 Posted December 6, 2008 looks like its auto******try converting it to autoit.
AJ6594 Posted December 6, 2008 Author Posted December 6, 2008 try converting it to autoit.I just tried and failed using the converter found in the extras folder.Can somebody please convert this simple script for me ?ty in advance.
Moderators SmOke_N Posted December 6, 2008 Moderators Posted December 6, 2008 (edited) I just tried and failed using the converter found in the extras folder.Can somebody please convert this simple script for me ?ty in advance.Would be better if you made an attempt yourself... and when posting code in the AutoIt support forum, try posting AutoIt code and not AHK code.http://www.autoitscript.com/autoit3/docs/f...ItSetOption.htmhttp://www.autoitscript.com/autoit3/docs/f...MouseGetPos.htmhttp://www.autoitscript.com/autoit3/docs/f.../MouseClick.htmHelp file: _IsPressed() Edited December 6, 2008 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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