MiLLENiS Posted April 3, 2005 Share Posted April 3, 2005 Hello, everyone.My Script(Executed file converted by Aut2Exe) is designed to run using some key's combination like CTRL+ALT+LEFT in TC(Total Commander).At most of time, my script works good, but sometimes it gave me unwanted result cause of my keeping pressing above key-combination, CTRL+ALT+LEFT.So, I want to get this :As soon as my script is loaded, additional user's key-typing/pressing will be ignored or released.How can i get this? Plz help me. Link to comment Share on other sites More sharing options...
zcoacoaz Posted April 3, 2005 Share Posted April 3, 2005 BlockInput ( 1 ) be carefull though, you may get yourself stuck and have to restart your computer BlockInput ( 0 ) will allow input again [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
Insolence Posted April 3, 2005 Share Posted April 3, 2005 Ctrl + Alt + Del disables it, I believe. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
MiLLENiS Posted April 3, 2005 Author Share Posted April 3, 2005 Thanks for your reply, Xenogis. But, that function is not exactly what i want. Sorry for my poor english, and poor explanation. What I really want to do is : To release key(CTRL,ALT,LEFT) which are still being pressed by user for runnig my script in TC. So that keys(CTRL,ALT,LEFT) can't affect any unwanted behaviour to TC. Could you got it? Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted April 3, 2005 Share Posted April 3, 2005 I don't think that's possible yet, though it would be a great feature if its included in future versions Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
CyberSlug Posted April 3, 2005 Share Posted April 3, 2005 Send("{CtrlUp}{AltUp}{ShiftUp}") ;maybe... Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! 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