+ Script info

+ List of available parameters and their script set defaults (null'ed items unless specified get UNSET()):

+ Importing 'cats.ini' key => value pairs from all directories starting in [DOCUMENT_ROOT] thru /sean/code...

+ UNSET()'ing any parameters = 'null'....6 parameters removed

+ Current [PARAM]eters for this page (CATS.INI::[defaults] + URL-based parameters)

+ Current [KEYWORDS] for this page (CATS.INI / [keywords])

+ Retrieving templates...

+ [PLUGIN] defined => caption

+ [PLUGINS] defined => /sean/code/cats/plugins

+ [PLUGINS] => [DOCUMENT_ROOT]/sean/code/cats/plugins

+ [PLUGINS]/[PLUGIN] => '/home/shrumnet/public_html/sean/code/cats/plugins/caption.php' FOUND

+ Calling [PLUGINS]/[PLUGIN] for [DATA] array...

+ [DATA] => [20] x [28]

baseextsizecontentsageweekdaywkdaymdaymdaythmday_0monthmonmnummnum_0yearyrhour_12hour_12_0am_pmAM_PMhour_24hour_24_0minsecdayswhentimeofdayampm
autorun.caption314bAutorun.exe is a small utility that you place on MSC devices (flash drives, external hard drives, etc) that can be triggered via the autorun.inf. Since the auorun.inf cannot be used to run a shortcut or batch file directly, you need to supply it a .EXE or .COM file. Autorun.exe acts as the middleman. [AU3][EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
bubbletip.caption306bBubbletips is just that...a bubbletip generator. Use it in your batch scripts if you want some sort of VISUAL notification as your batch files run. This is similar to my <a href="http://www.shrum.net/sean/code/talker" target="talker">Talker</a> project that allows for AUDIBLE notifications. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
cats.caption464bCATS, short for <B>C</B>ontent <B>A</B>cquisition and <B>T</B>emplating <B>S</B>ystem, is a framework script that utilizes plug-ins for data acquisitioning, nestable HTML templates and SQL-like parameters to query and display data from *any* source. This allows you to create a wide array of content systems such as dynamic file lists, web logs (blogs), link lists, What\'s New tables, photo albums, up-to-the-minute inventory status reports, and much more. [PHP]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
copy2msc.caption546bAn automated backup program (of sorts). Supports any MSC device, USB and Firewire. This program is a off-shoot of my <a href="http://www.shrum.net/sean/code/shuffler" target="shuffler">Shuffler</a> app in that automatically does it's thing just by plugging in your MSC device. This app will *copy* new (or newer) files to things like external devices such as flash drives, external hard drives, etc. as soon as the MSC device is connected and a drive letter is assigned to it. Handles directory recursion and allows for wildcards. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
dir2subs.caption542bThis small util allows me to take a folder with a lot of files and move them to sub folders that match the beginning x-number of letters in the filename. Can also be used on collections of filenames that are date based (20070624-354.jpg->2007 when c=4). More of a tool for me to use but someone else out there might find it useful. Pretty self-explanatory; just answer the prompts (source, destination, # of chars). Got the idea when I tried to d/l a +30,000 file listing of my music lib via FTP to my broadband phone. :( [AU3][EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
execute.caption685bThe point of this tool is to allow administrators on networked systems to execute (dah) commands (think SMS without having SMS) on multiple PC's; such as in a computer lab environment; by editing 1 monitored file. Primary use will be for mass shutdowns and logoffs (<a href=\"http://www.ss64.com/nt/\" target=\"xpcommands\">here's a great page with most, if not all, native NT/XP commands</a>). On the evil flipside (in my case), I wrote this gem to punk an unsuspecting joke-ster coworker (hehehe, I'm using the <a href=\"http://www.ss64.com/nt/shutdown.html\" target=\"xpcommands\">XP shutdown commands</a> as well as launching applications that will seem like random). [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
ezpcdets.caption277bEZPCDets is a simple systray application that when clicked will display the PC name, IP address, WAN address, OS version, domain, and logged in user name. Simple tool to put on users PC's in case you want to remote in and need to have this info in order to do it. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
hotrkeyz.caption754bJust a simple folder-to-hotkey utility I cooked up for another project for creating your own hotkeys in Windows. Allows for Ctrl, Alt, Win, Shift, and a large number or other special key combos as well as allowing for multiple files & programs to be launched with 1 combo. Makes use of AutoITScripts <a href="https://www.autoitscript.com/autoit3/docs/functions/ShellExecute.htm" target="auto">ShellExecute</a> (to launch apps all at once) and <a href="https://www.autoitscript.com/autoit3/docs/functions/ShellExecuteWait.htm" target="auto">ShellExecuteWait</a> (to launch apps one at a time, waiting until the previous one closes). Worked so good in the originating project I decide to break this functionality out into a separate program. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
killapps.caption494bThis is a very small utility I came up with that will *forcably* close all running taskbar'ed applications (if work is unsaved, it's toast), leaving services and SysTray'ed apps untouched. I originally wrote this tool to be used in conjunction with my <a href=\"http://www.shrum.net/sean/code/execute\" target=\"execute\">EXECUTE</a> utility to allow computer lab instructors/aides to effectively *reset* all the workstations en-masse such as when prepping systems between classes. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
launcher.caption416bLauncher is a SysTray app I wrote to monitor for removable drives and when it detects a new connection, it can check that device for a user-definable file to execute. If the file is present, Launcher launches it or any other user pre-defined file. Works like the standard autorun.inf except that you can be prompted to cancel within 10 seconds, launch any file type, and control the startup window state. [AU3][EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
orphaned.caption469bWindows utility for locating and moving or copying orphaned files (files that exist in backup that no longer reside in their source location due to either being renamed, moved, or deleted) and places the orphans into a "\_orphanage" folder while respecting the orphaned files subdirectory locations. This gives me the ability to relocate those files to a separate folder to give them a quick look over before I decide whether to permanently delete them. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
prompter.caption229bPrompter is a commandline customizable Windows message box dialog that allows you to display message box dialogs/prompts with various options and also allows you to define commandline calls based on the user response. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
query.caption268bQuery is a small tool for passing SQL statements to SQLite databases and displaying or writing the results on-screen or to a file. I wrote this tool to extract play lists from my player music manager project $button_it can be used on any SQLite database. [AU3] [EXE] 1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
relocate.caption586bRelocate is a window manipulation app that not only allows one to move the active window to the next left (WinKey+Left arrow) or next right (WinKey+Right arrow) screen but also allows for FULL SCREEN/MINIMIZE, TOP RIGHT, BOTTOM RIGHT, BOTTOM LEFT, TOP LEFT, TOP HALF, and BOTTOM HALF using the WinKey and your NumPAD. Also supports maximize (WinKey+Up) and restore (WinKey+Down). Supports multi-monitor setups as well as screen wraps in case your on the left most screen and go left again...your window will wrap to the far right screen (or monitor, same for going right). [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
renamer.caption350bRenamer is just that, a simple file renaming utility that I wrote to help me do batch file renaming. It's fairly simple but great when dealing with a large number of files that need to be changed. Supports my classic command line and builder modes, search-and-replace, and even has date-based token support (see the docs for more info). [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
shuffler.caption372bShuffler is a program that I developed to deal with randomizing file transfers to other folders and/or drives including MSC compliant devices like my iPod Shuffle in an attempt to rid myself of its iTunes dependance. Theoretically, this app could be used in any event where you want to copy or transfer any sort of file(s) at random to a different location. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
talker.caption509bTalker is a simple implementation of the text-to-speech tool that is part of Windows XP. The code is less then a dozen or so lines long, written in AutoIT. Call Talker with a command line sentence (wrapped in dbl-quotes) and talker will convert your text into Stephen Hawking-ish styled speech. Nothing spectacular but a ton of fun to play with. Great as a audible cue for when processes finish: <i>talker.exe \"Backup process finished, now executing nuclear detonation countdown\"</i>. Enjoy. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
vistas.caption356bVistas is a SysTray utility that allows one to easily define multiple backgrounds on systems that are running with multiple monitors or to stretch an image across all monitors in a panoramic style. More of a personal project for my own use, this app serves to pick up where Microsoft left off when they omitted Active Desktop support in Vista. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
volrun.caption504bVolrun is a volume monitoring tool in that it doesn't care about specific drive letters but rather monitors for specific drive volume names. When a new volume name is detected, Volrun launches a associated batch file. If one does not exist, Volrun prompts the user if they would like to create one. If the user selects Yes, [volumename].bat gets created in the location with volrun.exe. Great for centralizing all your auto launch batch files making updating them enmass a whole lot easier. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM
wan2web.caption442bThis utility runs as a systray app and requeries an external website for your current WAN IP address after a user-definable amount of time and allows you to upload a text file via FTP that will indicate the current WAN IP address and a timestamp of when the IP address was pulled. As I have a dynamic IP (as most of us do cuz static IPs cost more), I use this to publish my home WAN IP to my website so I can remote in at anytime. [AU3] [EXE]1770254269WednesdayWed3131<sup>st</sup>31DecemberDec1212196969404pmPM1616000020489a decade or moreafternoonPM

+ [PLUGIN]:time = 0.0011/s

+ [WHERE] undefined; operation skipped

+ ass_search()

+ [SEARCH] undefined; operation skipped

+ [ORDER] defined => 'base', header exists

+ [SORT] defined => ascending base

+ [ORDER]+[SORT] => [ascending base]

+ ass_search():time => 0.0000/s

+ [LIMIT] undefined, setting for all records => [0,20]

+ Creating / formatting HTML recordset table and populating [RECORD] template with [DATA]...DONE

+ Combining templates; [RECORD]set=>[TABLE]=>[BODY]=>[PAGE]<=NAV

+ Applying S&R on recordset entries (start, last, slicenext, sliceprevious, slicefirst, slicecount, etc)

+ Applying S&R on tokenized entries (parameter, _SERVER, keyword, and script)...shrum.net/sean/code
 
Wednesday, Feb 4th  2026 @ 17:17:49  
 
 
  
www . shrum.net /sean/code
All scripting, coding, html, layout, design, .... basically everything here done by yours truly. - S

  

  
 
 
 
filter
 clear search
 
 

Code Projects

Here you can find the various programs and scripts that I've written.  Most of these scripts are self-explained within code comments while others may contain a HTML (or SHTML) file that discusses the script in detail which I strongly suggest you read before using the script.  If you should have any questions concerning the programs and scripts listed here, please make sure to read the Support & Legal docs first before contacting me.  Initial record ordering is ascending by name.
 
 
 

  autorun

 Autorun.exe is a small utility that you place on MSC devices (flash drives, external hard drives, etc) that can be triggered via the autorun.inf. Since the auorun.inf cannot be used to run a shortcut or batch file directly, you need to supply it a .EXE or .COM file. Autorun.exe acts as the middleman. [AU3][EXE]
 
 

  bubbletip

 Bubbletips is just that...a bubbletip generator. Use it in your batch scripts if you want some sort of VISUAL notification as your batch files run. This is similar to my Talker project that allows for AUDIBLE notifications. [AU3] [EXE]
 
 

  cats

 CATS, short for Content Acquisition and Templating System, is a framework script that utilizes plug-ins for data acquisitioning, nestable HTML templates and SQL-like parameters to query and display data from *any* source. This allows you to create a wide array of content systems such as dynamic file lists, web logs (blogs), link lists, What's New tables, photo albums, up-to-the-minute inventory status reports, and much more. [PHP]
 
 

  copy2msc

 An automated backup program (of sorts). Supports any MSC device, USB and Firewire. This program is a off-shoot of my Shuffler app in that automatically does it's thing just by plugging in your MSC device. This app will *copy* new (or newer) files to things like external devices such as flash drives, external hard drives, etc. as soon as the MSC device is connected and a drive letter is assigned to it. Handles directory recursion and allows for wildcards. [AU3] [EXE]
 
 

  dir2subs

 This small util allows me to take a folder with a lot of files and move them to sub folders that match the beginning x-number of letters in the filename. Can also be used on collections of filenames that are date based (20070624-354.jpg->2007 when c=4). More of a tool for me to use but someone else out there might find it useful. Pretty self-explanatory; just answer the prompts (source, destination, # of chars). Got the idea when I tried to d/l a +30,000 file listing of my music lib via FTP to my broadband phone. :( [AU3][EXE]
 
 

  execute

 The point of this tool is to allow administrators on networked systems to execute (dah) commands (think SMS without having SMS) on multiple PC's; such as in a computer lab environment; by editing 1 monitored file. Primary use will be for mass shutdowns and logoffs (here's a great page with most, if not all, native NT/XP commands). On the evil flipside (in my case), I wrote this gem to punk an unsuspecting joke-ster coworker (hehehe, I'm using the XP shutdown commands as well as launching applications that will seem like random). [AU3] [EXE]
 
 

  ezpcdets

 EZPCDets is a simple systray application that when clicked will display the PC name, IP address, WAN address, OS version, domain, and logged in user name. Simple tool to put on users PC's in case you want to remote in and need to have this info in order to do it. [AU3] [EXE]
 
 

  hotrkeyz

 Just a simple folder-to-hotkey utility I cooked up for another project for creating your own hotkeys in Windows. Allows for Ctrl, Alt, Win, Shift, and a large number or other special key combos as well as allowing for multiple files & programs to be launched with 1 combo. Makes use of AutoITScripts ShellExecute (to launch apps all at once) and ShellExecuteWait (to launch apps one at a time, waiting until the previous one closes). Worked so good in the originating project I decide to break this functionality out into a separate program. [AU3] [EXE]
 
 

  killapps

 This is a very small utility I came up with that will *forcably* close all running taskbar'ed applications (if work is unsaved, it's toast), leaving services and SysTray'ed apps untouched. I originally wrote this tool to be used in conjunction with my EXECUTE utility to allow computer lab instructors/aides to effectively *reset* all the workstations en-masse such as when prepping systems between classes. [AU3] [EXE]
 
 

  launcher

 Launcher is a SysTray app I wrote to monitor for removable drives and when it detects a new connection, it can check that device for a user-definable file to execute. If the file is present, Launcher launches it or any other user pre-defined file. Works like the standard autorun.inf except that you can be prompted to cancel within 10 seconds, launch any file type, and control the startup window state. [AU3][EXE]
 
 

  orphaned

 Windows utility for locating and moving or copying orphaned files (files that exist in backup that no longer reside in their source location due to either being renamed, moved, or deleted) and places the orphans into a "_orphanage" folder while respecting the orphaned files subdirectory locations. This gives me the ability to relocate those files to a separate folder to give them a quick look over before I decide whether to permanently delete them. [AU3] [EXE]
 
 

  prompter

 Prompter is a commandline customizable Windows message box dialog that allows you to display message box dialogs/prompts with various options and also allows you to define commandline calls based on the user response. [AU3] [EXE]
 
 

  query

 Query is a small tool for passing SQL statements to SQLite databases and displaying or writing the results on-screen or to a file. I wrote this tool to extract play lists from my player music manager project $button_it can be used on any SQLite database. [AU3] [EXE]
 
 

  relocate

 Relocate is a window manipulation app that not only allows one to move the active window to the next left (WinKey+Left arrow) or next right (WinKey+Right arrow) screen but also allows for FULL SCREEN/MINIMIZE, TOP RIGHT, BOTTOM RIGHT, BOTTOM LEFT, TOP LEFT, TOP HALF, and BOTTOM HALF using the WinKey and your NumPAD. Also supports maximize (WinKey+Up) and restore (WinKey+Down). Supports multi-monitor setups as well as screen wraps in case your on the left most screen and go left again...your window will wrap to the far right screen (or monitor, same for going right). [AU3] [EXE]
 
 

  renamer

 Renamer is just that, a simple file renaming utility that I wrote to help me do batch file renaming. It's fairly simple but great when dealing with a large number of files that need to be changed. Supports my classic command line and builder modes, search-and-replace, and even has date-based token support (see the docs for more info). [AU3] [EXE]
 
 

  shuffler

 Shuffler is a program that I developed to deal with randomizing file transfers to other folders and/or drives including MSC compliant devices like my iPod Shuffle in an attempt to rid myself of its iTunes dependance. Theoretically, this app could be used in any event where you want to copy or transfer any sort of file(s) at random to a different location. [AU3] [EXE]
 
 

  talker

 Talker is a simple implementation of the text-to-speech tool that is part of Windows XP. The code is less then a dozen or so lines long, written in AutoIT. Call Talker with a command line sentence (wrapped in dbl-quotes) and talker will convert your text into Stephen Hawking-ish styled speech. Nothing spectacular but a ton of fun to play with. Great as a audible cue for when processes finish: talker.exe "Backup process finished, now executing nuclear detonation countdown". Enjoy. [AU3] [EXE]
 
 

  vistas

 Vistas is a SysTray utility that allows one to easily define multiple backgrounds on systems that are running with multiple monitors or to stretch an image across all monitors in a panoramic style. More of a personal project for my own use, this app serves to pick up where Microsoft left off when they omitted Active Desktop support in Vista. [AU3] [EXE]
 
 

  volrun

 Volrun is a volume monitoring tool in that it doesn't care about specific drive letters but rather monitors for specific drive volume names. When a new volume name is detected, Volrun launches a associated batch file. If one does not exist, Volrun prompts the user if they would like to create one. If the user selects Yes, [volumename].bat gets created in the location with volrun.exe. Great for centralizing all your auto launch batch files making updating them enmass a whole lot easier. [AU3] [EXE]
 
 

  wan2web

 This utility runs as a systray app and requeries an external website for your current WAN IP address after a user-definable amount of time and allows you to upload a text file via FTP that will indicate the current WAN IP address and a timestamp of when the IP address was pulled. As I have a dynamic IP (as most of us do cuz static IPs cost more), I use this to publish my home WAN IP to my website so I can remote in at anytime. [AU3] [EXE]
 
 
 
 
top

Page generation time = 0.0042/s
Page size (minus graphic elements) = 66kb

bookmark

feedback print

back

Since 1992 - shrum.net

Copyright 2026 Sean Shrum

 
 
CATS.PHP [C]ontent [A]cquisition and [T]emplating [S]cript v.4.14 [ 2025.12.14 ] by Sean Shrum