Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Decrementing a date

$
0
0

I do a monthly newsletter for a small business that hosts about 30 classes each month and they require the customers to prepay by the day before the class to get a discounted price, otherwise the price increases if you pay on the day of the class. For example:

 

Sunday, Oct 6, 1:00 - 3:00 PM

Instructor: Professor Smith

1 Class - $30 by Oct 5 or $45 at the door.

 

What I'd like to do (via a script) is to find and copy the "6" (from Oct 6) then decrement it by 1 and place it in the "by Oct 5" day place.

 

Is there a way to do this? It would save a HUGE amount of time each month.

 

Any help is appreciated.

 

⁓Rocky


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>