Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11001

Re: Evaluate code fragment without making new cell for it?

From Murta <rodrigomurtax@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Evaluate code fragment without making new cell for it?
Date 2012-07-20 07:58 +0000
Message-ID <jub32l$ej4$1@smc.vnet.net> (permalink)
References <jsrpgn$d22$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Someone knows how to complete this:

Item[KeyEvent["E", Modifiers -> {Control, Shift}],
	FrontEndExecute[
			FrontEnd`NotebookApply[
				FrontEnd`InputNotebook[],
				"EvaluateInNewCell[\[SelectionPlaceholder]]",
				After
			]
		]
	]

I almost get there.
When I put it in my KeyEventsTranslation and executes in an selectec Text I get this.
EvaluateInNewCell[selectedText]
How do I can Evaluate this in an new cell? 

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Evaluate code fragment without making new cell for it? "Nasser M. Abbasi" <nma@12000.org> - 2012-07-02 09:26 +0000
  Re: Evaluate code fragment without making new cell for it? Dominik Hezel <sendme2000@me.com> - 2012-07-04 07:37 +0000
  Re: Evaluate code fragment without making new cell for it? Dominik Hezel <sendme2000@me.com> - 2012-07-05 18:52 +0000
  Re: Evaluate code fragment without making new cell for it? Murta <rodrigomurtax@gmail.com> - 2012-07-19 07:55 +0000
  Re: Evaluate code fragment without making new cell for it? Murta <rodrigomurtax@gmail.com> - 2012-07-20 07:58 +0000

csiph-web