topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 5:20 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Screenshot aliases using MiniCap  (Read 52787 times)

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Screenshot aliases using MiniCap
« on: July 24, 2008, 10:54 AM »
mouser's excellent Screenshot Captor does pretty much everything you need for screenshot capturing (and more) but isn't exactly a tiny lightweight app. But it's baby brother MiniCap is a command line based screenshot capture app. This makes it ideal for the quick screenshot capturing tasks, and also ideal for FARR aliases!

You'll find MiniCap here: https://www.donation...r/MiniCap/index.html

I've put together a package that includes some aliases as well as a fresh build of MiniCap itself. These aliases should cover a range of screenshot options but adding or editing should be easy enough.

to install this you would put the minicap directory in your FindAndRunRobot\AliasGroups\Installed directory.  That alias subdirectory is marked as Read-only from within FARR so that it can be easily updated.
-mouser

To use, type 'mcap' which will present you with the following commands
CommandDescription
Screen captureCaptures current screen
Last active window captureCaptures the last active window (i.e. active before launching FARR ;) )
Select region captureInteractive capture of region (traditional style mode -- locked to current screen of multimonitor)
Object captureInteractive capture of object (red box mode)
Red box region captureInteractive capture of region (red box mode)
Capture to clipboardCopy the interactively selected image to clipboard
Border shadow captureAdd a nice border and shadow to interactively selected image
DC Review captureAutosaves to "%MYDOCUMENTS%\reviews\$appname$\$windowtitle$_$uniquenum$.png"
I found this was quite helpful when working on a minireview
Multimon captureCapture entire desktop workspace (all multimonitors if more than one exists)
Delayed screen capture (4 secs)Wait 4 seconds before engaging capture of current screen
Help with MiniCapLaunches the MiniCap helpfile

Thanks goes to mouser for both a lot of help and suggestions while making the aliases and for updating MiniCap and adding several new features. Looking at several other aliases was also very helpful, so if you've released a pack of aliases I've probably looked at it in awe ;)

Latest version, 1.3, can be downloaded from my dcmembers webspace!

screenshot:
Screenshot - 7_24_2008 , 12_03_38 PM.png
« Last Edit: January 04, 2009, 11:43 AM by TucknDar »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #1 on: July 24, 2008, 11:34 AM »
really great.. I'll bet at lot of people find this useful.

here's a cool thing you could do -- for the items that auto capture into a directory, you could add the command to browse that directory onto the alias result.  you would do it by adding something like ";;; restartsearch %MYDOCUMENTS%\crashinfo\" to the alias result before the icon.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #2 on: July 24, 2008, 11:37 AM »
Another note to users, to install this you would put the minicap directory in your FindAndRunRobot\AliasGroups\Installed directory.  That alias subdirectory is marked as Read-only from within FARR so that it can be easily updated.

If you wanted to customize some of the results, you could instead put it in your FindAndRunRobot\AliasGroups\MyCustom directory, which makes it editable from within FARR.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #3 on: July 24, 2008, 11:43 AM »
Another note to users, to install this you would put the minicap directory in your FindAndRunRobot\AliasGroups\Installed directory.  That alias subdirectory is marked as Read-only from within FARR so that it can be easily updated.

If you wanted to customize some of the results, you could instead put it in your FindAndRunRobot\AliasGroups\MyCustom directory, which makes it editable from within FARR.
Yes, that's true, I actually put that in a readme within the archive, but forgot to write it here. Thanks :)

herojoker

  • Participant
  • Joined in 2008
  • *
  • Posts: 124
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #4 on: July 24, 2008, 01:08 PM »
Mmh, I just put it in plugins and it works!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #5 on: July 24, 2008, 01:10 PM »
plugin directory is scanned for alias files as well.

herojoker

  • Participant
  • Joined in 2008
  • *
  • Posts: 124
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #6 on: July 24, 2008, 01:13 PM »
Ah :D
To have a clean installation I moved the directory to the proposed directory (surprise: it still works  ;) )

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #7 on: July 24, 2008, 02:59 PM »
that looks great TucknDar  :Thmbsup:
Tom

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #8 on: July 24, 2008, 03:54 PM »
Is it possible to create folders with minicap as well? I just hate when all the screenshots are delivered to the same folder. I was hoping that I could deliver them to dated folders daily.


TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #9 on: July 24, 2008, 05:02 PM »
Yes, that's possible. Use something like 'minicap.exe -capturescreen -save "c:\existing\folder\$date$\capture$uniquenum$.png" -exit

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #10 on: July 24, 2008, 06:54 PM »
Actually it does not work.
I used this one
-capturescreen -save "C:\temp\EkranYakala\$date$\$appname$$uniquenum$_$date$$time$.png" -exit



« Last Edit: July 24, 2008, 06:59 PM by kartal »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #11 on: July 24, 2008, 07:13 PM »
MiniCap is supposed to autocreate the directory for you.

It may be the spaces or presence of illegal directory caharacters that could cause it to fail?
« Last Edit: July 24, 2008, 07:16 PM by mouser »

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #12 on: July 24, 2008, 07:44 PM »
Mouser I posted the commandline, do you see any anomaly?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #13 on: July 24, 2008, 07:58 PM »
im guessing its the "7/24/2008 "

im adding some date/time replacements to minicap to make it easier to specify custom paths based on dates.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #14 on: July 24, 2008, 08:08 PM »
So I am guessing that it is not possible to do what I want in the current version?

Btw it has very nice command line options, nice job on that one.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #15 on: July 24, 2008, 08:13 PM »
It is possible to do what you want its just easier in the new version because you can specifically put in fields for month, day, year so its easier to format date stuff properly.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #16 on: July 24, 2008, 08:17 PM »
So what is the solution to what I am trying to achieve? :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #17 on: July 24, 2008, 08:34 PM »
grab the latest minicap just uploaded:
https://www.donation...ads/MiniCapSetup.exe

replace the minicap.exe in the farr alias with this new one once you extract it.

then you should be able to do something like this:

-capturescreen -save "C:\temp\EkranYakala\$dt:Y$\$dt:m$\$dt:H$\$appname$$uniquenum$.png" -exit

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #18 on: July 24, 2008, 09:05 PM »
Thanks Mouser.  I was looking for such feature for so long I have tried so many applications. Minicap+Powerpro=real gem


Only problem I am having is that none of these name titles work. Everything works except window or app titles. I am under 64bit.

Here is my command line

-capturescreen -save "C:\temp\EkranYakala\$dt:m$_$dt:Y$\$appname$_$uniquenum$_$date-time$.png" -exit

 $appdir$ - application directory (useful if you want to save snapshot in same directory)

· $appname$ - application exe name (without path)

· $nicename$ - nice name of application exe (taken from exe resource)

· $windowtitle$ - window caption

« Last Edit: July 24, 2008, 09:13 PM by kartal »

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #19 on: July 24, 2008, 09:11 PM »
And the second problem I have is that capturing by the window does not stay open at all. It opens and closes very quickly and does nto leave any time to select any window.

-captureobjselect -save "C:\temp\EkranYakala\$dt:m$_$dt:Y$\$appname$_$uniquenum$_$date-time$.png" -exit

-captureredregselect is not working either.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #20 on: July 24, 2008, 09:24 PM »
use: -sleep #
to sleep for a few seconds (specified in #) to give you chance to select the window.

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #21 on: July 29, 2008, 05:42 AM »
updated first post with link to download.

edit: Download is at http://tuckndar.dcme.../download.php?view.2

The alias pack now includes latest version of MiniCap (1.11.01)

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #22 on: July 31, 2008, 04:33 AM »
new version includes latest MiniCap (v1.12.01), with support for -promptsave command. I've only added this to the Bordershadow capture, but should be easily added to other aliases as well.

Border shadow capture with promptsave:
minicap.exe -captureregselect -bordershadow -promptsave -clipimagepath -exit
This command will now let you select what to capture, then add a nice shadow and open a save dialog. Once you've saved your screenshot, the full path to the file is copied to clipboard and minicap is exited. Now you can easily use your screenshot in a forum post :)

"Example" while making this post:
bordershadow.png
(Yes I realize that doesn't prove anything, but take my word for it, it took about 3 seconds including typing, to have that screenshot attached ;) )

The MiniCap alias now also comes with DCUpdater support! You don't need to miss even a minor upgrade ;)

Download is at the same place: http://tuckndar.dcme.../download.php?view.2

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #23 on: July 31, 2008, 07:29 AM »
"Example" while making this post:  (see attachment in previous post)(Yes I realize that doesn't prove anything, but take my word for it, it took about 3 seconds including typing, to have that screenshot attached ;) )

very impressive TucknDar - that will be a great help -
we'll probably start to see a huge increase in screenshots attatched to posts now :)
Tom

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
    • View Profile
    • Donate to Member
Re: Screenshot aliases using MiniCap
« Reply #24 on: August 23, 2008, 01:31 AM »
Bit of a shameless bump this, but are there any requests? It's pretty easy adding stuff yourself, but if you've made new minicap-aliases why not share them here and I'll include them in my "official" minicap alias!

I'm also going to do a bit of work on the icons, so they will all be different and hopefully even more relevant to the commands.