Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Olzi
Oct 25, 2006
-nt-

Ramzi posted:

Is there a program that could get the name of the process in the foreground? If you tskill a locked up process, it will close immediately. But, if you Ctrl+Alt+Delete it, it sometimes takes a long time before it closes. What I want to do is bind a program to one of the extra keys on my keyboard, where the program tskill's the process in the foreground.

Here you go:

http://koti.mbnet.fi/oltzi/foregroundkill.zip

Couple of simple API calls, 9 lines of code in total. :)

Oh, and it really does kill the foreground window, whatever it is. So if you don't have any windows open it will kill explorer.exe which you then have to restart with ctrl-alt-delete.

Adbot
ADBOT LOVES YOU

Olzi
Oct 25, 2006
-nt-
You can assign the program a hotkey by making a shortcut of it to desktop and then going to the shortcut properties.

Olzi
Oct 25, 2006
-nt-

crumpuppet posted:

Don't know if you guys are familiar with 100 shots / 100 minutes? Well you get a bunch of people together and drink a shot of beer every minute, for a 100 minutes. It's rad.

Here you go:
http://koti.mbnet.fi/oltzi/beerjug.zip

You start it with the little start-button in the left upper corner. Its fully resizable and you can change the drink.wav and lastdrink.wav with your own .wav files to customize it. If you like it i'll add it to the wiki.

Olzi
Oct 25, 2006
-nt-

MrPhred posted:

A group of friends and I watch 24 and do power hour every Monday. If you don't know what that is, it's where you take a shot of beer every minute for the 60 minutes the show is on. We usually have to scramble for an clock to tell us when to take the shot. It would be cool to have a clock in the 24 style with hours, minutes and seconds that could be set to any hour of the day and play a sound every minute. A small split timer along the side to keep track of when we took the actual shot (as you get towards the end, you take them longer and longer after the minute expires) would be cool too. Or maybe just display the last few shot times underneath.

Already requested, and filled: http://www.tinyappz.com/wiki/Beer_Jug

  • Locked thread