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

Coding Snack: Toggle Fullscreen of Control (or Zoom control to fullscreen)

I would like to have a small program that will allow a user to stretch a given region of the screen (a window and/or control) to fill the entire screen and then "unstretch" it back to its original size and position.

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

posted by murple donate to murple - October 05, 2008, 11:06:00 PM
social bookmark this story (permalink)
(read 20 comments)


Easy Unicode Paster 2.0 is Released (Major Update)

DC member Eric Wong (VideoInPicture) has been on fire lately creating all sorts of cool new utilities.  This one is bound to be useful to some people, especially with its high degree of customizability..

http://easyunicodepaster.wikidot.com

September 4th, 2008
  • Version 2.0 of Easy Unicode Paster is released.
  • The structure of the program has been changed. The Config.ini file is now separate from the character sets used.
  • Includes over 100 different character sets.
  • Access all the character sets from within Easy Unicode Paster.
  • Utilizes a table of "buttons" for better performance and a cleaner look.
  • Program will automatically change the layout of the table according to how much space is available. It makes it so that you only have to scroll vertically when there is not enough room to display all the items.
  • Has support for pasting multiple characters with one button. See the "Example Character Set.ini" file in the "Character Sets" folder for details.
  • The items on the toolbar and the context menu have been tweaked. Gone is the option to make EUP not topmost because this was not a very useful option in practice.


With this release, I firmly believe that Easy Unicode Paster is one of the best and easiest to use unicode character maps out there and can compete with products that charge for something similar. All the other character maps I have tried have failed in their ease of use or how the program operates. Easy Unicode Paster pastes unicode characters in whatever document you are working with using just 1 click for one character.

posted by VideoInPicture donate to VideoInPicture - September 05, 2008, 01:37:00 PM
social bookmark this story (permalink)
(read 11 comments)


Re: Alarm When Power Cord Falls Out of Notebook

Here a simple command line utility.

BatteryRun - Run commands when the power plug is connected or disconnected.

Command line:
  BatteryRun.exe "<connect command>" "<disconnect command>"
Example:
  BatteryRun.exe "ding.wav" "calc.exe"

You'll find the downloads and more info at 1 Hour Software by Skrommel.

For multiple actions, I suggest making an AutoHotkey script.

Skrommel

posted by skrommel donate to skrommel - September 01, 2008, 09:56:00 PM
social bookmark this story (permalink)
(read 13 comments)


Small utility for quick prototyping GridMove layouts

I've wrote small utility for creating simple GridMove layouts.
It's main task to make easy calculating grid's coordinates (I was bored after making two grids smiley).
GridStack is a command line application accepting definition of a grid layout and outputing GridMove's template.

    Click here to read more and download..

posted by Xitsa donate to Xitsa - August 22, 2008, 05:55:00 PM
social bookmark this story (permalink)
(read 8 comments)


IDEA : script which popup browse dialog and generate shortcut

What I'm looking is pretty simple (I think)

A tool which pop up the user a browse dialog like this


the user choose a folder, and it generate a shortcut (on his desktop) and add the choosen folder's path to the shortcut

Example :

c:\app\app.exe path of the folder*.jpg path of the folder /someparameter /someparameter

Parameters in blue never change, they are the same for all shortcut created, only the red change

(I would also like to be able to specify an icon for the generated shortcut, but it's absolutely not a priority ^^)

    Click here to read more and download the utility written by DC Member Lanux128

posted by Coldiffusion donate to Coldiffusion - August 10, 2008, 09:40:00 AM
social bookmark this story (permalink)
(read 12 comments)


Re: IDEA: use key to constrain mouse movements to horizontal/vertical

Try DragLock

DragLock - Press the windows key to lock the mouse movement along one axis.

Features:
- Locks to the axis you start to move along.
- Rightclick the tray menu to change hotkey.

You'll find the downloads and more info at 1 Hour Software by Skrommel.

Skrommel

posted by skrommel donate to skrommel - August 02, 2008, 05:05:00 PM
social bookmark this story (permalink)
(read 12 comments)


IDEA: prompt Properties>Comments, when creating link for exe

When I (seldom) go to Start > All Programs, or (almost always) Quick Launch (True Launch Bar) to search for whatever program I am in need of, very often I cannot remember the name of the program in question, or I cannot remember if I am in need of program A, B, or C - because I cannot recall their features!

All shortcuts have this tooltip feature, point to the link and a tooltip can tell you what the linked program can do, but very few programmers use the feature. I also forget myself to type in such informations, when I create the shortcut.

So, my idea is for some app to prompt the Properties > Comments to pop up, whenever a shortcut is created for an exe file. This way, when I find a new program that I would like to test, I can copy the description of the features, from the site, and when the program has been installed and a shortcut must be created, this app 'you' are about to author, will force me to remember to paste that description into Properties > Comments. And from now on and for ever I can merely point at the shortcut and remember what the heck it was that this particular program was supposed to be able to do.

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

posted by Curt donate to Curt - July 26, 2008, 07:32:00 PM
social bookmark this story (permalink)
(read 4 comments)


New App! File/Folder Date Organizer

This little app will search through a selected folder and
reorganize everything in that folder (keeping relative paths intact) into
dated folders.

need an example? ok:

let's say you have the following folders

c:\my stuff\something old (files in this folder are dated Feb. 2005)
c:\my stuff\something new (files in this folder are dated Mar. 2008)

Select 'c:\my stuff' as the search folder and you'll end up with this:

c:\my stuff\2005-02\something old
c:\my stuff\2008-03\something new

seems simple and useless... that is, of course, unless you have literally
hundreds of folders and random file sitting in that folder!

How does it work?

All files in the root folder are treated as separate entities and put into
their respective dated folders based on their own file date.

All folders in the search directory are kept in the exact path structure
as they sit in that folder. The date is determined by the newest file date
found within that folder and it's subfolders. Because of this, it ideally
works with folders that only have one level of subfolders within itself.
If you use this in folders that have multiple layers of nested folders,
the files/folders being moved to a dated folder will all be grouped by the
very latest file within that entire tree!



    Click here to read more and download..

posted by seedling donate to seedling - July 26, 2008, 04:55:00 PM
social bookmark this story (permalink)
(read 6 comments)


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 26 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 12 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 27 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, 08: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, 03: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, 09: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, 07: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, 05:42:00 AM
social bookmark this story (permalink)
(read 22 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, 02: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 02, 2008, 12:51:00 AM
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, 05: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 08, 2007, 12:33:00 AM
social bookmark this story (permalink)
(read 56 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, 02: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, 04: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)