Keeping different standard meeting minutes in OO where the meetings has a standard agenda I'd like to do the following:
* Open the document that has the minutes for a specific meeting.
* Click the button backed by a applescript that makes a new section with a date stamp and heist that section. Script would copy the section in the document named 'Template' into the newly created section.
I have the first part of the script that created that section with the date stamp. But I cannot figure out how to copy a section from a different part of the document.
Here is the code - but cannot get the template copied.
* Open the document that has the minutes for a specific meeting.
* Click the button backed by a applescript that makes a new section with a date stamp and heist that section. Script would copy the section in the document named 'Template' into the newly created section.
I have the first part of the script that created that section with the date stamp. But I cannot figure out how to copy a section from a different part of the document.
Here is the code - but cannot get the template copied.
Code:
set _today to current date tell application "OmniOutliner Professional" set resp to display dialog "Activity" default answer "" buttons {"OK"} default button 1 set entryTitle to text returned of resp tell front document unhoist set tt to every child whose value of cell "Type" is "Template" log children of tt make new row at end of rows set selected of every row to false set selected of last row to true set value of cell "Date" of selected rows to _today set value of cell "Topic" of selected rows to entryTitle hoist first selected row duplicate every row of tt end tell end tell