Jump to content



Photo

KeyBoard and Mouse Cleaner!


  • Please log in to reply
16 replies to this topic

#1 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,241 posts

Posted 11 November 2007 - 04:15 AM

KeyBoard and Mouse Cleaner!


The program is intended to help you clean your mouse and keyboard.

The program blocks mouse and the keyboard input on given period of time (thus provides reliable cleaning that you will not press by accident on some button ;)), and also it is convenient to clean because you do not need to shutdown your computer.

Usage:

- After start of the program specify in what time you wish to finish cleaning, and then press button "Clean".
- If necessary specify desirable preferences (which are not so many at the time :) ).

* The program can be translated to any (speach) language, all language values stored in the file KM_Cleaner_Lang.lng - to add new language, the "translator" must create new section in that file with name [Translation_Lang], where Lang is the name of the translating language.


===============================================================================

Attention: To disable the input blocking at any time, it is necessary to hold down these hotkeys: CTRL ALT DELETE.

Current limitations of the program:

- The program does not work under Windows 95 and under Windows NT4 (without Service Pack 6) :P .
- The program intended to block the standard keyboard; this means that the keyboard must be a standard 101 button keyboard. If the keyboard includes buttons such as "Power", "Sleep", or "Wake Up", their blocking is not provided. However the program blocks a mouse completely :P .


Screenshot:

Posted Image


Download page...
Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team








#2 JustinReno

JustinReno

    My custom made Vortex.

  • Banned (NOT IN USE)
  • 2,330 posts

Posted 11 November 2007 - 04:19 AM

Ooh, likes nice, I'll check it out.

#3 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 11 November 2007 - 05:06 AM

Sorry... Couldn't Get the site to come up for download..

#4 Generator

Generator

    Code Generator

  • Active Members
  • PipPipPipPipPipPip
  • 1,617 posts

Posted 11 November 2007 - 05:20 AM

Very nice, i like the progress bar and the music is great, lol.

Edit: Removed due to request.

Edited by Generator, 11 November 2007 - 07:00 AM.


#5 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 11 November 2007 - 05:28 AM

Cool, Thanks Generator. I got it now. Very Nice!!

#6 Achilles

Achilles

    Achilles == Ichigo

  • Active Members
  • PipPipPipPipPipPip
  • 2,897 posts

Posted 03 March 2008 - 04:56 AM

Just saw this... It's nice and simple with nice extra features! I love the music too..

A few English correction for better grammar:
"Remained" should be Remaining or even better "Time remaining: "
The top text should be similar to: "What time would you like to finish cleaning your mouse and keyboard?"
Also, the title of your window is rather odd concerning caps, "KeyBoard and mouse", I would have "Keyboard and Mouse".

Just my suggestions, I'm not an English master or anything.

#7 WolfWorld

WolfWorld

    Mr.Terminator

  • Active Members
  • PipPipPipPipPipPip
  • 646 posts

Posted 03 March 2008 - 11:39 AM

This is very nice script no one has ever been doing this not like media play pop up all over the forum

#8 Xand3r

Xand3r

    Aka TheMadman

  • Active Members
  • PipPipPipPipPipPip
  • 454 posts

Posted 03 March 2008 - 02:26 PM

cool dude nice work :)
[OT]:it would be cool if it could clean the mouse and keyboard for u ;)
Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

#9 BrunoReX

BrunoReX

    Seeker

  • New Members
  • 3 posts

Posted 21 March 2008 - 04:47 PM

Portuguese (Brazil) translation:

Plain Text         
[Translation_Portuguese (Brazil)] ;A variĂĄvel %Ver vai ser expandida como sendo a versĂŁo do programa 01="Limpador de Teclado e Mouse - %Ver" 02="Em quanto tempo vocĂȘ deseja terminar a limpeza do seu Teclado e Mouse?" 03="Tempo:" 04="Restando: " 05="Limpar" 06="Sair" 07="Atenção" 08="O tempo que vocĂȘ especificou (%ST) Ă© muito Ă© muito distante da hora atual (%NT),\nTem certeza que deseja limpar por tanto tempo? (%TTC) :)" 09="O tempo acabou" 010="Terminada..." 011="A limpeza acabou" 012="Agora vocĂȘ pode limpar seu Teclado e Mouse!\nSe vocĂȘ deseja parar a limpeza, apenas pressione as teclas:\nCTRL+ALT+DELETE" 013="Iniciar Limpeza..." 014="VocĂȘ decidiu parar a limpeza" 015="Escolha a cor de fundo" 016="Limpe seu teclado e mouse... NĂŁo se preocupe, o computador estĂĄ bem!;)" 017="Idioma:" 018="TransparĂȘncia:" 019="PreferĂȘncias" 020="Reproduzir som" 021="Mostrar PreferĂȘncias" 022="Esconder PreferĂȘncias" 023="Sempre no Topo" 024="Lembrar ConfiguraçÔes" 025="Marque essa caixa para o programa salvar as opçÔes no registro do Windows" 026="OK" 027="Cancelar" 028="Sim" 029="NĂŁo" 030="NĂŁo pergunte novamente"


#10 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,241 posts

Posted 21 March 2008 - 05:32 PM

BrunoReX

Portuguese (Brazil) translation:


Thanks, the new version will have some more translation entries, here is the addition lines:

031="Show tips when cleaning"
032="Show window with basic Step-By-Step tips on how to clean your keyboard and mouse"
033="Main"
034="View"
035="About"


The last three is a Tab items title, so make them as short as possible :)

Posted Image
Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#11 grham

grham

    Wayfarer

  • Active Members
  • Pip
  • 70 posts

Posted 21 March 2008 - 05:43 PM

