ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Screenshot Captor

Screenshot Captor Auto Tool Configurations

(1/7) > >>

mouser:
Advanced Screenshot Captor users know that you can configure the SC "Tools" menu to launch 3rd party programs that can operate on image files, in various ways.

I've just added a new feature that adds a new "Tools" subdirectory in the Screenshot Captor installation, which is scanned automatically when the program starts.

Screenshot Captor looks for files named *.sctool and parses those in search of 3rd party tool configurations, and these are added to the Tools menu automatically.

This allows two things:

* First, users can share tool "packs" as if they were plugins, by combining a utility with its .sctool file, which users simply unzip into the Tools subdirectory.
* Second, users can make an .sctool file for a common application (like Photoshop, Paint Shop Pro, etc.), which tells SC where to look to find the program on the hard disk of the user, and how to launch it to work with the selected image (if found, it is added to the Tools menu).
I hope users will take a look at the .sctool feature which will be available in the next release of SC and share some tool packs!

mouser:
Sample for Paint Shop Pro (v9):


--- ---// Tool configuration for Screenshot Captor
// Format:
//  title =
//  app =
//  params =
//  iconfile =
// Notes:
//  if title = - then it is a separator (no other values needed)
//   params and iconfile are optional
//  if iconfile is blank, the exe file icon will be used
//  you can specify multiple entries if you separate them with @ sign on its own line
//  if an app doesnt exist it will not be loaded, so its safe to add entries for programs not on users pc
//
// The following macros are available for exe and params
//  %THISDIR% - the directory this file is in
//  %APPDIR% - the directory where the program (Screenshot Captor) is run from
//  %APPDRIVE% - the drive (e.g. c:) where the program (Screenshot Captor) is run from
// -
//  %file% - Image file name (surround in " if required).
//  %folder% - Folder containing the image file.
//  %tmpfile% - Temporary flat image file name w/o ext. (e.g. %tmpfile%.jpg)
//  %tmpfileplain% - Temporary image (with NO objects drawn) file name w/o ext. (e.g. %tmpfile%.jpg)
//  %fileplain% - Saves image with NO objects drawn, and then reloads and re-adds objects
//  %ProgramFiles% - Program files directory (will look in BOTH x86 and normal)

title = -
@
title = Paint Shop Pro - No Objects (default)
app = %ProgramFiles%\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe
params = "%fileplain%"
iconfile =
@
title = Paint Shop Pro - Temporary flattened (.jpg)
app = %ProgramFiles%\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe
params = %tmpfile%.jpg
iconfile =
@
title = Paint Shop Pro - File as is
app = %ProgramFiles%\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe
params = "%file%"
iconfile =
@
title = Paint Shop Pro - Temporary No Objects (.png)
app = %ProgramFiles%\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe
params = "%tmpfileplain%"
iconfile =
@

Here's minimalist one for ColorCop tool included in same directory with the .sctool file:

--- ---title = ColorCop Tool
app = %THISDIR%\ColorCop.exe

Note that the .sctool files are parsed, and missing applications are simply not added -- this means that it's safe to have a bunch of .sctool files for applications you don't have installed on your pc, and the entries simply won't show up on your menu.  I hope this means people will share .sctool configuration files for various graphic editing/watermarking/uploading/etc tools.

The result will be that when you start Screenshot Captor, the Tool menu will be automatically pre-populated with links to various graphics applications on your computer.


I've also added an important %fileplain% macro when launching tools that basically removes the objects from the image file when handing off to the external tool, and readds them back when done -- very useful if you want to sketch on an image for example, but not lose your objects.


ps. these tool packs and .stool files can also have .dcupdate files for update checking, though that may be overkill.

mouser:
Anyone who wants to try it, you can download beta version 2.57.01 here:
https://www.donationcoder.com/Software/Mouser/screenshotcaptor/downloads/beta/ScreenshotCaptorSetup.exe

mouser:
And here's a sample tool pack, for the excellent donationware color picker "ColorCop":
https://www.donationcoder.com/Software/Mouser/screenshotcaptor/downloads/tools/colorcopSc.zip

So you just unpack that zip into your ScreenshotCaptor\Tools directory and restart SC -- you should then see ColorCop on your Tools menu.


Note: that zip file is just the original ColorCop zip with one extra file in it, ColorCopSc.sctool.
If you use and appreciate ColorCop, send the author a thank you and a donation!

mouser:
Other nice tools that would be nice to add portable (ie non-installer) tool packs for would include:
a magnifier, screenruler, watermarker.

And it would be nice to get some plain .sctool files for commonly installed standalone programs like the big graphics editors, etc.

Navigation

[0] Message Index

[#] Next page

Go to full version