Jump to content

KeyBoard and Mouse Cleaner!


MrCreatoR
 Share

Recommended Posts

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...

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

  • 3 months later...

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.

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Link to comment
Share on other sites

  • 3 weeks later...

Portuguese (Brazil) translation:

[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"
Link to comment
Share on other sites

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

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

[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).

Link to comment
Share on other sites

Excelent! New version coming soon! :)

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
Share on other sites

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).

 

Spoiler

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

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: 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 Program

AutoIt_Icon_small.pngUDFs: 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 UDF
 
AutoIt_Icon_small.pngExamples: 
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 Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

  • 5 months later...

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:

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...