Re: Is there a command to access the filetype opening mechanisms ?

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Mon, 18 Jun 2012 16:36:13 +1000

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.

Other related posts: