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
Dicky B
Mar 23, 2004

Possibly fixed it. Let me know if this one works...
http://pleasesendhelp.com/crap/DeskPad.1.0.1.exe

Next time I'm doing this in VB .NET :sweatdrop:

Dicky B fucked around with this message at 19:58 on Nov 6, 2009

Adbot
ADBOT LOVES YOU

IAmKale
Jun 7, 2007

やらないか

Fun Shoe

Dicky B posted:

Possibly fixed it. Let me know if this one works...
http://pleasesendhelp.com/crap/DeskPad.1.0.1.exe

Next time I'm doing this in VB .NET :sweatdrop:
Awesome, this release works! Thanks for humoring me and making this app :3:

Dicky B
Mar 23, 2004

No problem, I needed some c++ practice :)

Salteh
Jun 25, 2005

show van doos. only

ilkhan posted:

Can I request a tiny app that puts the monitor(s) to sleep immediately when the computer gets locked? (win7 x64 BTW)

This request is about 6 months old, but I decided to give it a go anyway :).
http://www.tinyappz.com/wiki/MonitorOff!

Blobfish
Apr 2, 2009

by angerbotSD
Dock Exposé in Snow Leopard would be infinitely more useful if I could just middle-click a dock icon to activate it instead of having to click and hold.

tofufish
Jan 3, 2007
:D
EDIT: Ignore this post, didnt realise my own potential :P

tofufish fucked around with this message at 12:27 on Nov 21, 2009

Zhentar
Sep 28, 2003

Brilliant Master Genius
I'm looking for inspiration to develop it myself as much as an actual app, but I'm want an app that makes my computer irritating to use during certain time periods. Nothing that makes the computer unusable, just a little extra kick to say "come on, wrap it up, get going".

Any ideas?

m2pt5
May 18, 2005

THAT GOD DAMN MOSQUITO JUST KEEPS COMING BACK

Zhentar posted:

Any ideas?

Have it minimize everything every 5 minutes.

Thermopyle
Jul 1, 2003

...the stupid are cocksure while the intelligent are full of doubt. —Bertrand Russell

Zhentar posted:

I'm looking for inspiration to develop it myself as much as an actual app, but I'm want an app that makes my computer irritating to use during certain time periods. Nothing that makes the computer unusable, just a little extra kick to say "come on, wrap it up, get going".

Any ideas?

Reposition your computer between your legs and make it open the cd drawer at random intervals.

Failing that, something that drastically changes your mouse sensitivity at random intervals.

jeeves
May 27, 2001

Deranged Psychopathic
Butler Extraordinaire
At my work, I had to set up a bunch of laptops with WinXP to use a program that actively monitors the computers' idle state, since the machines could be left unplugged. The machines use Deepfreeze, which disables standby/hibernation to keep the machines 'frozen', and this program checks the idle state to turn off the machines by themselves after a certain amount of time.

However, now I need to set up a new laptop cart for a science lab, and they need to be able to keep the machines awake all night long by themselves for certain experiments, but they want the machines to turn off by themselves every other time.

Does anyone know of a small app that will keep the computer's idle state/timer from being counted as long as the app is open or such?

Tindjin
Aug 4, 2006

Do not seek death.
Death will find you.
But seek the road
which makes death a fulfillment.
I would like an app/script that can run on my hosted website that will look at 2-3 RSS feeds every 4-5 minutes and e-mail me when the page has been updated or a new post (same as updating I would guess for these sites) has been submitted.
It is a linux host with the normal php/cron/sql etc programs loaded on it.

I follow a couple of custom tool/knife/gadget makers who post on their RSS feeds when new items are for sale, unfortunately they are small batches and go quickly. I've tried google reader, yahoo alerts and applications for my black berry but can never get an alert less than about 1.5 hours out.

If anyone has knowledge of something else out there instead of creating one that would be awesome also.

I've put it on the website also, same username and a link to this post.

Ape Agitator
Feb 19, 2004

Soylent Green is Monkeys
College Slice
Edit: Better fit in the Win Software thread.

Wreckus
Dec 15, 2007

From birth, man carries the weight of gravity on his shoulders. He is bolted to earth. But man has only to sink beneath the surface and he is free.

Thermopyle posted:

Reposition your computer between your legs and make it open the cd drawer at random intervals.

Failing that, something that drastically changes your mouse sensitivity at random intervals.

Change the mouse sensitivity to be inversely proportional to the mouse speed. I'd throw my computer out the window.

Jared592
Jan 23, 2003
JARED NUMBERS: BACK IN ACTION

Jared592 posted:

I'm in desperate need of a command line app to simply count pages in a postscript file. As it stands, I have to open some lovely 3rd-party viewer and wait while it loads all the pages (displaying them as it does so) to get a count. I don't need to view the pages, just to count them. When we get into the thousands of pages this means this can take quite awhile.

The optimal program would simply count the pages and return the # of pages found at the command line.
Quoting this ancient post once in case someone who knows anything about how to do this missed it the first time.

Dicky B
Mar 23, 2004

Jared592 posted:

Quoting this ancient post once in case someone who knows anything about how to do this missed it the first time.
Give this a try and let me know what happens. Just supply it with the file name as a command-line argument.

http://pleasesendhelp.com/crap/JFPC.exe

Jared592
Jan 23, 2003
JARED NUMBERS: BACK IN ACTION

Dicky B posted:

Give this a try and let me know what happens. Just supply it with the file name as a command-line argument.

http://pleasesendhelp.com/crap/JFPC.exe
You're awesome for attempting this. Unfortunately it's giving me a count of 0 pages regardless of the file I throw at it.

Chumbawumba4ever97
Dec 31, 2000

by Fluffdaddy
Here is my request, you generous geniuses you:

http://www.tinyappz.com/wiki/Request:1261580256

Manky
Mar 20, 2007


Fun Shoe
You know what would be a cool and handy Greasemonkey script? Something that counts the posts on a SA thread page and maybe puts a number in a corner to let you know if you're going to make a new page when you post. Because I have a phobia of being the first post on a new page.

Dicky B
Mar 23, 2004

Jared592 posted:

You're awesome for attempting this. Unfortunately it's giving me a count of 0 pages regardless of the file I throw at it.
Can you give me an example of one of the postscript files you're using?

lamentable dustman
Apr 13, 2007

ðŸÂ†ðŸÂ†ðŸÂ†

Manky posted:

You know what would be a cool and handy Greasemonkey script? Something that counts the posts on a SA thread page and maybe puts a number in a corner to let you know if you're going to make a new page when you post. Because I have a phobia of being the first post on a new page.

I'm pretty sure there is a YOSPOS made synpa in the GS directory for telling when a page has hit 39


and that is a weird phobia

Manky
Mar 20, 2007


Fun Shoe

osama bin diesel posted:

I'm pretty sure there is a YOSPOS made synpa in the GS directory for telling when a page has hit 39


and that is a weird phobia

A few increasingly esoteric google searches later and I found it. Thanks!

