topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday March 28, 2024, 8:38 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: help with automatic file naming  (Read 4630 times)

aparente001

  • Participant
  • Joined in 2013
  • *
  • default avatar
  • Posts: 36
    • View Profile
    • Donate to Member
help with automatic file naming
« on: February 25, 2013, 07:30 AM »
I would like to change the folder where images get saved automatically, each time I start a new project.  And I would like shorter file names.  I do like not having to think about the file name each time I make a screenshot, though.  I would not mind thinking for the first filename in the sequence, if that would help.

For uploading the images to wordpress, it would be easiest if the filenames in the group were numbered in sequence.  It's okay if some numbers get skipped (due to me removing some images that didn't come out well).

Is it possible to name the screenshots based on the name of the folder I specified the files should be saved to?

Example.  A tutorial about installing WordPress.  I will name the folder wp-tut, and it would be lovely if the files were called wp-tut1, wp-tut2, etc.  However, wp-tut001 and wp-tut002 would be okay too.  Note that occasionally I will have double digits, but never triple.

Thanks!

cmpm

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 2,026
    • View Profile
    • Donate to Member
Re: help with automatic file naming
« Reply #1 on: February 25, 2013, 08:14 AM »
yes, here is how to do it
In the 'File Naming Template' option, 'Default New File Name' insert "%quickfield%" without the quotes. In the main window, in the 'File Name QuickField' put the name you want for your file, it will automatically start numbering as you add more to the folder.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: help with automatic file naming
« Reply #2 on: February 25, 2013, 10:13 AM »
What cmpm said.

The QuickField is there for exactly this kind of purpose -- letting you quickly set part of the filenames for a sequence of screenshots without having to manually name each one.  Note that you can combine the quickfield with other stuff like date and time, etc.

Now one thing to note is that Screenshot Captor is adding a 3-digit number (001, 002, etc.) part automatically, in order to come up with a unique filename (tip: It will put this uniquifying number where you have %num% if you specify that explicitly, or add it to the end if not).  But one consequence of that is that if you take like:  quick001,quick002,quick003, and then DELETE quick002 and take a new screenshot, the new one will be named quick002 (not quick004). That's because SC is looking for the first available free number.

Now if you don't want it to do that, you have 2 options.  First, you could avoid using the number field completely and just use date and time.

Or, you can use the new %numinc% field in your filename, which will ALWAYS add a number, and it will always remember its value and increase one for each screenshot, even between reboots.  To reset the number after a project, just go back to that file naming dialog and change the "Auto Incrementing Number" field back to 1.
« Last Edit: February 25, 2013, 05:36 PM by mouser »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: help with automatic file naming
« Reply #3 on: February 25, 2013, 10:15 AM »
RE changing folder:

You can change the folder in preferences - it says 'you can also change this from the main file menu' but I dont see it  :-\  - found it, it's under the 'GoTo' menu (you can also configure move-to and go-to folders under the 'go-to' menu

Screenshot - 2013-02-25 , 17_09_44.pnghelp with automatic file naming

Tom

aparente001

  • Participant
  • Joined in 2013
  • *
  • default avatar
  • Posts: 36
    • View Profile
    • Donate to Member
Re: help with automatic file naming
« Reply #4 on: February 25, 2013, 12:11 PM »
I tried %quickfield% and it works well for me.  The first file in the series gets named screenshot.png.  The second, screenshot002.png, and so on.  If I delete those files or move them to another folder, we begin again with no suffix and then 002 etc.  I can live with this.  I also tried %numinc% and quickly changed to
   image%numinc%
instead, since I don't like to start with a digit, I don't know why.  This works very well, the only downside is that it gives me five digits, which is a lot, but I can live with it.

Thanks!

cmpm

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 2,026
    • View Profile
    • Donate to Member
Re: help with automatic file naming
« Reply #5 on: February 25, 2013, 05:24 PM »
You can use %num% for 3 digit numbering.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: help with automatic file naming
« Reply #6 on: February 25, 2013, 05:34 PM »
You can use %num% for 3 digit numbering.

yes but read above for the difference between %num% and %numinc%.

cmpm

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 2,026
    • View Profile
    • Donate to Member
Re: help with automatic file naming
« Reply #7 on: February 25, 2013, 06:19 PM »
%numinc%, better if you delete various shots
%num%, if you don't

I'm thinking that's the difference mainly...

edit-
I see what you mean about resetting the "Auto Incrementing Number" field back to 1.
Since %numinc% increases that number and %num% does not.
« Last Edit: October 24, 2013, 06:14 PM by cmpm »