Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1721 > unrolled thread
| Started by | "Alexey Popkov" <lehin.p@gmail.com> |
|---|---|
| First post | 2011-04-16 11:36 +0000 |
| Last post | 2011-04-16 11:36 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
How to define FrontEndEventActions for keyboard combinations with Shift and Alt? "Alexey Popkov" <lehin.p@gmail.com> - 2011-04-16 11:36 +0000
| From | "Alexey Popkov" <lehin.p@gmail.com> |
|---|---|
| Date | 2011-04-16 11:36 +0000 |
| Subject | How to define FrontEndEventActions for keyboard combinations with Shift and Alt? |
| Message-ID | <iobuvt$bev$1@smc.vnet.net> |
Good day, I wish to redefune FrontEndEventActions for two events: pressing Alt+"." and pressing Shift+Enter. I wish to evaluate some code *before* evaluating cell content and *before* aborting evaluation. My goal is to have information in the kernel when a **user** starts new sequence of evaluations by pressing Shift+Enter and when he tries to abort them by pressing Alt+".". I know that $Pre allows me to know when a new input line is passed to the kernel but it is not what I want since this line can be just one of many input lines in a sequence of inputs created by a user when pressing Shift+Enter. Is it possible to do this? I tried to define actions for different keyboard combinations with Alt and Shift but I can not get them working. Earlier in this newsgroup, I've seen similar questions on FrontEndEventActions but none of them was answered. I'm doing my attempt to ask in the hope that someone from the developers pay attention to it this time... Alexey
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web