Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 10, 2016, 12:58:03 AM
  • Proudly celebrating 10 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: Some coding help please? (scold me if you want)  (Read 1481 times)

nkormanik

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 315
    • View Profile
    • Donate to Member
Some coding help please? (scold me if you want)
« on: August 26, 2011, 03:56:40 PM »
My mind is swimming with so many options here.

Would someone please put together the code for the following?  Hopefully this request will help others as well....


-- Hit a hotkey, say PrntScrn

-- Take snap of entire single monitor

-- Save to folder:  c:\snaps\

-- Save in png format

-- Use the following date/time format for file naming:  yyyy-mm-dd hh:mm:ss

-- Make a nice distinct audible sound so that I have confidence a screenshot was actually snapped (allow user to select some wav file, such as a camera click of choice -- my wav file is located at c:\sounds\camera.wav)

-- Stay "resident" so that I can hit PrntScrn again and again after while


End result should be:
c:\snaps\2011-08-25 16:23:37.png
c:\snaps\2011-08-25 19:04:52.png
c:\snaps\2011-08-25 21:18:01.png
c:\snaps\2011-08-26 00:48:29.png
etc...


Thanks much!

Nicholas


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,431
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Some coding help please? (scold me if you want)
« Reply #1 on: August 26, 2011, 04:14:47 PM »
Ok most of what you want is already default what Screenshot Captor does.

Start Screenshot captor, and then here's what you would customize:

1. In options tab "General Settings", check the box marked "Start Minimized":
Screenshot - 8_26_2011 , 4_04_54 PM.png

2. In options tab "Interface Options 1", select the "After Capture Show: Stay Minimized"
Screenshot - 8_26_2011 , 4_05_36 PM.png

3. In options tab "Screenshot Folder and Tools", click the button to set your Screenshot Folder as "c:\snaps\"
Screenshot - 8_26_2011 , 4_06_22 PM.png

4. In options tab "File Naming Template", in the top Default New File Name, put: %customdate%
and at bottom Custom Date Format put: %Y-%m-%d %H_%M_%S
(note you cant use : as you requested since that character should not be used in filenames so i used _)
2011-08-26 16_10_48.png



Capture sound should be played by default (check Post-Capture Options tab), so nothing to do here.
Hotkey should already be set as you want:
Screenshot - 8_26_2011 , 4_13_15 PM.png



Let me know if it works for you.

nkormanik

  • Participant
  • Joined in 2010
  • *
  • default avatar
  • Posts: 315
    • View Profile
    • Donate to Member
Re: Some coding help please? (scold me if you want)
« Reply #2 on: August 26, 2011, 04:21:32 PM »
Wow, that was fast.

Thanks so much.

Sometimes having a Sherpa to help guide us on these mountains is greatly appreciated.