From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22375 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Start of application within a context document Date: Thu, 08 Sep 2005 21:45:14 +0200 Message-ID: <432094CA.8080702@wxs.nl> References: <431FF4AE.4020608@wxs.nl> <6faad9f0050908115716476059@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1126208755 20589 80.91.229.2 (8 Sep 2005 19:45:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2005 19:45:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 08 21:45:52 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EDSKe-0001Hz-Cg for gctc-ntg-context-518@m.gmane.org; Thu, 08 Sep 2005 21:45:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA7AE12800; Thu, 8 Sep 2005 21:45:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22850-05; Thu, 8 Sep 2005 21:45:06 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F13E9127E5; Thu, 8 Sep 2005 21:45:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B4D6127E5 for ; Thu, 8 Sep 2005 21:45:04 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22945-02 for ; Thu, 8 Sep 2005 21:45:03 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 84BDF127E2 for ; Thu, 8 Sep 2005 21:45:03 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j88JiwDB016226 for ; Thu, 8 Sep 2005 21:44:58 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id ADC342DC48; Thu, 8 Sep 2005 20:52:32 +0200 (CEST) Original-Received: from [10.100.1.15] (unknown [10.100.1.15]) by server-1.pragma-net.nl (Postfix) with ESMTP id B620519862 for ; Thu, 8 Sep 2005 18:52:31 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f0050908115716476059@mail.gmail.com> X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22375 Archived-At: Mojca Miklavec wrote: >Hans Hagen wrote: > > > >>\goto{whatever}[program(somename.cmd)] >> >> > >Great! But how can I pass parameters? > >\goto{http://contextgarden.net}[program(C:\\windows\\system32\\shutdown.exe)] >only prints a help message (pretty unuseful) and >\goto{http://contextgarden.net}[program(C:\\windows\\system32\\shutdown.exe -s)] >says that the file wasn't found. > >(the rest works as expected, esp. once you check the box "do not show >this warning again") > > long time not done, so a guess -) \goto{http://contextgarden.net}[program(C:\\windows\\system32\\shutdown.exe{-s})] anyhow, as with more things the pdf specs promise more that is possible. This is why i suggested using c:\\myscripts\mojca-wants-to-shut-down.cmd which then calls c:\windows\system32\shutdown.exe -s Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------