MathGroup Archive 2004

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

Search the Archive

button to emulate Shift-Enter

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49968] button to emulate Shift-Enter
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sun, 8 Aug 2004 05:37:55 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

How would I create a button, for a one-button palette, that when clicked 
by the mouse, sends the Shift-Enter key combination to the active 
notebook (i.e., not the palette notebook) for the cell in which the 
cursor was positioned in that active notebook?

Explanation: For presentations, I want to be able to use a 
remote-control mouse device that cannot transmit any keystrokes but can 
move the mouse around the screen and transmit a left-click (or 
right-click).  So my thought is to have the sort of button, as a 
sepaately floating palette, that I could click so as to emulate pressing 
Shift-Enter in the target notebook being presented.

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: How to define a routine to return multiple values
  • Next by Date: Re: UnrankPermutation newbie problem .. Combinatorica Package
  • Previous by thread: Re: First day with Mathematica 5, and now all I get is MakeExpression[ ... ]
  • Next by thread: Re: button to emulate Shift-Enter