Help with what should be a simple script...

Jim Anders anders at kaidan.com
Tue Feb 21 12:27:26 PST 2006


Listmembers,

I'm hoping someone can help me out...

I'm trying to create a OmniGraffle document/script that goes through  
each shape (which represents a timed process) and adds all the times  
(which is text entered within the shape) for each and every shape in  
the doc.

For example. Imagine a bunch of shapes with the following

Cut Parts
21 minutes
       V
Clean Parts
3 minutes
      V
Wipe Parts
2 minutes
      V
Assemble
3 minutes
      V
Done


TOTAL TIME  XX minutes

Ideally, the total time would be displayed within another shape (as  
shown above). Perhaps clicking this shape executes the script? Of  
course, if the text had to be delimited somehow within the shapes  
(like the minutes in parentheses) to make it easier for the script to  
parse, that would be OK.

I'm not looking for anything real fancy, just something to avoid  
having to manually add all the times every time they get updated.

Thanks,
Jim





More information about the OmniGraffle-Users mailing list