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
Sharkface
Apr 20, 2002
ok i'm not making an account to post the program i made. someone do it for me thanks...

I finished DaWolfey's request..

a program that does the following:

A program that opens/closes a defined list of applications, services, files and folders
A profile is made that defines apps/services/etc that should be opened.
The profile has "open" and "close" buttons. Open opens the defined list of apps/services/etc. Close closes them all
The profile is an individual file that can be moved to different machines

here you go dude...

http://slightlyprofessional.net/MSAC.rar

its in c# so it needs .net

Adbot
ADBOT LOVES YOU

Sharkface
Apr 20, 2002

Resolution posted:

Can someone port the "Compound" app from Windows to OS X.4? That would be really helpful.

i'll do this next.

edit i dont have to its done

Sharkface fucked around with this message at 04:41 on Apr 14, 2007

Sharkface
Apr 20, 2002

Charun posted:

A program that tests files to see if they are availiable to open and read. Ideally it would scan a directory and report a list of files that it couldn't read and the error encountered (permission/file error).
http://www.tinyappz.com/wiki/Request:1177376875

I've had a backup that randomly failed to restore some files a while back that can't be opened, and are incomplete. I'd like to be able to get a list of them and restore them from an older backup.

http://slightlyprofessional.net/FAC.rar

you can either choose a file, multiple files, or entire directories. It'll verify that each file can be opened and yell if it can't open it. If you're doing your entire hard drive, dont worry, the program didnt' crash, it's just going to take a while opening each file on your hard drive.

Also, you can click verbose mode and it'll return the attributes of each file!

It's in c# so it needs .net.

Sharkface
Apr 20, 2002

Charun posted:

This is great, only it seems to need write permission to open the files. Is there any way to do it with just read? Or at least distinguish between no permission and read permission?

By default System.IO.File.Open() opens files in read/write mode so it would have been able to tell if it has write permission or not and report that. I rewrote it anyways to make it clear that is what the code is doing and to explain exactly why it cannot open the file for read/write either because it is locked by the OS or a lack of permissions or because the file disappeared.

http://slightlyprofessional.net/FAC.rar

Sharkface
Apr 20, 2002

Neurozys posted:

3 lines of code! (Plus importing a mixer library)

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

i took a stab at this in unmanaged c++ and no extern's other than the windows classes. it was a nightmare and i was amazed at how hard mfc has made this.

Sharkface
Apr 20, 2002

evilalien posted:

I would like a Windows program that does the following

1) Takes a folder name as input
2) Creates a new folder within this input folder for each file (not folders!) inside. The name of the new folder is the same as the file it is created from without the extension.
3) Moves each file into its corresponding folder.

I have a ton of crap to sort and this would help me immensely. A gui would be nice, but is not necessary. I know this is mundane as hell, but it should be pretty simple. Thanks in advance.

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

http://slightlyprofessional.net/DirectorySplit.rar

does exactly what you asked. You can dry fire it to be sure you're not gonna gently caress anything up.

Sharkface
Apr 20, 2002

Vanadium posted:

I was beaten and I did not even get to the GUI yet :smith:

Also it probably is going to gently caress stuff up

lol i didn't know about the system.io.path class.. that woulda made this a lot easier.

aaannndd I thought you could have a file and a directory named the same thing.. lemme make a quick rewrite. thanks for that!

Sharkface
Apr 20, 2002

Vanadium posted:

I was beaten and I did not even get to the GUI yet :smith:

Also it probably is going to gently caress stuff up

k i rewrote it using some of the ideas i got from your source. Thanks for using the System.IO.Path thing. I never woulda used that lol. check out my ghetto random namer!

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

Sharkface
Apr 20, 2002

Stares At Floor posted:

I would like a program that on launch:

1. Waits for 10 seconds.
2. Disables the IEEE1394 controller.
3. Waits for 5 seconds.
4. Enables the IEEE1394 controller.
5. Prompts if the device is enabled.
6. Gets user input (yes or no).
6a. If yes, quits.
6b. If no, returns to step 2.

I wrote a batch file that does this, but I would like a win32 app that runs at startup.

Is that tiny enough?

Thanks...

the win32 part makes this tough. the only way to do this is through WMI and typically, the folks who write drivers dont' include disable/enable commands in their drivers. would a .net app work?

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!

Sharkface
Apr 20, 2002

Sharrow posted:

I could do with an tiny app that... launches another app.

Basically, I have Program A which will occasionally launch Program B. I'd like to replace Program B with a better version, but the problem is that Program A has B's executable hard-coded in and also doesn't suppose arguments.

What I'm thinking is that instead of

A executes 'B.exe'

it's more like

A executes 'B.exe'
B reads 'B.ini'
B.ini contains 'xyz.exe -param 1 -buttes "jerk 2000"'
B executes 'xyz.exe -param 1 -buttes "jerk 2000"'

B would also need to stay resident and only terminate when the spawned child terminates so A stays waiting. If B could read a different config file depending on its own filename (so C.exe reads C.ini) that would be awesome.

xyz.exe would probably be in the same directory as B.exe, and the name and format of the config file I don't care about.

i could write a vb script that would read B.ini and fire the exe you want. i'm not sure why you want B to be a TSR, is there something that B would be doing after it executes the command?

Sharkface
Apr 20, 2002

thegasman2000 posted:

Sorry to be more clear... I have all different sizes and shapes and need them to all be square. the problem with Photoshop is that when it takes a 61 x 1551 image and I set it to make 415 x 415 it outputs a rectangle of 8 x 415. I need a 415 x 415 with white space on either side.

to be honest I am not sure that is any clearer!

try telling me what you want to do using the words crop and resize.. It sounds like a pretty simple powershell script once that gets sorted out.

Adbot
ADBOT LOVES YOU

Sharkface
Apr 20, 2002

thegasman2000 posted:

Awesome, I would like to resize the image, keeping its proportions, to a certain size. Then Crop the image into a square whilst not loosing any of the image.

for example I would need this - http://www.total-outdoors.co.uk/Productimages/WSBImages/Metalwork/MW010.jpg
and this - http://www.total-outdoors.co.uk/Productimages/WSBImages/Metalwork/MW034.jpg

To look like - http://www.total-outdoors.co.uk/Productimages/WSBImages/Thumbnails/Metalwork/thumbnail1.jpg

and - http://www.total-outdoors.co.uk/Productimages/WSBImages/Thumbnails/Metalwork/thumbnail2.jpg

i dont have an easy way to do this in powershell. its possible, but i'd have to modify the RGB directly. there has to be an easier way. just curious tho, why don't you size it in the html of the webpage you're displaying it in?

  • Locked thread