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
Bape Culture
Sep 13, 2006

ThatSlacker posted:

There's this one that will let you monitor a web cam:

http://gallery.live.com/liveItemDetail.aspx?li=7b02ff94-fcd6-4efc-ad91-d55c20bfc4b7&bt=1&pl=1

It seems to have a few bugs (the 640x480 image from the 'ring doesn't fully display) but the preview works well.

Ah excellent. Thankyou very much!

Adbot
ADBOT LOVES YOU

Pweller
Jan 25, 2006

Whatever whateva.

Sefyroth posted:

I did it because I was bored.

Requires .NET 3.5 for WPF (or is that 3.0? I don't really care :P)

Thank you so much!

Epikhigh
Apr 4, 2009

Always Shirtless posted:

search for *.exe, highlight them all, create shortcut, move the shortcuts where you want

Problem with that is 1TB full of programs, games, and other stuffs + crappy comp = Long wait for search.

samiamwork
Dec 23, 2006

thelightguy posted:

I'm looking for a Hello World done in Obj-C/Cocoa that implements a main window, a preferences window, and a couple of different GUI elements that do things when manipulated. (let's say a text input box, a list box, a combo box, a couple checkboxes, and some buttons.)

I'm trying to teach myself programming for OS X and failing miserably. Of course, part of that is because I haven't done GUI programming much at all, and even then it was in Visual C++ on windows and a buggy piece of poo poo to boot.

Sadly, I don't think my target audience would much like a console program.

Oh, and I don't need (or particularly want) a binary... source and XCode 3 project is fine.

I know I'm a little late but if you've installed the developer tools, /Developer/Examples/AppKit is filled with exactly this kind of stuff.

Thermopyle
Jul 1, 2003

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

kri kri posted:

I tried this on Win 7 but it doesn't work, I have the same hardware from vista. Any ideas on getting it to work?

Yeah. I need to rewrite it to account for differences in each OS. In the meantime you can use the script I pasted in reply to your question in the Win7 thread. If you can't figure out how to use it, then you'll have to wait for my lazy rear end to do a rewrite.

Sefyroth
Feb 15, 2007
I am me.

Pweller posted:

Thank you so much!

Just made version 1.1 cause 1.0 would crash if two lines were the same in the file.

Medina
Jul 26, 2008
http://www.tinyappz.com/wiki/Request:1241351955

A program that will find files with URL entities in their filename and replace them with regular characters. (moo%20cows.jpg -> moo cows.jpg).

anotherone
Feb 8, 2001
Username taken, please choose another one

Epikhigh posted:

Problem with that is 1TB full of programs, games, and other stuffs + crappy comp = Long wait for search.

You'll have the same wait regardless of what's doing the search.

Thermopyle
Jul 1, 2003

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

Thermopyle posted:

Yeah. I need to rewrite it to account for differences in each OS. In the meantime you can use the script I pasted in reply to your question in the Win7 thread. If you can't figure out how to use it, then you'll have to wait for my lazy rear end to do a rewrite.

I've had several people ask me about this lately, so I'm going to repost it with some changes I've made:

Soundswitch

Edit the ini file. Run the exe. You now have a hotkey to switch between sound devices. For example a USB headset and your speakers.

I've only seriously tested this on Windows7 64-bit. I have a routine in there that I wrote for XP, but I don't have an XP machine to test it out on. If people tell me what doesn't work, I'll try to fix it.

revolther
May 27, 2008
What awesome timing with that sound switch. Just a question, I've noticed in Win7 they have a drop down menu on the mixer for sound devices. Is it possible to send apps sound out to certain devices.

m2pt5
May 18, 2005

THAT GOD DAMN MOSQUITO JUST KEEPS COMING BACK

Thermopyle posted:

Soundswitch

I love you.

Edit: One tiny issue - it switches both the default sound device and the default communication device. Could you add an option to switch the sound device only? I have no reason to have the communications device on anything but my headset.

m2pt5 fucked around with this message at 19:44 on May 4, 2009

kri kri
Jul 18, 2007

Thermopyle posted:

Soundswitch
This program owns, thanks for the update

Flamadiddle
May 9, 2004

Your HILARIOUS posted:

I have a small mac app I'd LOVE to request. Anyone capable of that?

e: there are OSX ones there already. Sweet.


Want:

Small Program for OSX 10.5 that I can point to a directory and click a button.

When you click the button:

1. Any file without a 5 number code on the front of the file name will have a 5 digit number code randomly generated for it and added to the file name. Duplicates number codes are fine.

2. Files with existing 5 digit number codes will have their code scrabbled so that it has a new 5 digit code on the front of it.

3. File names are left otherwise intact.

4. Magic!

Not sure if this has already been done, but I've built a working command line app in perl. It only looks at items with a .xxx format extension though, but I can respec it easily enough for other constraints. If that's no good at least it's been a good exercise for me.
code:
#!usr/bin/perl -w
system("cls");
sub newrand(){
my $rand;
	for ($i=0;$i<5;$i++){
		$rand .= int(rand(9));
	}
return $rand;
}


print "Folder? ";
$target = <STDIN>;
chomp $target;
opendir(TARGET, $target) or die "Invalid target directory\n";
@contents = readdir(TARGET);
@contents = grep(/\..{3}$/,@contents);
@oldcontents = @contents;
foreach (@contents){
	if ($_=~m/^\d{5}(.*)/){
	$_ = $1;
	$_ = newrand().$_;
	}
	else {
	$_ = newrand().$_;
	}
}
chdir($target);
for ($i = 0;$i<=$#contents;$i++){
rename($oldcontents[$i],$contents[$i]);
}


$"="\n";
$no = scalar @contents;
print "$no items renamed";
Edit: I'm now aware that this is nearly a year old request. Still, was a good 5 minute exercise.

Flamadiddle fucked around with this message at 13:03 on May 5, 2009

Goon in the Mist
Jan 6, 2006

I want a script that will return a random flickr image by tag. ex: tag is Stairs, it returns a link to flickr.com/akjdlaskd.jpg from the set of images tagged stairs. doable? I'm willing to pay a little for this if it turns out not to be tiny.

Paul MaudDib
May 3, 2006

TEAM NVIDIA:
FORUM POLICE

Goon in the Mist posted:

I want a script that will return a random flickr image by tag. ex: tag is Stairs, it returns a link to flickr.com/akjdlaskd.jpg from the set of images tagged stairs. doable? I'm willing to pay a little for this if it turns out not to be tiny.

http://www.tinyappz.com/wiki/RandomFlickr

Epikhigh
Apr 4, 2009
Small App Request!

I would like a small app that would display a random F My Life quote and have a button for copying it. It should display everything as it shown on the website for the quote. I.E.

quote:

Today, I was visiting a national park and went for a swim. Afterwards, I needed to change clothes but the bathrooms were closed. I went off into the woods to change. As soon as I was naked, I heard hooves and sixteen people on horseback rode by. I'd stripped by a horse trail. FML
#1973395 (46) - 05/16/2009 at 8:11am by FishStampede - misc - I agree, your life is f***ed (11534) - you deserved that one (5827)


as well as a link to it in this format:

FML Quote

twice burned ice
Dec 29, 2008

My stove defies the laws of physics!
I would like an app that will constantly display basic system information (CPU usage, RAM usage, GPU Temp, etc.) on the desktop somewhat like what is possible in the Vista sidebar. This would be for an XP computer. Is this possible or perhaps is there an app somewhere that can already do this?

Richard M Nixon
Apr 26, 2009

"The greatest honor history can bestow is the title of peacemaker."

twice burned ice posted:

I would like an app that will constantly display basic system information (CPU usage, RAM usage, GPU Temp, etc.) on the desktop somewhat like what is possible in the Vista sidebar. This would be for an XP computer. Is this possible or perhaps is there an app somewhere that can already do this?

Tons like it, everyone seems to love Rainmeter, google it, it should do everything you want and has uber awesome skins.

twice burned ice
Dec 29, 2008

My stove defies the laws of physics!

livelikecode posted:

Tons like it, everyone seems to love Rainmeter, google it, it should do everything you want and has uber awesome skins.

Brilliant. This is exactly what I wanted. Thanks.

