simulate keys
  Home FAQ Contact Sign in
Search only in:
sci.bio.evolution
 
Advanced search
MATCHING GROUPS



more...
Group Profile...
POPULAR GROUPS

found 531 articles for 0.009 sec
Re: How to simulate keyboard input in self-defined function?     

Author: huxiaopengstat
Date: Aug 23, 2008 07:44

... for your warm heart! I want to simulate keystrike "t" + <space> (not simultaneously). If ...method is not english. Then I will simulate "Ctrl" once to toggle input method between...> function or hook? Thanks I now see what you mean about simulating key strokes. I think this is ...and chinese is to use only "Ctrl" key once. Thanks anyway!!! Now, I see two...
Show full article (3.68Kb) · Show article thread
Re: How to simulate keyboard input in self-defined function?     

Author: Rupert Swarbrick
Date: Aug 23, 2008 02:48

... Thanks for your warm heart! I want to simulate keystrike "t" + <space> (not simultaneously). If what I get... my input method is not english. Then I will simulate "Ctrl" once to toggle input method between english and ...20 Thanks =20=20=20=20 I now see what you mean about simulating key strokes. I think this is very dependent on what other software you're using...
Show full article (3.37Kb) · Show article thread
Re: How to simulate pressing a key     

Author: netawater
Date: Sep 20, 2008 07:43

... I do not want to interactive call a function but call it like pressing a key. I think you do, you just don't know it yet. :) You ... to do something like thas (defun do-what-backspace-does () (interactive) (call-interactively (key-binding "\C-?"))) my aim is to binding a funtion to tab key in every mode: if cursor is at the end of word then call M-TAB'...
Show full article (0.82Kb) · Show article thread
Re: How to simulate pressing a key     

Author: netawater
Date: Sep 20, 2008 07:37

...I can not just call the function which key is binding for it may have...a function but call it like pressing a key. for example, press tab in help-mode will...aim is to binding a funtion to tab key in every mode: if cursor is at ...;; ^C^t is binding to tab key's function in mode-hook. (...(key-binding "^C^t")) (M-TAB-func (key-binding "\M-\t"))) (if (looking-at "\\>") ...
Show full article (2.72Kb) · Show article thread
Re: How to simulate pressing a key     

Author: Nikolaj Schumacher
Date: Sep 20, 2008 03:59

... I do not want to interactive call a function but call it like pressing a key. I think you do, you just don't know it yet. :) You want to do something like thas (defun do-what-backspace-does () (interactive) (call-interactively (key-binding "\C-?"))) my aim is to binding a funtion to tab key in every mode: if cursor is at the end of word then call M-TAB'...
Show full article (0.63Kb) · Show article thread
RE: How to simulate pressing a key     

Author: Drew Adams
Date: Sep 19, 2008 23:19

...I can not just call the function which key is binding for it may have...a function but call it like pressing a key. for example, press tab in help-mode will...aim is to binding a funtion to tab key in every mode: if cursor is at the... ;; ^C^t is binding to tab key's function in mode-hook. (...(key-binding "^C^t")) (M-TAB-func (key-binding "\M-\t"))) (if (looking-at "\\>") ...
Show full article (2.38Kb) · Show article thread
Re: How to simulate pressing a key     

Author: netawater
Date: Sep 19, 2008 19:50

...I can not just call the function which key is binding for it may have uncertainty...a function but call it like pressing a key. for example, press tab in help-mode ... is to binding a funtion to tab key in every mode: if cursor is at ...;; ^C^t is binding to tab key's function in mode-hook. (let ((...key-binding "^C^t")) (M-TAB-func (key-binding "\M-\t")) ) (if (looking-at "\\>") ...
Show full article (1.51Kb) · Show article thread
How to simulate pressing a key     

Author: netawater
Date: Sep 19, 2008 08:12

I can not just call the function which key is binding for it may have uncertainty parameter, like tab's function forward-button has parameter, but lisp-indent-line does not. although execute-extended-command works perfect, but I can not use it in my elisp function. Thank you very much!
Show full article (0.29Kb)
RE: How to simulate pressing a key     

Author: Drew Adams
Date: Sep 19, 2008 08:05

> I can not just call the function which key is binding for it may have uncertainty parameter, like tab's function forward-button has parameter, but lisp-indent-line does not. although execute-extended-command works perfect, but I can not use it in my elisp function. I'm not sure I understand your question, but if I do, have a look at function `call-interactively'. It lets you ...
Show full article (0.57Kb)
Can Ctrl key be used in Macro?     

Author: xiaopeng hu
Date: Aug 21, 2008 07:02

... to switch input method. How to make emacs to do it automatically? I need when I input $ emacs simulates $ and "Ctrl" (not simultaneously, $ is first, "Ctrl" is later) . Thanks After I input $, I must ..." once to switch input method.How to make emacs to do it automatically?I need when I input $ emacs simulates $ and "Ctrl" (not simultaneously, $ is first, "Ctrl" is later) . Thanks
Show full article (0.44Kb)
1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · next