The Glade 4.0
https://gladerebooted.net/

Half-assed "Boss Button" - initial draft
https://gladerebooted.net/viewtopic.php?f=5&t=3427
Page 1 of 1

Author:  Shelgeyr [ Fri Jul 09, 2010 11:20 am ]
Post subject:  Half-assed "Boss Button" - initial draft

Wrote the following VBScript and stored it in my "Personal" folder, created a desktop shortcut for it, defined a shortcut key for the desktop shortcut and last, but not least, flagged the desktop shortcut as "Hidden".
Ctrl+Shift+B now kills all instances of Internet Explorer in a fraction of a second.
Sadly, this is what I have to do to keep myself sane at work.
Code:
strComputer = "."
strProcess = "'iexplore.exe'"
Set WshShell = CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessbyName = objWMIService.ExecQuery("Select * from Win32_Process Where Name = " & strProcess)
For Each objProcess in colProcessbyName
   objProcess.Terminate
Next

Author:  Rorinthas [ Fri Jul 09, 2010 8:39 pm ]
Post subject:  Re: Half-assed "Boss Button" - initial draft

Actually looking at your screen to find out what you were up to is so 1992. We have logs for that kind of stuff now. :lol:

However I do applaud your effort and creativity.

Author:  Shelgeyr [ Fri Jul 09, 2010 10:38 pm ]
Post subject:  Re: Half-assed "Boss Button" - initial draft

Rorinthas wrote:
Actually looking at your screen to find out what you were up to is so 1992. We have logs for that kind of stuff now. :lol:

However I do applaud your effort and creativity.
Well, it's also an agreed-upon status quo that I don't actually do anything productive at work and my boss doesn't care. So long as I punch the clock, I collect a paycheck. But it was something to do.

Author:  Hopwin [ Sat Jul 17, 2010 12:07 pm ]
Post subject:  Re: Half-assed "Boss Button" - initial draft

Rorinthas wrote:
Actually looking at your screen to find out what you were up to is so 1992. We have logs for that kind of stuff now. :lol:

However I do applaud your effort and creativity.

Someone just got fired from my work because they were "working from home" via remote and some how did so without hitting a keystroke for 8 hours. The logs revealed them.

Author:  Shelgeyr [ Sat Jul 17, 2010 9:04 pm ]
Post subject:  Re: Half-assed "Boss Button" - initial draft

Hopwin wrote:
Rorinthas wrote:
Actually looking at your screen to find out what you were up to is so 1992. We have logs for that kind of stuff now. :lol:

However I do applaud your effort and creativity.
Someone just got fired from my work because they were "working from home" via remote and some how did so without hitting a keystroke for 8 hours. The logs revealed them.
See, if they'd just let *me* "work from home" ...
I spend 8 4-6 hours a day* "working" on-site, while hardly touching my keyboard at all. Boss knows this and is OK with it, because he wants to make sure I'm still on contract when he finally figures out what project to toss my way. Thing is, since we all openly acknowledge the fact that I'm being paid to do nothing, I'm kinda thinking I should be able to do it from home. What's the diff, right?

* It'd be 8 if I had the patience to stay in the office all day, but I just can't do it. I fail at getting paid to do nothing all day because I keep going home early :roll:

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/