EmEditor (text editor) Forum Index Questions and Answers about Macros
can a macro know how it was invoked or recieve arguments? | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| dreftymac | Posted on: 11/18/2008 11:41 am |
Not too shy to talk ![]() ![]() Joined: 10/1/2008 From: Posts: 39 |
can a macro know how it was invoked or recieve arguments? Question:
1) Is it possible to determine from within a macro what keyboard combination was used to trigger the macro? 2) If no to number 1 above, is there a way to pass an argument into a macro that is tied to a keyboard combination under "My Macros"? The idea is to be able to create a single macro that responds differently depending on what keyboard combo was used to trigger it. If the answer is no to all of the above, no problem, I can make multiple macros -- one for each key combination, just thought I would ask. Cheers |
| Yutaka | Posted on: 11/18/2008 12:37 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2398 |
Re: can a macro know how it was invoked or recieve arguments? Quote:
Sorry, no to both. You can make multiple macros.
|
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |




