topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Sunday December 15, 2024, 6:15 am
  • 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

Author Topic: SC post-capture run  (Read 5191 times)

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 563
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
SC post-capture run
« on: November 14, 2014, 09:47 AM »
Sorry, I'm sort of combining two topics here.

I have SC installed on a virtualbox Windows 7 machine.
So I need the capture folder to be in that system's virtual share folder so I can fetch the images from my regular computer.
Problem is that SC gets launched before the sharefolder is connected and (I think this is the what) causes SC to crash and even an uninstall won't fix it unless you scrap the previous settings.
Screenshot - 11_13_2014 , 2_07_19 PM.png

So my solultion is to use the post-capture options.
In the post-capture options, I want to have SC automatically move the just-taken-screenshot to the virtual share folder (that would be connected now).
Problem is that these commands don't seem to do anything.

Code: Text [Select]
  1. copy "%file%"  f:\captures\
  2. copy "c:\captures\%file%"  f:\captures\

Am I doing something wrong or does it just not work?


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: SC post-capture run
« Reply #1 on: November 14, 2014, 10:21 AM »
Put those commands in a batch file and run the batch file in the post capture area.

But maybe a better thing would be to not set SC to start at boot time, and start it manually afterwords, after teh virtual shares are connected?

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 563
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: SC post-capture run
« Reply #2 on: November 14, 2014, 10:34 AM »
Mouser, aaawwww, I don't want to do it manually!  I want it to be working when I want it to with the least amount of advertance.

Although the commands won't work right from SC, the batch file trick does work.  Thanks for the idea, Mouser!
Batch file:
copy %1 f:\captures
pause
SC:
c:\arx\captures.bat "%file%" /winmin

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: SC post-capture run
« Reply #3 on: November 14, 2014, 11:08 AM »
This issue with the directory not being available at start has come up before.. I think I'll make a function to let it not panic about a missing directory until you try to make the first capture.

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 563
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: SC post-capture run
« Reply #4 on: November 14, 2014, 11:15 AM »
That sounds like a good, reasonable solution.  I'm surprised I didn't think of it.   ;)

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,205
    • View Profile
    • Donate to Member
Re: SC post-capture run
« Reply #5 on: November 14, 2014, 04:50 PM »
maybe a better thing would be to not set SC to start at boot time, and start it manually afterwords, after teh virtual shares are connected?
I'm not familiar with virtual shares, so, is this a situation where one could use a startup manager to make things happen in the right order?
« Last Edit: November 16, 2014, 03:53 PM by rjbull, Reason: Corrected quote »

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 563
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: SC post-capture run
« Reply #6 on: November 14, 2014, 05:00 PM »
True, a startup manager is a workaround.
Anyway, I'm happy using the batch file.
Thanks y'all!