Cool!

Thanks

:)

#12 BrunoReX

BrunoReX

    Seeker

  • New Members
  • 3 posts

Posted 21 March 2008 - 06:30 PM

Plain Text         
[Translation_Portuguese (Brazil)] ;A variĂĄvel %Ver vai ser expandida como sendo a versĂŁo do programa 01="Limpador de Teclado e Mouse - %Ver" 02="Em quanto tempo vocĂȘ deseja terminar a limpeza do seu Teclado e Mouse?" 03="Hora:" 04="Restando: " 05="Limpar" 06="Sair" 07="Atenção" 08="A hora que vocĂȘ especificou (%ST) Ă© muito Ă© muito distante da hora atual (%NT),\nTem certeza que deseja limpar por tanto tempo? (%TTC) :)" 09="O tempo acabou" 010="Terminada..." 011="A limpeza acabou" 012="Agora vocĂȘ pode limpar seu Teclado e Mouse!\nSe vocĂȘ deseja parar a limpeza, apenas pressione as teclas:\nCTRL+ALT+DELETE" 013="Iniciar Limpeza..." 014="VocĂȘ decidiu parar a limpeza" 015="Escolha a cor de fundo" 016="Limpe seu teclado e mouse... NĂŁo se preocupe, o computador estĂĄ bem!;)" 017="Idioma:" 018="TransparĂȘncia:" 019="PreferĂȘncias" 020="Reproduzir som" 021="Mostrar PreferĂȘncias" 022="Esconder PreferĂȘncias" 023="Sempre no Topo" 024="Lembrar ConfiguraçÔes" 025="Marque essa caixa para o programa salvar as opçÔes no registro do Windows" 026="OK" 027="Cancelar" 028="Sim" 029="NĂŁo" 030="NĂŁo perguntar novamente" 031="Mostrar dicas enquanto limpa" 032="Mostrar janela com dicas bĂĄsicas Passo-A-Passo de como limpar o teclado e o mouse" 033="Principal" 034="Exibir" 035="Sobre



I added extra translation and fixed 3 mistakes i was using tempo (time) instead of hora (hour).

#13 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,241 posts

Posted 21 March 2008 - 07:04 PM

Excelent! New version coming soon! :)
Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#14 autocart

autocart

    Seeker

  • Active Members
  • 16 posts

Posted 24 May 2008 - 08:22 PM

Hi!
I don't want to take away anybody's joy or critizise the work - I'm sure it was quite some effort. But why go through all the huzzle when you can just simply "unplug" your keyboard or mouse? The only advantage of the prog that I read here would be the nice music.
Please don't be offended. I really wonder.
Thanks for any comments.
autocart

#15 MrCreatoR

MrCreatoR

    Must AutoIt!

  • MVPs
  • 3,241 posts

Posted 24 May 2008 - 08:46 PM

why go through all the huzzle when you can just simply "unplug" your keyboard or mouse?

On some machines, if you unplug the keyboard (or the mouse as well sometimes), you will need to reboot your system, because when you plug-in it back, the device will not response.

And also, why the user need to go around the computer's corpus and unplug the keyboard, when he can just run a nice program that will do the job for him? :) And BTW, i need to pull out many stuff to able unplug the keyboard/mouse, so this will be not an easy task for me (and i sure for many others too).
Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

Posted Image AutoIt Russian CommunityPosted Image Projects: ATT - Application Translate Tool [new] | BlockIt - Block files & folders [new] | SIP - Selected Image Preview [new] | SISCABMAN - SciTE Abbreviations Manager [new] | AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramPosted Image UDFs: OnAutoItErrorRegister - Handle AutoIt critical errors [new] | AutoIt Syntax Highlight [new] | Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDFPosted Image Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation DemoLike the examples/UDFs? Please rate the topic (up-right corner of the post header: Rating Posted Image)* === My topics === *

==========================================================Posted Image==========================================================

AutoIt is simple, subtle, elegant. © AutoIt Team


#16 martin

martin

    ~~\o/~~~/0\=ÂŹ''~~~

  • MVPs
  • 7,199 posts

Posted 24 May 2008 - 08:58 PM

Hi!
I don't want to take away anybody's joy or critizise the work - I'm sure it was quite some effort. But why go through all the huzzle when you can just simply "unplug" your keyboard or mouse? The only advantage of the prog that I read here would be the nice music.
Please don't be offended. I really wonder.
Thanks for any comments.
autocart

If you have a laptop then unplugging the keyboard or mouse might not be an attractive option! I don't know about other countries but in the UK I believe that laptop sales are greater than Desktop PC sales, so there's a big market for MsCreatoR's script.

A lot of computers are not conveniently positioned for unplugging keyboards and mice and the tangle of wires I have seen on peoples PCs, apparently held together with cobwebs, puts you off wanting to touch them. I would rather run a little script than unplug and then have to reconnect. Also, many people who use computers and who would like to clean their keyboards would be afraid to unplug things.

But it's just personal preference I suppose.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

#17 storme

storme

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 754 posts

Posted 11 November 2008 - 02:35 PM

Just one thing I could think of adding would be a (or more) command line switch to set the time out and autostart the program. eg /autostart /delay=5 (ie 5 minutes)

That way if you someone (mum, wife, etc) insists on cleaning your keyboard they can just click an icon and your script will start, lock the keybaord and exit after they have finished.

I can think of other uses for this idea.
Turn the keyboard off if your on a work bench and the keyboard gets knocked a lot.
If you have an important program running and you don't want it inperruted.
Keep your 5 year old niece from trashing the computer by bashing on the keyboard.

Well done! I'd have never thought about writing this program. :-)

John Morrison :mellow:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users