Author Topic: {seqn} automatically reseted to zero  (Read 2923 times)

Offline FlunkyFoto

  • Newcomer
  • *
  • Posts: 4
    • View Profile
{seqn} automatically reseted to zero
« on: January 23, 2023, 06:19:58 AM »
Hello,
I like the idea FairfieldPhoto had last year :
Having a {seqn1} variable which always starts at a 1 (or maybe even at a defined number like {seqn235}).

Is there a way to use {seqn} in something like the "Save As..." panel where it automagically resets to zero?  I save folders of images at multiple sizes and use {seqn} as part of the naming.  I always start at "001" with each batch, so I need preset the reset button each time, but invariably, I forget at least once and have to run that batch over again. 

If not, would you consider a new variable of {seqn1} that says to start at 1 regardless of current value of {seqn}

Thanks!

-Mike

Offline FairfieldPhoto

  • Full Member
  • ***
  • Posts: 244
    • View Profile
    • Fairfield Photography, LLC
Re: {seqn} automatically reseted to zero
« Reply #1 on: August 31, 2025, 07:07:43 AM »
I would still love to have this feature.  Can't tell you how often I forget to reset {seqn}

Offline Max Lemesh

  • Sr. Member
  • ****
  • Posts: 294
    • View Profile
Re: {seqn} automatically reseted to zero
« Reply #2 on: September 10, 2025, 05:40:02 PM »
I support this!

There could also be an array of variables
{seqn1} - starts from 1
{seqn01} - starts from 01
{seqn001} - starts from 001
{seqn0001} - starts from 0001


or even better...

maybe add parameters to {seqn} variable,
for example
{seqn} by default continues the counter
{seqn:1} - adopts current setting, but starts from 1
{seqn:1,0} - starts from 1, and adds one leading 0
{seqn:1,0,1} - could mean start sequence from 1, with one leading 0, and 1 increment, resulting in 01, 02, 03....
{seqn:50,000,5} - could mean start sequence from 50, with 3 leading 0, and 5 increment, , resulting in 0050, 0055, 0060....

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25463
    • View Profile
    • Camera Bits, Inc.
Re: {seqn} automatically reseted to zero
« Reply #3 on: September 10, 2025, 05:48:25 PM »
or even better...

maybe add parameters to {seqn} variable,
for example
{seqn} by default continues the counter
{seqn:1} - adopts current setting, but starts from 1
{seqn:1,0} - starts from 1, and adds one leading 0
{seqn:1,0,1} - could mean start sequence from 1, with one leading 0, and 1 increment, resulting in 01, 02, 03....
{seqn:50,000,5} - could mean start sequence from 50, with 3 leading 0, and 5 increment, , resulting in 0050, 0055, 0060....

No, definitely not.  You're using similar syntax of Variable Substring Extraction and we don't need confusion here.

-Kirk

Offline Max Lemesh

  • Sr. Member
  • ****
  • Posts: 294
    • View Profile
Re: {seqn} automatically reseted to zero
« Reply #4 on: September 10, 2025, 05:51:01 PM »
similar to rand variables then?

Offline Max Lemesh

  • Sr. Member
  • ****
  • Posts: 294
    • View Profile
Re: {seqn} automatically reseted to zero
« Reply #5 on: September 10, 2025, 05:53:21 PM »
No, definitely not.  You're using similar syntax of Variable Substring Extraction and we don't need confusion here.

could there be other way to implement this syntax without confusion? or better doing it thru the UI?