From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22355 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 10:22:06 +0200 Message-ID: <431FF4AE.4020608@wxs.nl> References: 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 1126167743 7041 80.91.229.2 (8 Sep 2005 08:22:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2005 08:22:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 08 10:22:19 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 1EDHfX-0002bZ-1l for gctc-ntg-context-518@m.gmane.org; Thu, 08 Sep 2005 10:22:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50F2F127C8; Thu, 8 Sep 2005 10:22:02 +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 15392-03; Thu, 8 Sep 2005 10:21:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED32E127B1; Thu, 8 Sep 2005 10:21:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 29112127B1 for ; Thu, 8 Sep 2005 10:21:56 +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 15425-06-5 for ; Thu, 8 Sep 2005 10:21:55 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 303AF127A9 for ; Thu, 8 Sep 2005 10:21:54 +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 j888Lr1Q030693 for ; Thu, 8 Sep 2005 10:21:53 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 4A19F3497E; Thu, 8 Sep 2005 09:29:29 +0200 (CEST) Original-Received: from [10.100.1.15] (unknown [10.100.1.15]) by server-1.pragma-net.nl (Postfix) with ESMTP id 4D03C2DC48 for ; Thu, 8 Sep 2005 07:29:28 +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: 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:22355 Archived-At: Stephen A. Tjemkes wrote: >Hi, > >If you excuse my ignorance, but I am looking for a simple example how to launch an executable (a tcl/tk script in my case) from within a pdf document prepared by context. > >During a presentation i would like to show some graphics which are generated through the execution of a tcl/tk script. >One could close the pdf file and open the tcl/tk script, but it would be nice if one could symbolically link the script within the pdf file. >Because I prepare the pdf file using context, I searched the context manuals, but didnot find a solution to this problem. > >Therefore if somebody has solved this already and is willing to share his/her experience I would be grateful > > the best way to do it is to make a cmd file (batch file) and use the \goto{whatever}[program(somename.cmd)] feature; this kind of functionality has never been robust in acrobat and batch files permit you to set up things properly (paths, command line arguments, etc); an alternative is to use http requests and a local http server, but then you end up with acrobat waiting for some response (url or submit methods) 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 -----------------------------------------------------------------