MathGroup Archive 2013

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

Search the Archive

Re: Selecting cells

  • To: mathgroup at
  • Subject: [mg130511] Re: Selecting cells
  • From: debguy <johnandsara2 at>
  • Date: Wed, 17 Apr 2013 02:32:01 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <8cnvd8$> <kkikc4$rkf$>

This isn't a full answer.  But try this.  First re-select the group
with another Selection move.  Also, Print the selection at each step.
If you feel the selection is wrong post on mathgroup the exact
circumstances - something others can easily verify.  Here is an
excerpt from something i did once that uses All:

nb = SelectedNotebook[];
SelectionMove[nb, Previous, EvaluationCell, asf];
SelectionMove[nb, All, CellContents, asf];
SelectionMove[nb, All, Word, asf];
data = NotebookRead[nb];

When I worked with this I noticed one has to try a few things to
understand what SelectionMove is doing.

  • Prev by Date: programmatically save as PDF (SaveRename problem)
  • Next by Date: Re: Distribute one list element over another
  • Previous by thread: Re: Selecting cells
  • Next by thread: Plot with axes exchanged