DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: SC post-capture run  (Read 6,920 times)

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 566
    • Participated in NANY Challenge Seven Times
SC post-capture run
« on: November 14, 2014, 03:47 PM »
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: (generic)
copy "%file%"  f:\captures\
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,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: SC post-capture run
« Reply #1 on: November 14, 2014, 04:21 PM »
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: 566
    • Participated in NANY Challenge Seven Times
Re: SC post-capture run
« Reply #2 on: November 14, 2014, 04:34 PM »
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:
Code
copy %1 f:\captures
pause
SC:
Code
c:\arx\captures.bat "%file%" /winmin

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: SC post-capture run
« Reply #3 on: November 14, 2014, 05:08 PM »
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: 566
    • Participated in NANY Challenge Seven Times
Re: SC post-capture run
« Reply #4 on: November 14, 2014, 05:15 PM »
That sounds like a good, reasonable solution.  I'm surprised I didn't think of it.  ;)

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 3,217
Re: SC post-capture run
« Reply #5 on: November 14, 2014, 10: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, 09:53 PM by rjbull »

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 566
    • Participated in NANY Challenge Seven Times
Re: SC post-capture run
« Reply #6 on: November 14, 2014, 11:00 PM »
True, a startup manager is a workaround.
Anyway, I'm happy using the batch file.
Thanks y'all!

Original address: https://www.donationcoder.com/forum/index.php?topic=39557.0