The Glade 4.0

"Turn the lights down, the party just got wilder."
It is currently Sun Nov 24, 2024 8:38 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Jul 09, 2010 11:20 am 
Offline
Sensitive Ponytail Guy
User avatar

Joined: Fri Sep 04, 2009 10:18 pm
Posts: 2765
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

_________________
Go back to zero, take a pill, and get well ~ Lemmy Kilmister


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 09, 2010 8:39 pm 
Offline
pbp Hack
User avatar

Joined: Wed Sep 02, 2009 8:45 pm
Posts: 7585
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.

_________________
I prefer to think of them as "Fighting evil in another dimension"


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 09, 2010 10:38 pm 
Offline
Sensitive Ponytail Guy
User avatar

Joined: Fri Sep 04, 2009 10:18 pm
Posts: 2765
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.

_________________
Go back to zero, take a pill, and get well ~ Lemmy Kilmister


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 17, 2010 12:07 pm 
Offline
The Dancing Cat
User avatar

Joined: Wed Nov 04, 2009 2:21 pm
Posts: 9354
Location: Ohio
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.

_________________
Quote:
In comic strips the person on the left always speaks first. - George Carlin


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 17, 2010 9:04 pm 
Offline
Sensitive Ponytail Guy
User avatar

Joined: Fri Sep 04, 2009 10:18 pm
Posts: 2765
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:

_________________
Go back to zero, take a pill, and get well ~ Lemmy Kilmister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 142 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group