Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127375] Re: Evaluate code fragment without making new cell for it?
  • From: Murta <rodrigomurtax at gmail.com>
  • Date: Fri, 20 Jul 2012 03:54:13 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <jsrpgn$d22$1@smc.vnet.net>

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? 



  • Prev by Date: Re: strange booleanconvert behavior?
  • Next by Date: Re: switching axes in Plot?
  • Previous by thread: Re: Evaluate code fragment without making new cell for it?
  • Next by thread: Rewrite a Manipulate to call NDSolve just once?