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