This new code would work for replacing the command.insert_selection action. I use insert_action to paste any selected text into the command line like this: command.insert_action; command.focus; key.fake Right; key.fake Space That is bound to button-2. in the output pane. But what I was hoping to be able to do is simply paste what is already in the X copy buffer into the command line in order to build the command 'file.open <pasted>' and then execute the command. E.g. I want to make a pointer button action like command.focus; key.fake l; key.fake Space; command.paste; command.send (the command l is an alias of file.open) Adam On Mon, Jun 18, 2012 at 1:36 AM, <tpgww@xxxxxxxxxxx> wrote: > On Sun, 17 Jun 2012 20:19:14 -0500 > Adam Krolnik <akrolnik@xxxxxxxxx> wrote: > > > So if I compile in the button fake code, I could issue 'button.fake 2' to > > effect the paste action ? > > If there were such an action, yes. > > However, I just added to svn code some changes to support macros > %o substitute output pane selection > %O substitute the 'extended' selection as generally used now e.g. when > activating > > They've not been tested much. And you can't see the cursor, so will just > have to remember its position. > > Regards > Tom > > > > > > > > > On Sun, Jun 17, 2012 at 7:23 PM, <tpgww@xxxxxxxxxxx> wrote: > > > > > On Fri, 15 Jun 2012 15:45:13 -0500 > > > Adam Krolnik <adam.krolnik@xxxxxxxxxxxxxxx> wrote: > > > > > > > file.open <file> > > > > > > > > opens the specified file <file> - thus doing what I was looking for. > > > > > > > > Is there a 'paste' action that I can execute, instead of > > > command.insert_selection, allow me to > > > > click a button in the command output window instead of the smaller > > > command window ? > > > > I don't see an action associated with paste, but its there, bound > > > implicitly to button 2. > > > > > > Adam, > > > > > > I guess you mean you want to get a filename/path from selected output > pane > > > text, to use as the argument for file.open. There's nothing to > > > automatically do that ATM. Probably it would be best achieved via a new > > > macro. > > > > > > Otherwise, for filelist item(s), file.open %p, aliased and/or bound to > > > whatever you fancy. > > > > > > Regards > > > Tom > > > > > > > > > -- > > > Users can unsubscribe from the list by sending email to > > > emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field > or > > > by logging into the web interface. > > > > > > > > > > > -- > > Adam Krolnik > > > -- > Users can unsubscribe from the list by sending email to > emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or > by logging into the web interface. > -- Adam Krolnik