Coding Snack
Downloads

Coding Snack Downloads
Each of these small programs was coded in response to a user request on the Coding Snacks Section of our forum. These are all freeware programs, but unlike our other programs, they typically do not come with an installer or help file. All rights for these programs are retained by their original authors.

Be sure to
visit Skrommel's 1-Hour Software Page
for lots more Coding Snack Programs.

NEW NON-SKROMMEL RELEASES


view older items

Hide menu in Start Menu

Hello. I have a long list of start menu and i want to hide some of them to make it shorter. i could just use 'tidy start menu' but it doesnt hide menu instead it just sort the menus into group. that's not what i want.

can someone write a program that will hide main entries by changing their folder attrib. a simple program with listbox (with checkboxes)

    Click here to read about and download the utility written by DC member skrommel to do this..

posted by blackcat donate to blackcat - June 18, 2008, 07:59:00 PM
social bookmark this story (permalink)
(read 23 comments)


tv_out: a shortcut for quickly turning extended desktop on/off

tv_out creates a shortcut for quickly turning extended desktop on/off.
the shortcut icon changes to reflects the on/off state of the extended desktop.
download from this page: http://nod5.dcmembers.com/tv_out.html

I have tested tv_out on several different systems without any problems. Post some feedback if you encounter a bug.

posted by Nod5 donate to Nod5 - April 17, 2008, 07:42:00 PM
social bookmark this story (permalink)
(read 10 comments)


Re: Window Tags 

Here's KeySwitch - Use hotkeys to switch windows!

 1: Press Ctrl-T to start assigning a hotkey.
 2: Press Ctrl and 0 through 9 to assign that hotkey to the active window.
 3: To swith to a window, press the assigned hotkey.

To change modifiers and hotkeys, edit the modifier= and addkey= lines below.

-Skrommel

    Click here to download the utility written by DC Member Skrommel to solve this request..

posted by skrommel donate to skrommel - April 14, 2008, 12:27:00 PM
social bookmark this story (permalink)
(read 11 comments)


IDEA: Vista integrity levels shell extension

Hi!
A really useful little app would be a shell-extension that lets you view and change Vista's new integrity levels feature on files and folders.  Here's a command line version:
http://www.minasi.com/vista/chml.htm
A GUI shell-extension would be so useful!  I'm afraid I've no idea whether this would be a coding snack or a coding banquet to do though...
Even just the ability to view them through a shell-extension would be useful.
Best wishes,
Andrew

    Click here to download the utility written by DC Member Skrommel to solve this request..

posted by cantoris donate to cantoris - March 29, 2008, 06:48:00 AM
social bookmark this story (permalink)
(read 4 comments)


SOLVED: Taskbar Displayed Only On <Win> Keypress

I would like the Taskbar to autohide and not popup when the mouse cursor goes to the bottom of the screen. I would like the Taskbar to popup when I hold down the <Win> key. IOW, I don't want <Win> to activate the Start Menu like it does by default.

Summary:
  • Windows Taskbar is hidden by default.
  • Moving the mouse cursor to the edge of the screen doesn't activate the taskbar.
  • Balloons from the Taskbar Notification Area popup as normal.
  • Pressing, and holding, the <Win> key brings up the Taskbar.
  • Releasing the <Win> key autohides the Taskbar.

    Click here to download the program written by forum member Skrommel to solve this request..

posted by tinjaw donate to tinjaw - March 18, 2008, 10:09:00 AM
social bookmark this story (permalink)
(read 22 comments)


DetachVideo - Give embedded videos their own window!

Detach embedded videos from your tabbed browser and show them in a window of their own.

Usage: Hold your mouse over a video and press F12.

Skrommel

    Read more..

posted by skrommel donate to skrommel - March 04, 2008, 07:27:00 AM
social bookmark this story (permalink)
(read 11 comments)


Re: H E L P !!!  I lost a spreadsheet!

Do you ever click NO by accident on the dialog asking if you want to save your changes?

I once made an AHK script for a friend as he kept running into situations like this. Assuming you use Microsoft Excel, maybe you'll find it useful too.. this script monitors and disables the "No" button in the dialog box that prompts up when trying to close an unsaved file. (see pic).

P.S. in case you really need to close a file without saving, there is a hotkey (Win+p) that will turn off the monitoring for 10 seconds.

    Read more and download..

posted by lanux128 donate to lanux128 - February 12, 2008, 02:38:00 AM
social bookmark this story (permalink)
(read 7 comments)


Coding Snack: IconAnyFolder - Autopick custom icons for folders based on resources in folder

IconAnyFolder v0.1 - First Release (written in C#)

Features
- a user prompt for specifying directory
- an option loop recursively into subdirectories
- a cleanup option that runs through and deletes all desktop.ini files, or removes the icon entries in them
- If the first icon resource (exe) the script encounters does not have an icon present, move to the next resource.

This program was written in response to a request on the forum: "Basically, I want a function similar to the way Windows will sometimes change folder icons based on what's inside them, except I want the .ico or .exe icons present inside the folder to be used instead of icons of stock images of music notes or flowers. This is one of those things that sounds simple to a non-programmer, lucky me if it actually ends up being simple to execute."

    Read more and download now..

posted by gogogadgetscott donate to gogogadgetscott - February 05, 2008, 08:11:00 AM
social bookmark this story (permalink)
(read 25 comments)


Coding Snack: MiniMe (aka MaxiMe)

I needed this quickly so whipped up this AHK script to quickly minimize or maximize windows using right shift and control. I got really frustrated with the fact there is no windows shortcut to minimize the active window. If you're like me and have many window open then consider using minimIZE to minimize windows to a small desktop thumbnail (and out of your taskbar). In combination with that, this script can make windows management a lot less painless.

    Read more and download now..

posted by justice donate to justice - February 01, 2008, 06:14:00 AM
social bookmark this story (permalink)
(read 32 comments)


Coding Snack: Drive to open on Dated folder

Hi Coders

I have a partioned drive which I download programs, web pages, etc.to .  almost on a daily basis. This is done mostly through a program downloader (called DOWNLOADER) it automatically archives the programs etc into a dated folder ie 20/01/ 2008.
I leave these in the folders there in which they are archived in until they are needed.

What I want to be able to is to open the today’s dated archived folder when I access the drive which there are on.

This hopefully would be be done from a shortcut from the desktop.
The coded program would have to locate the (today’s)dated folder if it exists and if a today's dated folder doesn’t exist open the drive as normal .
The date format is dd/mm/yyyy



    Continue reading and download the utility written to do this..

posted by nogojoe donate to nogojoe - January 20, 2008, 04:42:00 AM
social bookmark this story (permalink)
(read 21 comments)


Monitor Dimmer Script

I guess this program could be a little more flexible, and its not that amazing, but I wanted to share it as it fulfilled a need I had.
Also, I wanted to share the technique I used as it took me a while to get it to work the way I wanted.

Background:
I have two monitors. Often, I'll watch a movie or play a game on the left one, while I will also be browsing web pages and chatting with people on the right one.
If the movie or game is dark, and I'm looking a mostly white webpage, there is too much light.

Solution:
This program creates a window.  A variable-alpha-transparency, black, always-on-top window, with no titlebar, etc.
It covers my entire right monitor.  BUT, by setting WS_EX_TRANSPARENT, its made transparent to events, and thus mouse clicks, keystrokes, etc. are passed on through to the windows below it.

Win Numpad+ darkens the screen, Win Numpad- lightens the screen, Win Numpad* toggles the overlay on/off.

So, without further ado, I present -- MonitorDimmer. In both AHK and EXE. Enjoy!
--matt

    Read more and download..

posted by mmdoogie donate to mmdoogie - January 20, 2008, 01:41:00 AM
social bookmark this story (permalink)
(read 11 comments)


WinManagement Snap!

Ok, so here's a modified version of jgpaiva's WinManagement AHK script (my first try at a "real" AHK script).

Here 'a description of the hotkeys/features (these are mere suggestions : to modify the hotkeys, just modify the script) :

Snap window's borders to edge of the screen :
--------------------------------------------------
WinKey + Up  : snap top window border to screen edge
WinKey + Down : snap bottom window border to screen edge
WinKey + Left : snap left window border to screen edge
WinKey + Right : snap right window border to screen edge


Move window to screen corners :
----------------------------------

WinKey + Home : move window to upper left corner
WinKey + End : move window to bottom left  corner
WinKey + PgUP : move window to upper right corner
WinKey + PgDn  : move window to bottom right corner


Maximize vertically or horizontally :
---------------------------------------

Ctrl + WinKey + Left or Right : Maximize horizontally
Ctrl + WinKey + Up or Down : Maximize vertically


Other common window management :
------------------------------------------

Ctrl + WinKey + PgUP : Maximize/Restore window
Ctrl + WinKey + PgDn : Minimize window
Ctrl + WinKey + Home : Toggle On Top/Not On Top   

    Read more and download..

posted by Armando donate to Armando - January 01, 2008, 11:51:00 PM
social bookmark this story (permalink)
(read 20 comments)


File Propagator: File Search and Replace

I am trying to find a program that allows me search for and replace files with a source file.

Example:

I have a large directory structure that has numerous folders and subfolders.  There are many scripts that execute from this structure, and some rely on psexec.exe.  Since many people access this structure, a copy of psexec.exe is stored in each of the script directories instead of one central location.  The problem comes in when I want to update psexec.exe to the newest version.  Finding and replacing each old one with a new one is a tedious task.

So, I would like a program that can search for every instance of a specific file name and replace it with a source file that I specify.

Any help would be greatly appreciated.

    Read more and download the created program, File Propagator

posted by darklight_tr donate to darklight_tr - January 01, 2008, 04:54:00 AM
social bookmark this story (permalink)
(read 15 comments)


CLIPSTEP from Skrommel; Script MOD

Further to last post, I have now completed CLIPSTEP mods that improve usability and add functions:
  Ctrl-Alt-V added to Toggle Current (%A_WorkingDir%) & Permanent dir: .\Perm
      This option only available after SHOWCLIP initiated.
  Ctrl-Alt-C added to COPY current clip(%A_WorkingDir%) TO: Permanent Dir .\Perm
      This option only available after SHOWCLIP initiated, if current dir is default
  SHOWCLIP (^V) uses Progress for readability and shows Previous & Next clip
      as well as showing current clip filename, "No." of "Total clips",
      and if clip is "FILE" / "Address"
Also corrected fault in version sent before with filecopy

If you think this of any interest, perhaps you can suggest improvements?
Excuse the errors if there are any. I think these MODS make it more user friendly.
Would welcome any comments!

posted by TWmailrec donate to TWmailrec - December 07, 2007, 11:33:00 PM
social bookmark this story (permalink)
(read 55 comments)


DONE: Drive space monitor

I went around to my friends house last weekend to fix his computer.  One of the problems was that he had about 4mb of free space on C.  After deleting a temp CD image file he nearly had 1gb free and things had improved.

I do alot of tech support for friends and family.  I think it would be useful to have a little program that I could give out (a single small exe) that can sit in the startup folder. 

To configure the program I state how much disk space I would ideally like to be free or state a percentage.

On bootup of Windows it does a little check to see if this amount of space is indeed free.  If not a message pops up (we should be able to insert whatever we want) with a warning.  e.g "Hey Dan, Windows is running low on diskspace. Give me a call and we will sort it out - Deano".

    Read about and download the coding snack program written by DC member Edvard to do this..

posted by deano donate to deano - December 02, 2007, 01:00:00 PM
social bookmark this story (permalink)
(read 11 comments)


Coding Snack: Autofocus utility

The other day I was playing the excellent Dwarf Fortress in a window on one monitor, whilst browsing the internet on another. I found myself constantly having to switch back and forth between windows as the focus was switched whenever I used the browser window.

What I'd love to have is something where you could designate a particular window as the primary one, so that if I were to click on another window (say a link in my browser), it would automatically shift focus back to the primary window, saving me from having to play tennis with my mouse or pressing alt-tab all the time. I hope this is something that is doable!

    Read and download the utility written in response to this request..

posted by ababo donate to ababo - November 19, 2007, 03:21:00 PM
social bookmark this story (permalink)
(read 5 comments)


Coding Snack: AltTab Fingertips

I made a small AHK script I thought you might want to use: AltTab Fingertips. Many thanks to ak_ for creating "menu at cursor" idea with FileDraft, which inspired this. It's like alt-tab but quicker. A lot of code comes from my PutAside script.

-DC Member Justice

Press a configurable hotkey (F10 by default), and get a menu at the mouse with all the current windows on it. You can exclude processes using the tray menu.




Cool utility which pops up a menu of windows you can switch to when you click alt+tab, instead of the default windows operation which is to cycle through windows.

    Continue reading and download..

posted by justice donate to justice - October 30, 2007, 11:20:00 AM
social bookmark this story (permalink)
(read 19 comments)


Windows Install Date Thingie: I made it!

Ever wonder when your copy of Windows was installed?  Me neither.

But, today I was poking around in the registry and stumbled across this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate

Which is a dword value holding the number of seconds since that fateful day you reinstalled windows last.

So naturally I had to write a little applet to pull the value and display it in an easy-to-read format.  As a bonus, you get a real-time update, for those of us with compulsive disorders.

Please download your copy today, and report back the oldest living Windows installation.  The winner will get a hearty thumbs-up and a stern reminder to knock-on-wood.

Thanks,
Ralf


    Read more and download..

posted by Ralf Maximus donate to Ralf Maximus - October 26, 2007, 01:36:00 PM
social bookmark this story (permalink)
(read 60 comments)


Secure automated backup on *nix

After having lost months of work on various projects(ironically one of them was a backup tool) due to HD crashes and such, I wrote a little Bash shell script that will automatically archive a directory (and all it's sub-folders) and upload it via secure copy (scp) to a remote shell account. I figured I would share this with my dc buddies in case any one can use it.

It reads a simple configuration file in which you can configure a few things, including files to EXCLUDE from the backup. (for example: object files and other garbage files generated while compiling a program).

I will post step-by-step instructions on how to use this, but first, here is the script:

    Continue reading and download..

posted by Gothi[c] donate to Gothi[c] - October 22, 2007, 07:18:00 PM
social bookmark this story (permalink)
(read 5 comments)


CODING SNACK: Use scroll lock LED as hard drive indicator

Years ago I found a program that allowed you to use the scroll lock LED as a hard drive light indicator.  I have not been able to find it again after numurous pcs and HD crashes. I tried searching the net and have not found a replacement either.

This was WAY before motherboards had integrated hard drive controllers. I think they were intercepting hardware int15.

There is a software version that sits in the task tray but I find that one annoying.

    Continue to download the coding snack..

posted by wetsmellydog donate to wetsmellydog - October 17, 2007, 05:26:00 AM
social bookmark this story (permalink)
(read 27 comments)


Coding Snack: Run on unhibernation

Hey guys,

I was wondering if one of you would know a way or know of a program or would like to create a program that would run or do something upon the machine unhibernating.

    Read about and download the coding snack written by jgpaiva to do this..

posted by m0rph donate to m0rph - September 18, 2007, 12:02:00 PM
social bookmark this story (permalink)
(read 5 comments)


IDEA: Virtual Flashlight

I would like to have a software which would create a virtual spotlight or flashlight, wherever mouse pointer moves

Similar tools which work only with MAC:
omniDazzle (http://www.omnigroup.com/applications/omnidazzle/)
Mousepose (http://boinx.com/mousepose/)

Would like to have more features like 'hiding the mouse pointer' etc..

Thanks, Cheers!

    Download the coding snack written to do this..

posted by anjan_oleti donate to anjan_oleti - September 08, 2007, 11:03:00 AM
social bookmark this story (permalink)
(read 44 comments)


Silly Idea? A program that counts out loud

I had a funny idea today, and although i can't for the life of me think of a real use for this, it might be a fun project for someone looking to mess around with speech synthesis libraries.

Idea is a small program that just starts counting out loud like:
one, two, three, ..., five thousand and fifty four, ...
and so on until you stop it.

Might be interesting to put it on while you are trying to get to sleep.  I think for something like this it would be nice to use a quality voice library or maybe even custom recordings of the numbers (such a limited vocabulary so it should be possible).

    Download the programs members wrote to do this..

posted by mouser donate to mouser - August 22, 2007, 12:07:00 PM
social bookmark this story (permalink)
(read 19 comments)


SubDude, a subtitle renaming program

Here's a little program i made for myself to automatically rename subtitles files to match video files because i was tired of doing it by hand. I guess this program will not be very useful to english-speaking people but it might be to the others.

Here's the situation : you have a folder containing a few episodes or a whole season of a (100% free to download embarassed) tv show. You download subtitles files for it and you realize the names of the of the video files and the names of the subtitles files don't match (ie Serie.s01e12.avi & Serie1x12.srt). If you want your media player to automatically load subtitles, you have to rename every subtitles files by hand.

    Continue reading more about this tool and download now..

posted by ak_ donate to ak_ - August 17, 2007, 06:26:00 PM
social bookmark this story (permalink)
(read 14 comments)


IDEA: Show number of characters as I type in email

Sometimes I need to send an email which comes to my phone as an SMS. It would be handy to know when I have reached the 160 character limit as I type in real-time or even if I paste. Does anyone have an idea how this can be done and only show when I use Outlook Express (or Outlook) or when I use IE or FF for example. I don't need it when I am typing in Notepad.

Keep reading till the end of this thread to find a great new little Coding Snack tool called Count-as-you-type, whipped up by forum member lanux128 (jump directly to download here).

posted by IconBoy donate to IconBoy - August 17, 2007, 01:48:00 PM
social bookmark this story (permalink)
(read 53 comments)


Re: IDEA: Show number of characters as I type in email

i seem to have too much time on hand so i came up with this AHK script.. there is a list of changes below. smiley

Count-as-you-type v1.36
• display number of characters typed.
• needs Autohotkey for the AHK script. there is a compiled EXE as well.

Changes:
• name change. Cool
• added tray-balloon notification when exceeding max character.
• auto-appear when OE compose window is active.
• launch GUI by double-clicking tray-icon.
• 'Close to Tray' button closes with text kept in memory (no re-typing).

• Added gui for configuration.
• Changed window detection from AHK Class to WinTitle (see note below).
• Added Nod's code for GUI changes. (Thanks, dude!)
• GUI closes when existing compose window is closed.
• Escape key now works the same as 'Send to Tray'.
• Minor fix: Settings for email app wasn't being saved.

Note: After recognizing the difficulties in supporting more than the three pre-defined email apps, i've added the 'Quick-Send' feature where you can use this script as a stand-alone tool. Basically, type your message then click on the 'Send' button and your default email app will be opened with the message in its compose window. To use this, check the 'Quick-Send' and your 'Copy' button will morph into 'Send' button. smiley

Main
blogimage

Config
blogimage

* Count-as-you-type-v136.ahk (7.93 KB - downloaded 440 times.)
* Count-as-you-type-v136.exe (237.26 KB - downloaded 309 times.)

posted by lanux128 donate to lanux128 - August 09, 2007, 08:51:00 AM
social bookmark this story (permalink)
(read 53 comments)


FileDraft - display newest files in a menu

This is a small ahk script i made for myself because i was looking for a way to easily access my latest downloads. Today i thought that maybe it could be useful to other people so i made little modifications and improvements and here it is.

Here's how fileDraft works : put fileDraft.exe anywhere and create a shortcut to this exe with two parameters. First one is the folder you want to browse, second one is the number of files you want to display.

Example :
  • c:\fileDraft\fileDraft.exe "c:\downloads" 10 will display a menu showing the 10 most recent files in c:\downloads

FileDraft accepts a few keywords :
- <desktop> : desktop folder
- <user> : your "user folder" (i.e c:\documents and settings\username)
- <mydocs> : "My documents" folder
- <windir> : Windows folder

Examples :
  • c:\fileDraft\fileDraft.exe "<mydocs>\Torrent Downloads" 5 will display a menu showing the 5 most recent files in the "My Documents\Torrent Downloads"
  • c:\fileDraft\fileDraft.exe "<desktop>" 20 will display a menu showing the 20 most recent files on your desktop

The best way to use fileDraft is to place the shortcut on a toolbar or in the quicklaunch bar.

Hope it could be useful to someone smiley

* fileDraft.exe (292.56 KB - downloaded 394 times.)

posted by