help-gnu-emacs
[Top][All Lists]
Advanced

[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 <address@hidden>,
 Haines Brown <address@hidden> 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, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]