Script create InDesignTaggedText for calendars.
2006-07-03 21:55Few fixes.
Kilka poprawek.
2006-06-30 21:30Few fixes.
Kilka poprawek.
2006-04-26 10:55Fixed error '97'.
Now - when you set DAY SEP other than "TAB" - script set ParagraphStyle corresponding to day - "day_monday", "day_tuesday", "day_wednesday", ... - THIS give you possibility to set different alignment for every day in week - useful when your calendar have week per spread - for monday, tuesday, wednesday you can set LEFT alignment - for other day RIGHT alignment.
Script ALWAYS set CharacterStyle corresponding to day and CharacterStyle "holiday" for holiday day - no matter what you selected in DAY SEP.
2006-04-25 10:00First - unzip package.
You will get EXE file and two subfolders.
You can freely modify TXT files, but:
- "dayname.txt" contain your own names of days,
- "monthname.txt" contain your own names of months,
- "cal_" as preceding and ".txt" as type of file - is needed for files with FirstNames and holidays,
- "cal_*.txt" have structure:
* first_column - month number,
* second_column - day in month,
* all other columns - data for script,
first_column and second_column - are "address" for other columns
in example files - data are stored sorted by month and day - but you can sortf by other columns.
Script window:
- on left you have list of "languages" - script recognise dirs with TWO letter names as source of data.
You can add unlimited number of languages as sub dirs with national calendar data.- on top you see:
* currently selected year and slider to change current year,
* months - click with CTRL for more than one month in exported file,
* EXPORT button,
* EMPTY DAYS BEFORE MONTH - this option let you insert leading empty "days" - usefull when you want to create mini months - only days numbers with TAB as separator,
* TXT FILE NAME - this name will be used to save exported data,
- below months - you can set separator for day, week and month,
In script window you can:
- click on column's header to set ON/OFF for output,
- move columns - to set your own order of finall data,
- insert separator columns - by clicking on column's header and selecting ADD NEW SEPARATOR,
- use data in column as holidays info - right click on column's header - days with holidays will be marked as green,
- type your own separator betwen columns - click in any cell inside SEP column and select CUSTOM SEPARATOR - next select SET TO ALL IN COLUMN,
* as SEPARATOR you can type any text you want - but remember to follow "<" and ">" by "\" ("\<")
* if you need to type UNICODE char - type it's UNICODE code as <0x0000> (script automatically convert all UNICODE codes to Characters and show them correctly),
- doubleclick on any day (row) - turn this day to holiday (green) or regular day,
if you set DAY SEP to TAB and "activate" WEEK NUMBER column - script add WEEK NUMBER on beginning of row,
if DAY SEP will be set to something else - WEEK NUMBER will be exported in selected order,
every field in day (row) will have applied CharStyle with corresponding name - "monday", "tuesday", wednesday", ...
holiday CharStyle will be set for rows marked with GREEN color,
because all columns in day are marked with same CharStyle - export columns as separate files - in future I will add more ParaStyles and CharStyles.
you can select any cell and hit ENTER to go to EDIT mode - you can type your own text - but this changes DON'T be written to original file !!

(better description soon)