MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to select several cells

  • To: mathgroup at
  • Subject: [mg99229] Re: How to select several cells
  • From: Yuri Kandrashkin <SpinAlgebra at>
  • Date: Thu, 30 Apr 2009 06:23:54 -0400 (EDT)
  • References: <gt6fo2$rvr$> <gt9auc$qc3$>


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.


  • Prev by Date: Re: HoldForm in defined function doesn't seem to work
  • Next by Date: Re: HoldForm in defined function doesn't seem to work
  • Previous by thread: Re: How to select several cells
  • Next by thread: Ted Erseks RootSearch Package $MinPrecision