[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: running a command that requires two parameters on a file
From: |
Barry Margolin |
Subject: |
Re: running a command that requires two parameters on a file |
Date: |
Wed, 06 Aug 2014 11:20:37 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <87fvh98xi3.fsf@bach.histomat.net>,
Haines Brown <haines@histomat.net> wrote:
> I am in the habit of bringing up ! in order to run a command such as
> xpdf on a selected file.
I assume you're talking about Dired.
>
> The problem comes when I want to run the command wkhtmltopdf, for it
> calls for two parameters. That is, emacs won't let me do: ! wkhtmltopdf
> input.html output.pdf.
>
> Is there a way I can do this withou raising a terminal to make the
> conversion with it?
>
> Haines Brown
Write a script that takes one argument and fills in the other argument.
Then run: ! scriptname
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***