[jawsscripts] script that adds numbers each time it is executed

  • From: Hamid <aitouznaghamid@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Tue, 15 Nov 2016 23:13:23 +0000

Hello all,

I need your help please. I am scanning thousands of documents at work 
and I have to rename them according to this specific style. the 
documents that were issued for example in the year 2016 should be 
renamed as follows:
first document  should be renamed: 1-2016. the second should be renamed 
2-2016. The third should be renamed 3-2016 and so on
As you noticed, for all the documents of one year, it's only the first 
digits before the dash that keeps increasing, the number after the dash 
stays the same until I need to  scan the documents of the previous or 
following year.
It sounds like a very easy task, however, when it comes to thousands of 
documents it becomes very boring and needs a lot of concentration not to 
make mistakes.
Now, I want to write a script that adds an increment each time it is 
executed whenever I want to rename the file. I want the increment to be 
added only to the number before the dash and not the number after the 
dash. Is that possible? if yes, please help me write it.
Thanks to all of you in advance!!
Best regards
Hamid
__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: