PantZ4 Posted September 4, 2006 Share Posted September 4, 2006 (edited) Can I disable the keyboard? Btw how do I change the cursor? (I could find it on the help file) Edited September 4, 2006 by Mr. Zero Link to comment Share on other sites More sharing options...
GaryFrost Posted September 4, 2006 Share Posted September 4, 2006 Can I disable the keyboard? Unplug it.... try BlockInput(1) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Vicks Posted September 4, 2006 Share Posted September 4, 2006 Unplug it.... try BlockInput(1) gafrost blockinput() blocks the mouse and keyboard, i don't think autoit supports blockin gonly keyboard yet [s]Autoit[/s] Link to comment Share on other sites More sharing options...
Paulie Posted September 4, 2006 Share Posted September 4, 2006 Unplug it.... LOLAs for changing the cursor,Are you talking about in a GUI or just normally? Link to comment Share on other sites More sharing options...
GaryFrost Posted September 4, 2006 Share Posted September 4, 2006 gafrost blockinput() blocks the mouse and keyboard, i don't think autoit supports blockin gonly keyboard yetThe call that BlockInput uses is the Microsoft api I believe, and it doesn't support just keyboard. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
ramadash Posted September 5, 2006 Share Posted September 5, 2006 maby you can set each key on the keyboard to an hotkey that does absolutly nothing... I dont think the key will be passed to windows (not sure tho). Well that would be very ugly lol. Link to comment Share on other sites More sharing options...
jvanegmond Posted September 5, 2006 Share Posted September 5, 2006 (edited) AutoIt supports a maximum of 64 simultaneous hotkeys, so you will need to divide every key over a number of scripts Edited September 5, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 5, 2006 Moderators Share Posted September 5, 2006 AutoIt supports a maximum of 64 simultaneous hotkeys, so you will need to divide every key over a number of scriptsThat depends on how you write the code 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. Link to comment Share on other sites More sharing options...
powaking Posted September 15, 2006 Share Posted September 15, 2006 That depends on how you write the code How do you block the mouse from a gui? Like make it go busy/wait when it hoovers over a gui while its performing a function then make it go back to normal when the function is completed. Link to comment Share on other sites More sharing options...
GaryFrost Posted September 15, 2006 Share Posted September 15, 2006 How do you block the mouse from a gui? Like make it go busy/wait when it hoovers over a gui while its performing a function then make it go back to normal when the function is completed.I think what your asking about is not blocking the mouse, just changing the cursor.You'll need to look at a few functionsGUICtrlSetCursorGUISetCursor SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
powaking Posted September 15, 2006 Share Posted September 15, 2006 I think what your asking about is not blocking the mouse, just changing the cursor.You'll need to look at a few functionsGUICtrlSetCursorGUISetCursorThanks that was it. Silly me (once again). That does what I want it to do but I'm not getting the results from the gui that I like. I'm using the mousehoover udf to display what controls do by use of the statusbartext calls. When the user clicks on the button to execute what they have selected to be performed the statusbar still gets updated when the mouse goes over the controls even if the gui is disabled or mouse is busy/wait. I'll see what else I can do but if you have any thoughts. Link to comment Share on other sites More sharing options...
powaking Posted September 15, 2006 Share Posted September 15, 2006 Never mind. Figured out how to disable the mousehover (adlibdisable()) then reenabled it. DUH again 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