Jump to content
Sign in to follow this  
Maayish

disable windows key

Recommended Posts

Maayish

hello,

i want to disable the windows start menu using autoit,any ideas ppl??

is there any way we can disable the icons on the dektop using autoit.plz hellp!


Any thing can be automated :P

Share this post


Link to post
Share on other sites
wakillon

hello,

i want to disable the windows start menu using autoit,any ideas ppl??

is there any way we can disable the icons on the dektop using autoit.plz hellp!

For Start Menu Button on xp try

AutoItSetOption ( "WinTitleMatchMode", 4 )
ControlDisable ( "classname=Shell_TrayWnd", "", "Button1" )
Sleep ( 5000 )
ControlEnable ( "classname=Shell_TrayWnd", "", "Button1" )

and for disable win keys...

#include <BlockInputEx.au3>

HotKeySet("{ESC}", "_Quit") 
_BlockInputEx ( 1, "", "0x5B|0x5C" )

While 1
    Sleep(100)
WEnd

Func _Quit()
    Exit
EndFunc
Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
Maayish

thank u.....got the idea...it works fine

;)


Any thing can be automated :P

Share this post


Link to post
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
Sign in to follow this  

×