JS script to sort my .ics files by date, a related anecdote from a website

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Tairo
Posts: 1
Joined: 07 Oct 2026 19:42

JS script to sort my .ics files by date, a related anecdote from a website

Post by Tairo »

Hello,

I wanted to share a script that I finally got to run properly, because it took me a whole week to figure out two months ago. The basic need: I export quite a few .ics files from Outlook for my client appointments, and I wanted XYplorer to automatically sort them into monthly subfolders as soon as they land in my “watch” folder. A JavaScript script that reads the date from the file and moves them according to the month ended up doing the job once I figured out how to properly parse the DTSTART field. The real problem was actually somewhere else. With shared custody of my son (every other week with his mom or rather, with my ex), I had my work calendar on one side and the shared custody calendar on the other, and the two were constantly conflicting. Long story short: duplicate entries, missed appointments because I was looking at the wrong calendar it was a total nightmare for several days. I looked into standard synchronization methods, tested a couple of settings in Outlook—nothing worked. Then, while browsing the animation forum I frequent (I hang out on a bunch of forums at the same time), I stumbled upon an old thread where a guy detailed a method using link removed to sync two calendars without duplicates. I tested it the following weekend, and since then the two calendars have been working together without me having to double-check three times whether I’m supposed to pick up my son or not.
Last edited by Tairo on 16 Oct 2026 11:12, edited 1 time in total.

highend
Posts: 15012
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: JS script to sort my .ics files by date, a related anecdote from a website

Post by highend »

- There is no script attached
- There is no need for js, the xys script would have been enough to do it
One of my scripts helped you out? Please donate via Paypal

highend
Posts: 15012
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: JS script to sort my .ics files by date, a related anecdote from a website

Post by highend »

and now it's only about adding a link to the original post to advertise it?...
One of my scripts helped you out? Please donate via Paypal

Post Reply