Goon in the Mist
Jan 6, 2006


God, I feel like a total rear end in a top hat here, but I can't use this because it requires .NET and my server is a linux box. Thanks very much for doing this anyway!

kaniff
Feb 27, 2004

oh word?
What about Mono?

Xachariah
Jul 26, 2004

My problem is that I have a .txt file that is formatted/converted horribly and requires a quick, non-time consuming fix.

Specifically, the .txt file has paragraph breaks used as line breaks, thousands and thousands of them. Now if I wanted to indiscriminately nuke paragraph breaks, that's easily possible using Microsoft Word find and replace (replace ^p with space). However the formatting suffers as there is thus no paragraphs remaining.

So I need a selective find and replace app that operates like this:

If it comes to a paragraph break which is immediately preceeded by a quotation mark or full stop - do nothing. (respectively they are " and .)
Otherwise, replace paragraph break with a space.

Note, inverted comma isn't a quotation mark. Quotes signal the end of someone speaking in this particular text while inverted commas signals someone continuing to speak.

It's not perfect, sometimes I may be putting the last sentence of a paragraph into the following paragraph, but it's a quick and dirty way of correcting the terrible formatting while retaining paragraphs and not chopping sentences up.

Example input - example.txt

This is my example sentence, it is broken up in the
middle by a wayward paragraph break.
However, this is an actual paragraph, you can see this
as the following line ends in a full stop while the other don't.
'I'm gasping in shock', he gasped, 'How am I going to fix
all these annoying Paragraph Breaks?"
'I dunno,' she replied. 'Maybe you can ask the tiny app thread?"

Example output - example fixed.txt

This is my example sentence, it is broken up in the middle by a wayward paragraph break.
However, this is an actual paragraph, you can see this as the following line ends in a full stop while the other don't.
'I'm gasping in shock', he gasped, 'How am I going to fix all these annoying Paragraph Breaks?"
'I dunno,' she replied. 'Maybe you can ask the tiny app thread?"

EDIT: The Paragraph break is denoted by a pilcrow sign (¶) in Microsoft Word when you go to Tools>Options>Display and select the box called "Paragraph marks". Not sure how it's denoted in a .txt file.

Xachariah fucked around with this message at 10:58 on May 20, 2009

kaniff
Feb 27, 2004

oh word?

Xachariah posted:

My problem is that I have a .txt file that is formatted/converted horribly and requires a quick, non-time consuming fix.

Specifically, the .txt file has paragraph breaks used as line breaks, thousands and thousands of them. Now if I wanted to indiscriminately nuke paragraph breaks, that's easily possible using Microsoft Word find and replace (replace ^p with space). However the formatting suffers as there is thus no paragraphs remaining.

So I need a selective find and replace app that operates like this:

If it comes to a paragraph break which is immediately preceeded by a quotation mark or full stop - do nothing. (respectively they are " and .)
Otherwise, replace paragraph break with a space.

Note, inverted comma isn't a quotation mark. Quotes signal the end of someone speaking in this particular text while inverted commas signals someone continuing to speak.

It's not perfect, sometimes I may be putting the last sentence of a paragraph into the following paragraph, but it's a quick and dirty way of correcting the terrible formatting while retaining paragraphs and not chopping sentences up.

Example input - example.txt

This is my example sentence, it is broken up in the
middle by a wayward paragraph break.
However, this is an actual paragraph, you can see this
as the following line ends in a full stop while the other don't.
'I'm gasping in shock', he gasped, 'How am I going to fix
all these annoying Paragraph Breaks?"
'I dunno,' she replied. 'Maybe you can ask the tiny app thread?"

Example output - example fixed.txt

This is my example sentence, it is broken up in the middle by a wayward paragraph break.
However, this is an actual paragraph, you can see this as the following line ends in a full stop while the other don't.
'I'm gasping in shock', he gasped, 'How am I going to fix all these annoying Paragraph Breaks?"
'I dunno,' she replied. 'Maybe you can ask the tiny app thread?"

EDIT: The Paragraph break is denoted by a pilcrow sign (¶) in Microsoft Word when you go to Tools>Options>Display and select the box called "Paragraph marks". Not sure how it's denoted in a .txt file.

I dunno wtf on the wiki, but you can download it here:

http://www.tinyappz.com/wiki/Paragrapher

It requires .NET 3.5 and is really just running a regex from box 1 to box 2. Let me know if it works for you.

hambeet
Sep 13, 2002

Hi all, I've browsed through the thread and I don't believe anyone has asked for this, and googling hasn't provided a suitable solution.

I would like a quicker way from switching between 5.1 speaker configuration and headphones / stereo in the sound control panel in vista 64. Plugging my headphones into my computer, or my speaker doesn't channel just left or right into my headphones and I get very odd signals down left and right. So I manually everytime go into the control panel and change the configuration. One or two separate scripts would be fine for this.

One or two scripts that I could execute from my quick launch bar would be much more suitable than an extra bloatware sound manager program like soundman.exe or something.

Thanks in advance if anyone can see it worth while making.

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

Xachariah
Jul 26, 2004

kaniff posted:

I dunno wtf on the wiki, but you can download it here:

http://www.tinyappz.com/wiki/Paragrapher

It requires .NET 3.5 and is really just running a regex from box 1 to box 2. Let me know if it works for you.

Thanks for the effort but there are a couple of issues. Your program only deletes the paragraph breaks, instead of replacing them with a space (important, as these paragraph breaks occur immediately after words, so now every paragraph thats removed glues two words together). And is there anyway to make it so you put the .txt file in and it gives you a fixed .txt file, instead of having to copy and paste into the window? It's unwieldy doing it the latter way when you have a .txt file with over 100 pages.

Thermopyle
Jul 1, 2003

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

hambeet posted:

I would like a quicker way from switching between 5.1 speaker configuration and headphones / stereo in the sound control panel in vista 64. Plugging my headphones into my computer, or my speaker doesn't channel just left or right into my headphones and I get very odd signals down left and right. So I manually everytime go into the control panel and change the configuration. One or two separate scripts would be fine for this.

I'm not sure exactly what it is you're asking for...does Soundswitch (I posted it earlier on this very page) not do what you want?

m2pt5
May 18, 2005

THAT GOD DAMN MOSQUITO JUST KEEPS COMING BACK

Thermopyle posted:

Soundswitch

Speaking of Soundswitch, did you see my edit to my post earlier in the page asking for a small tweak?

hambeet
Sep 13, 2002

Thermopyle posted:

I'm not sure exactly what it is you're asking for...does Soundswitch (I posted it earlier on this very page) not do what you want?

Holy poo poo I looked through the whole thread and didn't see that. I apologise. It doesn't seem to do what I'm after, but I believe it could quite easily as the functionality and the idea are basically the same. To be honest I don't know if I could do it myself by editing the ini file though....

I'll try to describe what I'm after again with a screenshot this time.


Click here for the full 1680x1050 image.


I have a 5.1 speaker setup, and I also have headphones that I use late at night.

Instead of going into the control panel -> Sound -> Configure (on my primary device) and then switching between stereo and 5.1 manually each time, I was after a script that with a click of an icon, or a hotkey (soundswitch is perfect for this) It will switch to 5.1. Pressing the hotkey will put it back to the stereo speaker configuration.

The reason I need this is because when I plug my headphones into my 5.1 amp, or direct to my computer, it puts the center channel down my left headphone cup and rear right or something down my right headphone cup. I thought windows would autosense this sort of poo poo, but I guess it doesn't.

Bruegels Fuckbooks
Sep 14, 2004

Now, listen - I know the two of you are very different from each other in a lot of ways, but you have to understand that as far as Grandpa's concerned, you're both pieces of shit! Yeah. I can prove it mathematically.

Xachariah posted:

EDIT The Paragraph break is denoted by a pilcrow sign (¶) in Microsoft Word when you go to Tools>Options>Display and select the box called "Paragraph marks". Not sure how it's denoted in a .txt file.
Word supports regular expressions with use wildcards enabled. Google the documentation.

kaniff
Feb 27, 2004

oh word?

Xachariah posted:

Thanks for the effort but there are a couple of issues. Your program only deletes the paragraph breaks, instead of replacing them with a space (important, as these paragraph breaks occur immediately after words, so now every paragraph thats removed glues two words together). And is there anyway to make it so you put the .txt file in and it gives you a fixed .txt file, instead of having to copy and paste into the window? It's unwieldy doing it the latter way when you have a .txt file with over 100 pages.

Uploaded another try to the tinyappz page. Give it a try.

http://www.tinyappz.com/wiki/Paragrapher

Xachariah
Jul 26, 2004

kaniff posted:

Uploaded another try to the tinyappz page. Give it a try.

http://www.tinyappz.com/wiki/Paragrapher

It doesn't retain the paragraphs after the quotation marks, and can still only be used for text you cut and paste instead of converting a text file into another fixed text file.

Thermopyle
Jul 1, 2003

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

m2pt5 posted:

Speaking of Soundswitch, did you see my edit to my post earlier in the page asking for a small tweak?

Yeah I saw it. Then I forgot about it. I'll see what I can do, but it'll probably be a week or so before I get a chance to work on it.

hambeet: That's doable. I'll work it into Soundswitch for you.

kaniff
Feb 27, 2004

oh word?

Xachariah posted:

It doesn't retain the paragraphs after the quotation marks, and can still only be used for text you cut and paste instead of converting a text file into another fixed text file.

Ok, the new one didn't upload. Try again from the link or from here:
http://www.tinyappz.com/wiki/Image:Paragrapher.zip

Xachariah
Jul 26, 2004

kaniff posted:

Ok, the new one didn't upload. Try again from the link or from here:
http://www.tinyappz.com/wiki/Image:Paragrapher.zip

Perfect now, thanks a lot man.

Steakandchips
Apr 30, 2009

Just like to say that this entire thread is very impressive.

Let me add some context here:

This is my 2nd year of work, after getting my degree. I currently work at a financial institution and basically dick around with spreadsheets all day long.

When we try automating something at work, it takes us weeks to build things. In VB. Our training in the subject ranges from non-existent to attended some beginners classes for automating spreadsheets.

You guys are coding custom solutions from _scratch_ in MINUTES!

Access to this sort of programming skill (read: being able to request something to be built for us) within the organization requires weeks worth of sign offs, compliance and costing.

I really hope you're all making tons of money in your day jobs, you guys deserve it!

Thermopyle
Jul 1, 2003

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

Steakandchips posted:

I really hope you're all making tons of money in your day jobs, you guys deserve it!

I don't even work in IT. I own a residential construction company.

Sharkface
Apr 20, 2002

twice burned ice posted:

Brilliant. This is exactly what I wanted. Thanks.

make sure you remove your request from the wiki. thanks!

Swink
Apr 18, 2006
Left Side <--- Many Whelps
Heres an easy one.

I need an app that will delete a folder if it has nothing inside it. That includes empty nested folders.

Also - High five for soundswitch!

deylen
Mar 17, 2009

Swink posted:

Heres an easy one.

I need an app that will delete a folder if it has nothing inside it. That includes empty nested folders.

try this

deylen fucked around with this message at 12:48 on May 25, 2009

Adbot
ADBOT LOVES YOU

Yossarko
Jan 22, 2004

This may be more complicated than I think !

I'd really like a small (invisible) app that reproduces the Mac OS X way of taking screenshots. Three shortcut keys, one to capture the screen, one to capture a window and another to capture a region (cropping). Either Mac-style CTRL+SHIFT+1/2/3 or (the preferred) PRNT-SCRN, ALT+PRNT-SCRN and CTRL+PRINT-SCRN.

This will then save the image in memory / clipboard while also saving the image (PNG, else JPG) on the desktop as screen001.ext.

The program actually exists (almost) but it contains a trojan : Print Screen Replacement.

Seems to me like it's pretty simple for the first two tasks (as windows already does it, minus the region cropping) but I'm probably wrong.

There are other solutions on the net I've tried but they are all way to bloated / feature-full with options, tabs and taskbars. I don't want a GUI, and if there was one it'd just be to set shortcuts or to set the destination folder (but I think desktop is fine).

So...does this exist somewhere or does someone want to try and make it ?

  • Locked thread