taskWeeChat - Tasks: task #5597, Allow user command upon highlight

 
 

task #5597: Allow user command upon highlight

Submitter:  Aaron Griffin <phrakture>
Submitted:  Wed 24 May 2006 08:02:45 PM UTC
 
Category:  display Should Start On:  Wed 24 May 2006 12:00:00 AM UTC
Should be Finished on:  Wed 24 May 2006 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  Cancelled Privacy:  Public
Percent Complete:  0% Assigned to:  flashcode
Originator Name:  phrakture Open/Closed:  Closed
Planned Release:  None IRC nick: 
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Wed 31 May 2006 07:20:48 AM UTC, comment #3: 

It's possible to catch highlight event with script today, like following code in Perl:

weechat::add_message_handler("weechat_highlight", "highlight");
sub highlight {
...
}

Please look at WeeChat doc for other possible events you can use.

Sebastien Helleu <flashcode>
Project Administrator
Wed 24 May 2006 08:28:19 PM UTC, comment #2: 

This is already possible by merging awaylog.pl and exec.pl and change it apropriately.

Jiri Golembiovsky <golemj>
Wed 24 May 2006 08:10:04 PM UTC, comment #1: 

I would also really like to see this feature in weechat.  Makes using any notification as simple as calling an executable.

Anonymous
Wed 24 May 2006 08:02:45 PM UTC, original submission:  

Allowing some sort of "exec" command to fire off upon highlight would be a great addition.  This would allow for the "beep on highlight" rather trivially, using aplay or some such tool.  One could also configure gnu screen to flag the window, or numerous other things.

I'm aware this could potentially be done with a plugin, however, it would be duplication of work, as the plugin would have to watch all windows for highlight text, then fire off a command.

Perhaps this can be done by mapping a weechat command to the highlight event, allowing for one to use an "exec" plugin (i.e. shell.py) to then do the real aplay command.

Aaron Griffin <phrakture>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

 

 

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-31 flashcode StatusNone Cancelled
    Assigned toNone flashcode
    Originator Name phrakture
    Open/ClosedOpen Closed

Back to the top


Powered by Savane 3.9