Script Woes

Andrew Payne droo at odometer.org
Thu Feb 26 00:07:08 PST 2004


i'm not sure what you're syntax is so it's hard to offer any real 
advice. from my experience i had trouble with making my own DONE script 
since the sample one didn't fit my needs, but i ended up transfering 
the data with something like so....

set doneDoc to "Users:apayne:Sites:projects:projects_done.ooutline"
open file doneDoc

set theList to every row in theDoc
repeat with myRow in theList
	set my_date to cell 1 of myRow
	set newitem to make new row at end of rows of doneDoc
	set cell 1 of newitem to my_date

	etc...

don't know if that's the answer you're looking for, but hope that helps.

cheers
andrew


On Feb 25, 2004, at 12:05 PM, Kris Jensen wrote:

> I've been trying out the "Move Completed Items" script from the sample 
> script collection...with one modification:
>
> My Done.ooutline file has date columns (as does my ToDo file).
>
> All works well until I try to save, and then I get this error:
>
> [OOTextStorage descriptionWithCalendarFormat:]: selector not recognized
>
> I did a check on the archives, and someone was having a similar 
> problem with scripting and rearranging rows with dates.
>
> Do I have to forego dates? Lose information when I transfer the 
> checked off rows? Is there a solution?
>
> Thanks for any ideas,
>
> Kris Jensen
> kris at squarez.com
>
> _______________________________________________
> OmniOutliner-Users mailing list
> OmniOutliner-Users at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/omnioutliner-users
>
>




More information about the OmniOutliner-Users mailing list