Monday, November 08, 2010 at 12:01 AM.
system.verbs.apps.cardEditor.specifications.utilities.tightcorner
<<this script helped me in a tight corner <<I needed to be able to set the recalculation attributes of the recalculation attributes card <<oops on setone (x) { <<delete (@scratchpad.atts) cardeditor.getobjectattributes ("att" + x, @scratchpad.atts); edit (@scratchpad.atts.rcst); scratchpad.atts.rcsc = "atts.rcst == " + x; scratchpad.atts.rcst = 1; <<only on major recalcs cardeditor.setobjectattributes ("att" + x, @scratchpad.atts)}; <<for i = 1 to 4 <<setone (i) bundle { cardeditor.getobjectattributes ("rcsc", @scratchpad.atts); scratchpad.atts.rcsc = "atts.rcsc"; scratchpad.atts.rcst = 1; cardeditor.setobjectattributes ("rcsc", @scratchpad.atts)}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.