James Posted May 15, 2007 Share Posted May 15, 2007 Hey,Why can I never actually make something for myself? Ahh well.. I got payed £2 for it (Thats a lot of money coming from my Dad, he's just jealous)Anyway, at his work he has some people who "accidently" close things through Task Manager. So he asked me if I could fix it. Well, here it is.; Disable Task Manager without Popups! Opt("WinWaitDelay",1) While 1 WinWaitActive("Windows Task Manager") ControlDisable("Windows Task Manager", "", "&End Process") ControlDisable("Windows Task Manager", "", "SysListView321") ControlDisable("Windows Task Manager", "", "SysTabControl321") ControlDisable("Windows Task Manager", "", "SysHeader324") WinWaitClose("Windows Task Manager") WendSee ya,James (Thanks Kip!) Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
November Posted May 15, 2007 Share Posted May 15, 2007 Simple and functional! Better than working in the local policies! hehehehehe Good job Secure_ICT Cheers Old Scriptology Visual Ping 1.8 - Mass Ping Program with export to txt delimited. Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code. Desktop 2 RGB - Pick a color in the desktop and get the RGB code. ShootIT 1.0 - Screen Capture full and partial screen [font="'Arial Black';"]Remember Remember The Fifth of November.[/font] Link to comment Share on other sites More sharing options...
James Posted May 15, 2007 Author Share Posted May 15, 2007 Thanks. Nothing big, just ControlDisable. And much easier Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
FiNAlzFiNAle Posted May 18, 2007 Share Posted May 18, 2007 o.0 .. if you use your arrow keys on the Processes List, the End Process button comes back on. Might help if you put the ControlDisables in a While loop Link to comment Share on other sites More sharing options...
James Posted May 18, 2007 Author Share Posted May 18, 2007 (edited) Dude, it is in the While Loop. Edited May 18, 2007 by Secure_ICT Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
TehBeyond Posted May 19, 2007 Share Posted May 19, 2007 I think he means... Opt("WinWaitDelay",1) While 1 WinWaitActive("Windows Task Manager") Do ControlDisable("Windows Task Manager", "", "&End Process") ControlDisable("Windows Task Manager", "", "SysListView321") ControlDisable("Windows Task Manager", "", "SysTabControl321") ControlDisable("Windows Task Manager", "", "SysHeader324") Sleep (20) Until WinExists("Windows Task Manager")=0 Wend I would have told you I have Alzheimer's, but I forgot.My Splendid-Tastic Blog Link to comment Share on other sites More sharing options...
WeMartiansAreFriendly Posted May 19, 2007 Share Posted May 19, 2007 maybe this? Opt("WinWaitDelay",1) While 1 WinWaitActive("Windows Task Manager") ControlHide("Windows Task Manager", "", "&End Process") ControlHide("Windows Task Manager", "", "SysListView321") ControlHide("Windows Task Manager", "", "SysTabControl321") ControlHide("Windows Task Manager", "", "SysHeader324") ControlHide("Windows Task Manager", "", "Button1") ControlHide("Windows Task Manager", "", "DavesFrameClass1") ;doesn't seem to hide the menu :( ControlHide("Windows Task Manager", "", "msctls_statusbar321") WinWaitClose("Windows Task Manager") Wend Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet() Link to comment Share on other sites More sharing options...
Generator Posted May 19, 2007 Share Posted May 19, 2007 Doesn't work on my computer, it's in Chinese lol. Good job and this is useful for me in some cases. Link to comment Share on other sites More sharing options...
James Posted May 19, 2007 Author Share Posted May 19, 2007 Ahh right. I understand now. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ 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