(Yeah, I know it's a weird phobia. I got problems.)

HalloKitty
Sep 30, 2005

Adjust the bass and let the Alpine blast

Manky posted:

You know what would be a cool and handy Greasemonkey script? Something that counts the posts on a SA thread page and maybe puts a number in a corner to let you know if you're going to make a new page when you post. Because I have a phobia of being the first post on a new page.

You can change the number of posts shown per page, so the idea of a new "page" is a nebulous concept

Manky
Mar 20, 2007


Fun Shoe

HalloKitty posted:

You can change the number of posts shown per page, so the idea of a new "page" is a nebulous concept

I know, but I'd be willing to put money on at least 80% of people not caring to change the setting.

lazer_chicken
May 14, 2009

PEW PEW ZAP ZAP

Jared592 posted:

Quoting this ancient post once in case someone who knows anything about how to do this missed it the first time.

Ghostscript can do this. I'm doing this on a linux system, but a quick googling shows that windows ports of ghostscript exist so it should be somewhat portable if you're on windows.. I shamelessly ripped these two commands from wikibooks.org (their postscript faq).

code:
yes | gs -q -dBATCH -sDEVICE=nullpage foo.ps | grep -c showpage
code:
gs -q -dNOPAUSE -dBATCH -sDEVICE=bbox foo.ps 2>&1 | grep -c HiResBoundingBox
I found that the first one is significantly faster than the second one, but both return the correct value.

ufarn
May 30, 2009
More of a script than an app, but nevertheless:

Can someone create a script for Opera (css, GreaseMonkey, what do I know) that enforces that forum tables - on all kinds forums - aren't stretched to take up the entire width of my screen? It's nice on a smaller screen, but when you run a 1680 resolution, a maximum width or one defined in percent of, say, the resolution, is preferable.

I guess a css file that allows me to enter forum urls would be one way of handling it.

Dicky B
Mar 23, 2004

ufarn posted:

More of a script than an app, but nevertheless:

Can someone create a script for Opera (css, GreaseMonkey, what do I know) that enforces that forum tables - on all kinds forums - aren't stretched to take up the entire width of my screen? It's nice on a smaller screen, but when you run a 1680 resolution, a maximum width or one defined in percent of, say, the resolution, is preferable.

I guess a css file that allows me to enter forum urls would be one way of handling it.
I don't know if you're going to get an easy solution that will work on any arbitrary forum since you will need to manually specify which element on the page you want to resize. However it's easy enough to just have it resize everything on the page:

http://userscripts.org/scripts/show/65085

If you open up the script for editing you can change the width percentage.

You will also find instructions for making it resize specific page elements instead, so you can have it just resize the forum tables if you don't mind doing a tiny bit of css/javascript. The SA forums are already set up for you.

lazer_chicken posted:

Ghostscript can do this.
I feel so obsolete :smith:

codo27
Apr 21, 2008

I need a WORKING plugin for either MediaMonkey or WLM that will correctly update my "what I'm listening to" status. All the ones out there dont work the way I want.

corgski
Feb 6, 2007

Silly goose, you're here forever.

It may be that MediaMonkey doesn't export playing/paused/stopped through its plugin API, in which case you're SOL.

Plorkyeran
Mar 22, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed

ufarn posted:

More of a script than an app, but nevertheless:

Can someone create a script for Opera (css, GreaseMonkey, what do I know) that enforces that forum tables - on all kinds forums - aren't stretched to take up the entire width of my screen? It's nice on a smaller screen, but when you run a 1680 resolution, a maximum width or one defined in percent of, say, the resolution, is preferable.

I guess a css file that allows me to enter forum urls would be one way of handling it.
It is possible to use a browser without maximizing the window.

ufarn
May 30, 2009

Dicky B posted:

I don't know if you're going to get an easy solution that will work on any arbitrary forum since you will need to manually specify which element on the page you want to resize. However it's easy enough to just have it resize everything on the page:

http://userscripts.org/scripts/show/65085

If you open up the script for editing you can change the width percentage.

You will also find instructions for making it resize specific page elements instead, so you can have it just resize the forum tables if you don't mind doing a tiny bit of css/javascript. The SA forums are already set up for you.
That is fantastic - thanks a bunch.

I just figured that, since 99% of forums are PHPBB or vB, there'd be a way to create a more global script, but I'll be perfectly fine with it the way you set it up - I don't visit that many forums after all.

A minor thing, though: when the width is decreased, it decreases from left to right, so to speak; the width is decreased, but the table is left-aligned rather than centre-aligned. Is there an easy way to fix this? If it's a hassle, I don't want you to bother.

Dicky B
Mar 23, 2004

Yes that's easy. I updated the script:
http://userscripts.org/scripts/show/65085

Also here are some generic rules you can try that should work on most vBulletin and phpBB boards, if you really hate having the entire page resized.

For phpBB boards:
rules[1] = "http://www.example.com:#phpbb #page-body";

For vBulletin boards:
rules[2] = "http://www.example.com:div.page .tborder";

The problem is the page structure tends to change from site to site so they're not guaranteed to always work.

ufarn
May 30, 2009

Dicky B posted:

Yes that's easy. I updated the script:
http://userscripts.org/scripts/show/65085

Also here are some generic rules you can try that should work on most vBulletin and phpBB boards, if you really hate having the entire page resized.

For phpBB boards:
rules[1] = "http://www.example.com:#phpbb #page-body";

For vBulletin boards:
rules[2] = "http://www.example.com:div.page .tborder";

The problem is the page structure tends to change from site to site so they're not guaranteed to always work.
Awesome, sir.

One last thing: Do you happen to know what to append after Invision Power board URLs? I didn't know about the service until just now when I checked americasdebate.com.

I really recommend that people use this script, be it for SA or other sites; it improves the reading experience beyond imagination.

Dicky B
Mar 23, 2004

Glad you like it :)

#ipbwrapper should work nicely for invision power boards, eg. "http://www.americasdebate.com/forums:#ipbwrapper"

ufarn
May 30, 2009

Dicky B posted:

Glad you like it :)

#ipbwrapper should work nicely for invision power boards, eg. "http://www.americasdebate.com/forums:#ipbwrapper"
Perfect. Cheers.

EDIT: Wait - it doesn't seem to be working. Hmm.

ufarn fucked around with this message at 13:10 on Dec 30, 2009

