Start by making a calendar template on a master page. Then, use Script Label
s to define each part.
You have two choices: either use a text frame for the value or set up a variable.
For the text frame, just pick a Script Label
like date
to replace the whole content. If you want more control, label it "calendar_mix" and use {{date}}
for variables (with the brackets).
Here is a list of potential values for your template. Each can serve as a Script Label
name or a variable name by adding curly brackets {{name}}
:
Value | Description |
---|---|
date | Date of the day |
date_julian | Date of the day in the Julian Calendar (the Julian calendar is 13 days behind the Gregorian calendar) |
day | English day name |
day_symbol | Day as Unicode Character as in the Font : KFGQPC Arabic Symbols 01 |
day_f | French day name |
day_a | Arabic day name |
month | English month name |
month_f | French month name |
month_a | Arabic month name |
month_a2 | Another Arabic month name |
month_a3 | Another Arabic month name |
month_julian | The Julian Month |
year | Four-digit year |
year_2 | Two-digit year |
year_julian | Four-digit julian year |
year_2_julian | Two-digit julian year |
hijri_date | Hijri date (Umm Alqura calculation) |
hijri_month | English Hijri month name (Umm Alqura calculation) |
hijri_month_a | Arabic Hijri month name (Umm Alqura calculation) |
hijri_year | Four-digit Hijri year |
days_gone | Days elapsed from the start of the year |
days_left | Days remaining until the end of the year |
week | Current week number |
mini_month | Insert a table for the entire month and mark the current date. |
Download the Script from here (right-click then choose "save as..." to download it).
Version 1.1
Version 1.2