jEdit Community - Resources for users of the jEdit Text Editor
Run macro on Event
Submitted by raccuia on Monday, 27 December, 2004 - 10:19
Hello,
I'd like to know if I can run a macro when I save a buffer, catching the click on Save button.
Sorry if anyone have already ask for this question, but I don't found anything about it. Can anyone tell me if I can catch this event ed run my macro or where I can found any information?

Thanks in advance.
Mino
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Take a look at the ActionHook
by Anonymous on Mon, 27/12/2004 - 15:25
Take a look at the ActionHooks plugin. It won't let you trap clicks, but it will enable you to run macros when buffers are saved. See its help file for examples.

-Ollie
 
How to know which buffer is saved
by Anonymous on Thu, 21/04/2005 - 08:48
Hi
Does the plugin tell me which buffer is saved?
The plug in runs pretty well, but when a buffer is saved which is not the displayed one, i would like to get to know which one it is. Could I do that with the Plugin, or is there an other way?
Thanks Martin
 
ActionsHooks
by raccuia on Mon, 27/12/2004 - 15:50
Thanks!!!

Bye Mino
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293