This AppleScript walks all the topics in the front-most MindManager map looking for topics with start and/or end dates (i.e. "task topics"). Using the central topic text as the iCal calendar name, one new event will be created for each task topic. Subsequent executions of the script will update the iCal events with new/changed information from the map.
Notes:
- This is a ONE WAY operation currently. It takes information from MindManager and puts it into iCal. The inverse is left as an exercise for the user!
- if the script is run on two or more maps with the same central topic name, then only the data from the last map will be in the calendar.
- If a task topic is removed from the map, the corresponding event will be removed from iCal.
- If a topic has both a start date and an end date, the iCal event will be tagged as "all day". This gives you the nice bars in the calendar view.
- If a topic has only an end date, it will receive a start date of "today".
- If during an update either the start date or end date are removed, the start or end date will be updated with "today".
- The topic unique ID is stored in the "location" field of the iCal event. If this is changed or deleted, the event will lose the connection to the map and will be removed the next time the script is run.
To use the script:
1) Launch MindManager 6 Mac and open a map that has start or end dates on some of the topics.
2) Open "MapToiCal.applescript" in the Script Editor.
3) Run!
Suggestion:
Save the script as an application and put it in your Dock or script menu for easy access!