Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

CurrentValue

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88709] CurrentValue
  • From: Hannes Kessler <HannesKessler at hushmail.com>
  • Date: Tue, 13 May 2008 07:10:54 -0400 (EDT)

Hello,

CurrentValue["SelectionData"] works for selections in the evaluation
notebook:

Button["label",
 With[{repeated = ToString@CurrentValue@"SelectionData"},
  NotebookApply[EvaluationNotebook[],
   "f[" <> repeated <> "," <> repeated <> "]"]]]

How to use CurrentValue for other notebooks than the evaluation
notebook?
CurrentValue[NotebookSelection[nb]] does not work.

Regards,
Hannes Kesler


  • Prev by Date: Re: Creating circular arc arrows
  • Next by Date: vehicle routing problem
  • Previous by thread: Re: Creating circular arc arrows
  • Next by thread: Re: CurrentValue