|
isagoon posted:I need a little applet to manage the 'New..' option in the right click menu in explorer. It doesn't have to be too complex, I just want something with a list of currently listed 'New...' options, and a way to delete/edit them. I was just trying out Delphi 2009 and thought this might be a good way to see what changed, but looks like I bit on more than I was willing to chew Basically, this whole thing is quite messy and doesn't seem to be very well documented so I only implemented basic functionality, and the two main ways of adding an item to that list. Both are done by creating a ShellNew key under the appropriate extension, one results in Explorer creating an empty (0 byte) file with the extension, the other copies a template file. There are at least two (edit: three?) other ways of achieving this, as well as some nested keys, and none of this is working now. As a result, some of the things you see on the New menu are missing from the list. Having said that, while the app isn't bullet proof or production ready by any means, it seemed to work fine for me on Win7 during limited testing. Give it a try and let me know if anything is seriously broken or you really need the other methods. I'm not sure if using tinyappz is mandatory, but it's 3 in the morning and dropping it in the bucket is as far as I can go now: http://mobby_6kl.s3.amazonaws.com/ShellNewEditor.rar BTW, why do underscores mess up the link? Edit: Oops, forgot to remove the panel caption, only noticed it when I resized the window to huge. Updated the file at the same link as above, also made some minor improvements and added a jump to function which opens regedit at the selected entry. A few things I neglected to mention previously. The app works with the registry, so A) you need admin rights to make any changes, and B) you should be careful with it. Although I doubt it will mess up the whole registry, it's pretty likely that if you try to change one of the existing items with the more complicated structure, it won't work any more. Editing the simpler records, as well as deleting and adding new ones, should be ok, although the filetype needs to be already properly registered in order for everything to work in explorer. mobby_6kl fucked around with this message at 12:37 on Oct 4, 2009 |
# ¿ Oct 4, 2009 02:49 |
|
|
# ¿ May 21, 2024 00:38 |
|
You can also use the windows task scheduler to achieve the same thing, typing something like at 23:00 "shutdown /s /f" should do the job (without having to multiply anything!), at least if you're admin or have the permissions to schedule tasks. You can also use the GUI tool to do the same thing. RagingBoredom posted:Timer app request Here, try this: http://mobby6kl.nfshost.com/tmp/CustomTimer.rar Times should be integers in seconds for now, but otherwise I think I covered all the requirements. You can even add way more than 5 steps. mobby_6kl fucked around with this message at 21:55 on Feb 16, 2010 |
# ¿ Feb 16, 2010 19:54 |
|
RagingBoredom posted:That's perfect. If you want to make it into minutes later then I'll probably use that but as it is right now, it's great. I can easily use it as is. Thanks a bunch I probably won't be able to get to this while I'm at work but otherwise it's not a problem, I should've made it properly in the first place
|
# ¿ Feb 17, 2010 08:29 |
|
RagingBoredom posted:Don't even worry about it. You came through perfectly. I've used ResHacker to add that tab and I've listed all the times that I would probably need so I'm all set. The program is great and I'm grateful for it. So thanks a ton You almost had me convinced there, but I couldn't leave it with such a half-assed effort. http://mobby6kl.nfshost.com/tmp/CustomTimer_1.1.rar you can now enter the time in MM:SS format, (something like 90:224 is ok), and a single number like "5" will be interpreted as five minutes. Highlight basically highlights the current element in the list. You can now also double click on any element there to set it as the current timer. Everything else should be self-explanatory. E: the file server is currently down but should be fixed soon E2: should be back up now mobby_6kl fucked around with this message at 16:37 on Feb 20, 2010 |
# ¿ Feb 20, 2010 03:05 |
|
thehandtruck posted:A lot of the time I open try to open firefox and I get the horribly annoying "Firefox is already running but is not responding." (as seen here http://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding ) Have you tried not using Firefox if it has been causing you these problems for a year or more? Anyway, paste this into a text file and save it as "firefox.bat" or something: code:
|
# ¿ Mar 4, 2010 19:23 |
|
Hoborg posted:Each Destination is a UserControl with the textbox/button/checkbox widgets on, they then exist within a FlowLayoutPanel set to flow vertically. Ahh drat, this is actually what I need to do. Instead, I'm clumsily cloning a template group box with all its children controls. epswing posted:In any input field with focus? Isn't that bordering on keylogger? I don't see how, wouldn't a keylogger require that the keys are being, you know, logged somewhere? This app would just listen for the events and substitute the two spaces for a dot. I'll give it a shot but can't promise anything as I'm in a phase where I try to do everything in pure C which I'm not too comfortable in yet.
|
# ¿ Mar 28, 2011 20:41 |
|
apati posted:thank you. Sorry this took so long, but try this. You'll need to keep the dll in the same directory as the exe file for it to work. Let me know if it does/doesn't do what you want, though you can also change the included sources yourself (see, no keylogging!).
|
# ¿ Mar 31, 2011 01:57 |
|
Gromit posted:My Vista HTPC sometimes forgets the resolution and refresh rate and I have to go through a bunch of menus to switch it back so the picture on my HDTV looks good. I'd love to have a button either on the desktop or the toolbar that just resets it all to 1920x1080@60Hz. Reset Resolution (I really suck at coming up with names). Just run the exe to (try to) set the resolution to 1920x1080@60Hz, or give it command line arguments like so: 1920 1080 60 (you can do it with a shortcut). Update: Thanks to nielsm and Gerblyn of CoC, this should be fixed now. Just download the file again if you already got it before this update. apati posted:YES. thank you! Of course it's possible... I updated this one as well, just get the new version from the same link. mobby_6kl fucked around with this message at 17:22 on Apr 2, 2011 |
# ¿ Apr 2, 2011 12:17 |
|
Corla Plankun posted:Is there a way to tell the difference between an animated GIF and a regular one in software? I have a big pile of GIFs I got from a website and I want to sort them into two folders (animated, not animated). I feel like a simple script could do this if there is a key difference in file headers or something like that. Don't want to come off like I'm hoarding all the requests here, but I actually already have a script I wrote a while ago almost exactly for this purpose. You'll need Perl and ImageMagick: code:
Edit: Here's a C version since kept bothering me yesterday http://mobby6kl.nfshost.com/files/software/gif.rar. Usage is the same as the Perl version, but it shouldn't require any dependencies. mobby_6kl fucked around with this message at 23:49 on Apr 4, 2011 |
# ¿ Apr 3, 2011 23:19 |
|
^^^ I might give that one a try as well, but keep in mind that I currently have no idea what I'm doing so this might not turn out well (or at all). sofokles posted:this might exist for all i know. Certainly. What format is the time in, just HH:MM:SS, and 12/24 hours? Our could you just post an example line from the file?
|
# ¿ Apr 16, 2011 18:58 |
|
sofokles posted:Hey, thanks for showing interest. I'm in no rush But here, try Mr. Fahrenheit. It should work with any reasonable time format as it uses some standard .net functions to deal with this stuff, but if it doesn't work in your format, try to change it to HH:MM:SS at least. The temperature will be taken from the third column. I also have a Perl script that does the same thing, but you're probably more likely to have .NET than Perl + ImageMagick, plus GUI Gromit posted:An update on this: That's... strange, but I'll see what I can do about this.
|
# ¿ Apr 18, 2011 19:44 |
|
poo poo, I thought I just re-uploaded it with the sources, but I actually archived it with 7zip this time so the rar link didn't work any more. Anyway that's probably a good thing because I just noticed that I hardcoded in white text color, which worked great for my tests but could be invisible for you. Now it's possible to choose any color. Here's v1.1
|
# ¿ Apr 18, 2011 22:23 |
|
sofokles posted:Got it up and running now, gives me an error on time format. As you can see by the language I'm an alien, but I translated the important gibberish. ved = at Yeah, this line says that the problem is with parsing the date: code:
|
# ¿ Apr 19, 2011 13:44 |
|
sofokles posted:Got it up and running now, gives me an error on time format. As you can see by the language I'm an alien, but I translated the important gibberish. ved = at Try it now (same link). It should work the way it is, based on that format, but you can also change it to fit whatever you have. Gromit posted:An update on this: I couldn't reproduce your problem unfortunately, my wallpaper just gets reset to stretch/fill the screen whenever the resolution changes. Try to download it again now though, I made a small change that might make a difference.
|
# ¿ Apr 20, 2011 07:20 |
|
Sounds definitely doable and I'll give it a shot, though of course everyone else is welcome as well.
|
# ¿ Jun 3, 2011 20:55 |
|
I almost poo poo myself when the computer failed to start today, but after booting into safe mode it's ok again . Anyway, here we go, Printmon v1
I realize that might be a bigger problem on XP as opposed to Win7, so I'll try to add this soon. And I'll also add the source once I clean it up a bit, it was a learning experience in some aspects
|
# ¿ Jun 8, 2011 07:29 |
|
Well, there's no kill like overkill, right? Here's my attempt.. Just browse for a file (don't type it in) and start monitoring. It will automatically update the chart when Windows detects a change in file size. Sometimes this doesn't happen immediately, for example if the file isn't written to disk yet due to caching (according to MSDN documentation) or if it's still open and being written to (according to my testing with downloading from Opera). You should be able to force an update by refreshing an explorer window in the folder. Since I'm not sure how exactly you're going to use it, I stopped at this point, though these are possible improvements, roughly by increasing difficulty:
Let me know if it works and/or which changes you need. The source is included (Which I'm sure is full of WTF material) so anyone can modify it. PS. I really hope you're using Windows Amphigory posted:This is really cool, and almost perfect. No worries if you don't get it cleaned up - it works well, and I really appreciate it! Cheers mate
|
# ¿ Jul 3, 2011 21:02 |
|
Hoborg posted:BTW, what's the current status of any "Request a Tiny Custom App Website" thing to organise all of the posted apps? I just put all my apps in a folder on my host and will create some kind of directory for them when I can get off my rear end long enough to finish that. Otherwise I think we just have the archive that CP posted above.
|
# ¿ Jul 6, 2011 01:35 |
|
I'm working on a solution in C, but so far I didn't get past safely and reliably parsing the input Somebody will surely finish before I do, but it's a fun app to code and maybe the extra performance will be useful.
|
# ¿ Jul 19, 2011 09:30 |
|
What about dots? That would make things a bit trickier code:
|
# ¿ Feb 13, 2012 17:40 |
|
Sab669 posted:Based off that error message, it looks like periods should be fine. I can kind of make sense of that code, it looks like it's just replacing any non A-Z, non 0-9 with an empty string? Just curious, does it loop through subfolders? Some of the things I have are multiple folders deep. Yep, your interpretation is correct. You can add other characters within those square brackets to keep them. Or remove ^ and specify which characters you want to remove instead (though you'll need to escape some special characters like dots with a \, like so [\*\?\.]) This thing doesn't work with sub-folders, actually - just the current directory. It should be as easy as adding -recurse as in ToxicFrog's original Powershell snippet, but it doesn't work as it's trying to rename all the files within the current directory, and I can't figure out how to get it to consider the current path (I suck at powershell). To run it, just paste that line into a Powershell window and hit enter. I suppose you can save it into a file, but I'm not sure how Powershell deals with that.
|
# ¿ Feb 13, 2012 21:14 |
|
OnceIWasAnOstrich posted:Everything was going smoothly until I also realized how time intensive it would be to look up all the junk words in the dictionary. Still, that's actually a very interesting challenge and I'll give it a shot this evening, no matter how useless this program appears to be
|
# ¿ Apr 11, 2012 09:15 |
|
peepsalot posted:Lists are bad for lookups, you are doing O(n) for every is_word check, where n is number of words in dictionary. Use a set instead, it's like 100x faster. I was planning to use a hashing function that would be more efficient for such lookups. How are actually the sets in Python (?) implemented?
|
# ¿ Apr 11, 2012 16:14 |
|
I'm starting to get an idea why higher level languages became popular.code:
The first command line argument is the number of characters to generate per line, and the second is the word file, so monkeys.exe 50 "words.txt" should work. Here's the same thing in Perl, about an order of magnitude slower but not missing any words: code:
|
# ¿ Apr 15, 2012 18:50 |
|
If you have a Windows Mobile 6.x phone or PDA, I wrote almost exactly this a while ago! Otherwise I'll try so code something up, but no promises, as I'm now also taking 4 online courses which are starting to kick my rear end.
|
# ¿ Apr 17, 2013 18:36 |
|
Or Powershell, it's basically the native Windows substitute for Perl as a glue language, and has access to tons of useful .net stuff.
|
# ¿ Apr 20, 2013 21:41 |
|
stradiwari posted:There are some users in my Windows Network that create new Folders for certain tasks, to make things quicker they copy an existing folder tree and paste it to the new location. The folders start out empty and are filled with files oder time. Try this. You'll just need to register the dll manually by running this as admin in whatever folder you extract it to: code:
code:
|
# ¿ Feb 23, 2014 19:44 |
|
Here you go. Since it wipes files, definitely use at your own risk however!
|
# ¿ Mar 6, 2014 02:03 |
|
poo poo sorry epalm, didn't mean to preempt your app, I had a reply open while I went off for dinner. You're welcome Hogburto. Please don't consider that code to be exemplary or anything, I've been really itching to use goto somewhere after the whole Apple fiasco
|
# ¿ Mar 6, 2014 13:13 |
|
Corla Plankun posted:Device properties are driver-dependent and on my laptop the only thing in that tab is a slider that maps 1-to-1 with the regular volume control slider. This seems to be the behavior of the default windows drivers, it's the same on my thinkpad. Maybe try installing vendor-supplied drivers in case they have more options?
|
# ¿ Sep 9, 2015 07:54 |
|
That's easy, but I gotta sleep now.
|
# ¿ Nov 19, 2015 02:28 |
|
Sorry things got a bit busy. Here you go: KindleKleaner Just copy the executable to the base directory (like F:\documents) and run it from there. It'll move all orphaned .sdr files to a new subfolder called ".SDRs". It's not checking for any specific extensions, just anything else, let me know if that's a problem. Folders starting with a dot (.) are skipped. Also I tested it on my own system but it very well can delete everything and send me your bitcoins, so your own risk etc.
|
# ¿ Nov 20, 2015 22:42 |
|
Oh wow, somehow I missed that those are folder and not files, even though you explicitly say so in several places. Probably has something to do with reading the requirements at 1:30am I'll change it so that it moves the "Book2.sdr" folder and everything in. Book1.txt Book1.sdr\abc.xyz Book2.sdr\def.xyz
|
# ¿ Nov 20, 2015 23:48 |
|
So that was super straightforward to change but I don't blame you for not messing with that code, it's... a bit sketchy KindleKleaner
|
# ¿ Nov 21, 2015 19:40 |
|
Are you going to have your own version too? You can put down this app idea there. Actually you'll probably need to extend the specs to three options, with "loving terrible" category as well.
|
# ¿ Apr 7, 2016 10:14 |
|
gary oldmans diary posted:How did it sort them? I think it just showed you them one by one and moved them based on a key you pressed. IIRC I made that GIF program, I'll try to see if it's still around somewhere.
|
# ¿ Jun 6, 2016 08:07 |
|
|
# ¿ May 21, 2024 00:38 |
|
mobby_6kl posted:
Oops, forgot about this, sorry Yes this was me, you can get the GIF thing here: http://mobby6kl.nfshost.com/apps/gif.rar Just run the exe with two arguments for folders where the static and animated gifs would be moved, and it will go through the gifs in its directory. I don't recall how exactly I came up with that identification method but it's not perfect and there are a few incorrect classifications, but shouldn't be too many.
|
# ¿ Aug 24, 2016 20:53 |