<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - tclapp - Comments</title>
 <link>http://community.activestate.com/tags/tclapp</link>
 <description>Comments for &quot;tclapp&quot;</description>
 <language>en</language>
<item>
 <title>Regarding extracting the exe file to the local file system</title>
 <link>http://community.activestate.com/faq/wrapping-executables-in-a#comment-5644</link>
 <description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;How to extract the executable to a location in the regular filesystem form the VFS and run it from there? The operating system will be able to see it, and it will work as expected.&lt;/p&gt;
&lt;p&gt;do we need modifications in the main script?&lt;/p&gt;
&lt;p&gt;Thanks in Advance&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
BS&lt;/p&gt;
</description>
 <pubDate>Wed, 11 Jun 2008 07:53:17 -0700</pubDate>
 <dc:creator>sowm18</dc:creator>
 <guid isPermaLink="false">comment 5644 at http://community.activestate.com</guid>
</item>
<item>
 <title>can&#039;t find package Expect</title>
 <link>http://community.activestate.com/faq/tclapp-cant-find-a-packag#comment-4790</link>
 <description>&lt;p&gt;Greetings.&lt;br /&gt;
I have installed ActiveTcl 8.4.18.0 and TclDevKit 4.0.4 (trial license), I need to generate a executable of my script tcl.&lt;/p&gt;
&lt;p&gt;I use tclsh and it works well, but, generating an executable from TclDevKit with the following command:&lt;/p&gt;
&lt;p&gt;    tclapp.exe -prefix C:\Tcl\bin\base-tk-thread-win32-ix86.exe -out myapp.exe C:\Tcl\demos\Expect\mejorcito.tcl&lt;/p&gt;
&lt;p&gt;At the moment I have the following files in C:\Tcl\bin:&lt;/p&gt;
&lt;p&gt;base-tcl-thread-win32-ix86.exe&lt;br /&gt;
base-tk-thread-win32-ix86.exe&lt;/p&gt;
&lt;p&gt;mejorcito.tcl is a script that use expect and below it is the code:&lt;/p&gt;
&lt;p&gt;#!/bin/sh&lt;br /&gt;
# \&lt;br /&gt;
exec tclsh &quot;$0&quot;  ${1+&quot;$@&quot;}&lt;/p&gt;
&lt;p&gt;# This is required to declare that we will use Expect&lt;br /&gt;
package require Expect &lt;/p&gt;
&lt;p&gt;# 1. Open a telnet session&lt;br /&gt;
      spawn telnet 10.0.0.3&lt;/p&gt;
&lt;p&gt;I get the following error message:&lt;/p&gt;
&lt;p&gt;can&#039;t find package Expect while executing &quot;package require Expect&quot; (file &quot;C:/TclDevKit/bin/myapp.exe/lib/application/Tcl/demos/Expect/mejorcito.tcl&quot; line 37) invoked from within &quot;source   $startup&quot; (file &quot;C:/TclDevKit/bin/myapp.exe/main.tcl&quot; line 51)&lt;/p&gt;
&lt;p&gt;Please help my to find a solution&lt;br /&gt;
My email is: &lt;a href=&quot;mailto:bermudezdouglas@hotmail.com&quot;&gt;bermudezdouglas@hotmail.com&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Wed, 26 Mar 2008 13:26:40 -0700</pubDate>
 <dc:creator>edwin</dc:creator>
 <guid isPermaLink="false">comment 4790 at http://community.activestate.com</guid>
</item>
<item>
 <title>Base-tk</title>
 <link>http://community.activestate.com/faq/bundling-images-and-libra#comment-354</link>
 <description>&lt;p&gt;I found it. I just needed a newer version of TK.&lt;/p&gt;
</description>
 <pubDate>Tue, 23 Jan 2007 16:50:24 -0800</pubDate>
 <dc:creator>jwmiller4623</dc:creator>
 <guid isPermaLink="false">comment 354 at http://community.activestate.com</guid>
</item>
<item>
 <title>Which file?</title>
 <link>http://community.activestate.com/faq/bundling-images-and-libra#comment-345</link>
 <description>&lt;p&gt;Which file are you referring to?  The basekit comes with ActiveTcl, and the sample file above is just something I threw together in the spur of the moment.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;kjw&lt;/p&gt;
</description>
 <pubDate>Tue, 23 Jan 2007 10:36:28 -0800</pubDate>
 <dc:creator>kevinw</dc:creator>
 <guid isPermaLink="false">comment 345 at http://community.activestate.com</guid>
</item>
<item>
 <title>base-tk-thread-win32-ix86.exe</title>
 <link>http://community.activestate.com/faq/bundling-images-and-libra#comment-344</link>
 <description>&lt;p&gt;Was this file supposed to come with my dev kit?&lt;/p&gt;
</description>
 <pubDate>Tue, 23 Jan 2007 10:23:44 -0800</pubDate>
 <dc:creator>jwmiller4623</dc:creator>
 <guid isPermaLink="false">comment 344 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
