certoni Posted May 23, 2013 Posted May 23, 2013 is there a way to bind keys to specific mouse movement directions? like pushing mouse toward pc monitor binds to up arrow
somdcomputerguy Posted May 23, 2013 Posted May 23, 2013 Yes, probably more than one way too. One way will use these two functions: http://www.autoitscript.com/autoit3/docs/functions/MouseGetPos.htm http://www.autoitscript.com/autoit3/docs/functions/Send.htm and at least two of these statements: http://www.autoitscript.com/autoit3/docs/intro/lang_loops.htm http://www.autoitscript.com/autoit3/docs/intro/lang_conditional.htm - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
PhoenixXL Posted May 23, 2013 Posted May 23, 2013 there are ways of course, but why do you want to do this ? My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.
certoni Posted May 23, 2013 Author Posted May 23, 2013 @somd - there isn't an already built in command for mouse movement? i know i can do it via a long way but i thought autoit would have something already. @phoenix - sometimes (well, a lot) i dont feel like using the keyboard. weird description: i have a fan to the side of me that i like to turn my body and rest my feet on and then only have 1 hand by the mouse+keyboard so i cant use both.
somdcomputerguy Posted May 23, 2013 Posted May 23, 2013 The way you put it, I assumed you would be moving the mouse yourself. Well, read this - http://www.autoitscript.com/autoit3/docs/functions/MouseMove.htm - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
Moderators Melba23 Posted May 23, 2013 Moderators Posted May 23, 2013 majorstr20,I though that this question sounded familiar. Creating a new account to get round a ban is a capital offence here - both accounts permanently removed. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts