Project Ninja
Environment: VC6 SPx, Win: All
I'm a funny chap. I actually have the desire to load multiple projects first thing in the morning in different Dev Studios. Perhaps I'm alone in this desire but if I'm not, then this might well be the tool you're after!
So what does it do?
Simple, it scans a preset directory for all .dsw (Dev Studio Workspace) files - either recursively or not. You then see these projects (with their path in brackets) in the main window (sorted on path - think about it - it makes sense). You can then check which ones you want to launch, click launch and - each project is loaded into it's own Dev Studio and the app gracefully exits. To make it useful, the app will store your settings in the registry, and the next time you load it - re-scan the directory and re-check any projects you previously selected.
At this point you're either with or against me. No matter :)
As a bonus the app will find out how to load Dev Studio via the registry - it checks HKEY_CLASSES_ROOT for the appropriate shell command (this was a pig, since Dev Studio is an 'Open With' app). So it should work where-ever it's installed.
Project Ninja also features a quick launch mode - double click on an item to instantly launch the relevant app! Now you never need those horrible file open dialogs again :)
List of current features:
This a free tool, use at own risk etc - but let me know if you thought any of this was in ANY way a good idea. And yes, the icon is Dr. Evil....
Updated to Version 0.5
What's new in 0.5?
- Added: SORTING, can now sort on directory or project name. Yay!
- Fixed: bug in project selection when changing dir
- Added: Help dialog
- Added: Combo-style History for filemasks. 10 items maximum (to keep it sensible) I've also made this reasonably intelligent - adding an 11th item will remove the first item added (first in, first out ;) but the list will be alphabetically sorted to make it easier to use! History is, of course, backed up to the registry too!
- Added: Combo-style History for directory. 10 items maximum (to keep it sensible)
- Question: anyone want auto-search when you change a combo item (either mask or dir?) I'll put it in if I start wanting it in the interim to 0.6 :)
Updated to Version 0.4
What's new in 0.4?
- Fixed bug which meant nothing worked ;)
- Tested (again) with .txt, .xls, .doc, .dsw all fine
- Added: New launcher mode. Double click on an entry to launch it - NOW! Project Ninja will remain loaded when you launch apps rather than quitting after launch
Updated to Version 0.3
(in a hurry as i made some very dumb mistakes)What's new in 0.3?
- Fixed bug when opening devstudio windows - they object to SW_MINIMIZED so i'm going for
SW_SHOWMINNOACTIVE which seems to work better.
- Fixed bug in searching registry for the correct commandline to launch your file. Amusing
that the very thing i wanted it for (.doc) didn't work correctly (doh!). If you find
filetypes that aren't supported please let me know (and if i've got the app installed
i can fix it - else i'll need you to send me bits of your registry :)
- Tested now on: DevStudio 6, Office XP, Notepad
- Programmer now knows better than to release code after a long day's hacking
Updated to Version 0.2
BIG CHANGE folks, you can now use Project Ninja to launch ANY type of file (providing you have an application associated with it!)
This was a request of my wife, who wants to load a ton of .doc files in the morning. Gawd bless her...
- Added 'all' button for selection
- Added 'none' button for selection
- Added super-hi-tech 'about'' button for those who can't find the menu...
- Changed: now only saves registry entries for projects that are checked (doh!)
- Now does search as soon as you selected a new dir from the browse dialog (yay!)
- Major change: Now intelligently (hahahaha) recurses through your registry based
on the file extension you ploink in. Should be able to launch pretty much anything
now so long as it has a 'command' entry under the class defined for your file extension.
Format for masks is '*.xxx' where xxx is the three letter file extension of the files
you want to search/launch with.
- Added 'start minimized' checkbox: will attempt to launch apps as minimized taskbar apps
(good if you've not had your coffee yet). Saved to the registry too... nice.

Comments
Cool app! How to start app minimized?
Posted by Legacy on 11/14/2002 12:00amOriginally posted by: Bret
I don't want the source code but was wondering if you could clue me in on how to start my own app in the minimized state. I can't seem to figure it out.
Thanks,
Bret
ReplyNew version, .NET and Windows XP get it here...
Posted by Legacy on 08/14/2002 12:00amOriginally posted by: Tim Stubbs
http://www.geocities.com/dangel888/ProjectNinjaSetup.zip
(lite installer)
or
http://www.geocities.com/dangel888/CompleteInstall.zip
(complete install - for those with older windows installers)
I wrote this tool for me, and thus i'm updating it a little.
New:
-Sorting added
-New grid control added
-Busy indication (waitcursor)
-.NET compatible (MFC 7.0)
-WindowsXP common controls supported (nicer visuals)
-Has own installer (yay)
-Pressing return in file mask or file directory combos causes search.
-Changing selection in combos causes search.
Tim Stubbs
(much maligned programmer, obviously satanic as he doesn't give you the source code, still giving something away for nothing all the same).
Replyno good
Posted by Legacy on 04/18/2002 12:00amOriginally posted by: randy
ReplyWhere is the Freakin' Source Code?
Posted by Legacy on 01/15/2002 12:00amOriginally posted by: Adnan Habib
Where is the source code dude?? We know you did a nice job there. But on this site, people share source code too....would you???
ReplyWindows XP version avail
Posted by Legacy on 01/08/2002 12:00amOriginally posted by: Tim Stubbs
mail me if you require it, i'm not updating this unless there's a need for it :)
Tim
ReplySimpler solution?
Posted by Legacy on 10/08/2001 12:00amOriginally posted by: Patricio Vidal
Maybe I'm not getting the big picture here, but if all you want is to open several .dsw at the same time there is an alternative way.
MSDEV opens the .dsw files in the same program instance because is using DDE in the default option for the .dsw file types. If you want to open each .dsw in a different MSDEV instance do can do the following:
1.- In any Explorer Windows goto View->Folder Options and select the "File Types" tab.
2.- Look for the "Project Workspace" type and click in the Edit button.
3.- Now select the "Open with MSDEV" action, and click on the Edit button.
NOTE: before doing step 4 write down the DDE parameters in case you want to undo your changes!
4.- Un-select the "Use DDE" option and click OK.
You can get fancier and add a new action ("Open with new MSDEV" for example) without the "Use DDE" option and set it as the default option. Now you will have the two options in the .dsw context menu (when you right-click on a .dsw file in Explorer.)
Thanks to Tim Stubbs for sharing his work and effort.
Best regards,
ReplyPatricio Vidal.
very usefull
Posted by Legacy on 10/02/2001 12:00amOriginally posted by: D-Face
10x
ReplyGrasshopper Has Failed His Ninja Master...
Posted by Legacy on 09/30/2001 12:00amOriginally posted by: Peter
Attempts to open anything fails.
'i'm sorry can't find shell registry entry for that type
Something real bad went wrong. Sorry'
Sytem does have shell entries for VC projects, word, everything but kitchen sink.
W2K Pro, sp2,all hotfixes
Grasshopper maybe need some more lessons :)
any help appreciated
Regards,
ReplyPeter
A suggestion for improvement
Posted by Legacy on 09/25/2001 12:00amOriginally posted by: Tom Welch
I think the ProjectNinja is great. However, I would like to see one of two things.
1. The list sorted by Project name
or
2. Use a Listview instead and put the project name and path in separate columns that can be sorted by clicking on the respective column header.
ReplyM$ should pay you for that.
Posted by Legacy on 09/24/2001 12:00amOriginally posted by: Radu
Nice tools, looking forward for next versions .........
ReplyLoading, Please Wait ...