Re: How to select several cells
- To: mathgroup at smc.vnet.net
- Subject: [mg99229] Re: How to select several cells
- From: Yuri Kandrashkin <SpinAlgebra at gmail.com>
- Date: Thu, 30 Apr 2009 06:23:54 -0400 (EDT)
- References: <gt6fo2$rvr$1@smc.vnet.net> <gt9auc$qc3$1@smc.vnet.net>
Hi, I wish to select two or more cells which don`t follow each other. For example, 1, 2, 5 and 7-th cells in the notebook which in addition can have different grouping options. It is similar when you select cells by clicking the mouse button with holded Ctrl(Command) key. This can be done with NotebookFind but in this case all SHOSEN cells must have common tag. This method has two drawbacks. First one has to affect on the cells inserting tags as cell option. Second, this work requires individual manipulations with every cell, which is inefficient. The reason for this function is controlling notebook selection (and evaluation etc) from outside of the notebook itself. Currently I have engine which creates active table of contents (TOC). The TOC buttons allow to open/close of the corresponding sections, to manipulate their options etc. But these operations work on the level of individual cells. The operations like selection of multiple cells simultaneously (for example to launch their evaluation) need special function with options described above. It might be that there is special FrontEndToken which does this work, but I couldn=92t find it. Yuri