Dicky B
Mar 23, 2004

It doesn't work at all or just on americasdebate.com? I'm not familiar with Opera's Greasemonkey support but I think the included pages need to be manually specified at the top of the script, so if you haven't added
// @include http://www.americasdebate.com/forums/*
then it won't work. Unless Opera has an interface for that.


Also made this yesterday because I couldn't find the yospos script and I have the same phobia :blush:
http://userscripts.org/scripts/show/65262

ufarn
May 30, 2009
I guess I'm none the wiser. Here's the code, for what it's worth. SA seems to wrap some of the links in url tags; these aren't in the actual code, obviously.

code:
// ==UserScript==
// @name           Page width limiter
// @namespace      [url]http://userscripts.org/users/124130[/url]
// @description    Restrict page width to a certain percentage.
// @include        [url]http://forums.somethingawful.com/*[/url]
// @include		   [url]http://americasdebate.com/forums/*[/url]
// @include		   [url]http://www.neogaf.com/forum/*[/url]
// ==/UserScript==

var rules = [];

//	============================================================
//	EDIT THIS STUFF IF YOU WANT
//	============================================================
//	Hello! You can specify the width you want here:
	const WIDTH = 45;
	
//	Is that a percentage? Set this to false if you want to
//	specify the width in pixels instead:
	const PERCENT = true;	
	
//	Set this to true if you want the content to be centered:
	const CENTERED = true;
	
//	If you know the elements you want to resize, you can
//	specify them here:
	rules[0] = "http://forums.somethingawful.com:#content";
	rules[1] = "http://www.americasdebate.com/forums:#ipbwrapper";
	rules[2] = "http://www.neogaf.com/forum:div.page .tborder";
//	============================================================

const URL = window.location.href;
var css = "";
var unit = "px";
var margins = "";

if(PERCENT)
	unit = "%";
	
if(CENTERED)
	margins = "margin-left: auto; margin-right:auto;";

const CSS_PROPERTIES = " { width: " + WIDTH + unit + "; " + margins + " } ";

for(var i in rules)
{	
	const index	= rules[i].lastIndexOf(":");
	const SITE	= rules[i].substr(0, index);
	const regexp	= new RegExp("^" + SITE);
	if(URL.match(regexp) != null)
	{
		css += rules[i].substr(index+1) + CSS_PROPERTIES;
	}
}

if(css == "")
	css = "body" + CSS_PROPERTIES;

if (typeof GM_addStyle != "undefined")
	GM_addStyle(css);
else if (typeof PRO_addStyle != "undefined")
	PRO_addStyle(css);
else if (typeof addStyle != "undefined")
	addStyle(css);
else
{
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0)
	{
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}

ufarn fucked around with this message at 14:46 on Dec 30, 2009

Dicky B
Mar 23, 2004

Ah ok the script is sensitive to the 'www's in the URL, so add this at the top:
// @include http://www.americasdebate.com/forums/*

And this:
rules[3] = "http://americasdebate.com/forums:#ipbwrapper";

Bad Habit
Apr 26, 2008
Hey guys,

OK what I'm looking for is a very simple tiny app with only one function, to provide a link from the Windows 7 notification area (i.e. where the volume, WiFi and clock/date icons are) to Google Calendar (https://www.google.com/calendar) using the default browser (Firefox in my case).

This would ideally be in the form of an icon made up of the Google Calendar favicon or something similar.

There doesn't really need to be anything other than that, no options window or notifications, simply a link to the GCal webpage.

Cheers.

TinyAppz.com request:
http://www.tinyappz.com/wiki/Request:1263485608

Sebbe
Feb 29, 2004

Bad Habit posted:

Hey guys,

OK what I'm looking for is a very simple tiny app with only one function, to provide a link from the Windows 7 notification area (i.e. where the volume, WiFi and clock/date icons are) to Google Calendar (https://www.google.com/calendar) using the default browser (Firefox in my case).

This would ideally be in the form of an icon made up of the Google Calendar favicon or something similar.

There doesn't really need to be anything other than that, no options window or notifications, simply a link to the GCal webpage.

Cheers.

TinyAppz.com request:
http://www.tinyappz.com/wiki/Request:1263485608
Filled: Google Calendar Tray (yes, I'm very imaginative.)

Adbot
ADBOT LOVES YOU

Bad Habit
Apr 26, 2008

Sebbe posted:

Filled: Google Calendar Tray (yes, I'm very imaginative.)

This is perfect, thanks man.

  • Locked thread