Re: Win32::GUI, WMI, and threads

2011-10-27 Thread Jonathan Epstein
I'd try putting all the Win32::OLE stuff into its own (single) thread, separate from the GUI thread. Some creative use of variables (and e.g. a Tk Progress bar) can allow you to provide a GUI which indicates how long you've been waiting for a WMI call to respond. HTH, Jonathan On 10/27/201

Re: Intercept IE or Netscape

2005-02-08 Thread Jonathan Epstein
At 04:11 PM 2/8/2005, Glenn Linderman wrote: >On approximately 2/8/2005 11:32 AM, came the following characters from the >keyboard of Jerry Kassebaum: > >>This may be a socket question. >>Is there a way to read the data coming into my computer to a file on its way >>to my browser? Is there a way

Re: Using PNG images

2004-02-23 Thread Jonathan Epstein
Hmm... is there a Tk::SVG or TK::some-other-scalable-graphic out there? Sorry, I guess that this isn't really a question about PPMs ... really a question about modules. Jonathan At 04:02 p.m. 2/23/2004 -0600, Randy Kobes wrote: >On Mon, 23 Feb 2004, Hicks, Bob wrote: > >> Is there a PPM out the

Re: compiled perl scripts?

2003-11-03 Thread Jonathan Epstein
Especially in light of the difficulty in passing command-line arguments, have you or others been able to build simple GUI interfaces to accept user parameters, in a way that is easily encapsulated into PerlApp or one of the other mechanisms for building standalone Windows executables? E.g., I h

Re: Automate data download from internet

2003-09-24 Thread Jonathan Epstein
I do something similar to fetch and parse some web pages for local real estate sales, and then run them weekly using the Windows "at" command. The basic idea is to fetch pages using LWP::Simple, and then parse them using HTML::TokeParser. As you can see below, at one point I was using HTML::Pa

Re: threads question

2003-02-24 Thread Jonathan Epstein
ed by the author of Win32::SerialPort. Jonathan At 10:12 AM 2/24/2003 -0500, Jonathan Epstein wrote: >Eric, > >Being curious about this question (and a related one a few days ago), I did some >google searches and learned about Tk::after. > >See: > http://www.mathematik.uni-ulm.

Re: threads question

2003-02-24 Thread Jonathan Epstein
Eric, Being curious about this question (and a related one a few days ago), I did some google searches and learned about Tk::after. See: http://www.mathematik.uni-ulm.de/help/perl5/doc/Tk/after.html Since apparently Tk itself isn't considered to be thread-safe, I wonder whether in this case

RE: Search a free Perl debugger

2003-02-04 Thread Jonathan Epstein
On my system "ppm3.bat install..." It depends upon how your PATH environment variable is set. YMMV, Jonathan At 04:27 PM 2/4/2003 -0500, Krishna, Hari wrote: >When I do ppm3 install... >It says, ppm3 is not recognized as an internal or external command. > >How do I install it?? > >-

Re: One more time... trouble with Win32::Internet - http Request() vs. ReadFile()

2003-01-29 Thread Jonathan Epstein
Jeff, I tried your snippet and got the same result. I too am mystified, and was interested because I have fought this battle as well, as described below (using different tools). I offer the following alternative solution, which is probably not acceptable to you, but you never know: http://asp

killing a process by window title; was: socket application

2003-01-28 Thread Jonathan Epstein
This seems like a useful starting point, courtesy of Dave Roth: http://www.roth.net/perl/scripts/scripts.asp?ProcList.pl In Python, I sometimes use one of the distribution scripts called killProcName.py. Here's an excerpt which can probably be translated to Perl without too much difficulty:

Re: When Binaries don't exist... (Mark Sutfin)

2003-01-24 Thread Jonathan Epstein
I believe that to make gcc work you will need to compile Perl from scratch as well as all the other modules that you will use (even the ones for which PPDs are available). While the full-blown Visual Studio costs several hundred dollars, one can obtain Visual C++ only for around $100. See: ht

RE: Get IP Address

2003-01-22 Thread Jonathan Epstein
The following works for me: use Sys::Hostname; use Socket; $ip=gethostbyname(hostname()); $theip=inet_ntoa($ip); Jonathan At 12:30 PM 1/22/2003 -0800, Jarvis, John wrote: >you could try "system("ipconfig");" but you'd have to parse some text such >as this: > > >Windows 95 IP Configurat

RE: What URL should be set within PPM for ActiveState 6xx builds

2003-01-06 Thread Jonathan Epstein
think that this is a dead-end. It seems that ActiveState's build process should be a bit more restrictive to avoid posting non-functional PPD/zip archives like this. Jonathan At 04:41 PM 1/6/2003 -0500, Jonathan Epstein wrote: >Sorry if I'm belaboring what's obvious to some

Re: Pattern search program

2002-05-23 Thread Jonathan Epstein
y reflect those of >LIFFE Holdings Plc or any of its subsidiary companies. >--- > >___ >Perl-Win32-Users mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveSta

Re: Want to automatically switch between windows on a NOC PC

2002-02-20 Thread Jonathan Epstein
primarily for display-only. I would >like to automatically switch between the windows every 10 seconds (i.e., >take turns bringing each one to the front.) I've played around a little >with Win32::OLE, but don't see anyway of doing it there. Is there a way to >do this

Re: Win32::OLE ...

2002-02-20 Thread Jonathan Epstein
would actually need to write some Python code. -Jonathan At 10:24 AM 2/20/2002 , Jonathan Epstein wrote: >Nearly everything IS possible in Perl. > >In Python for Win32, a tool called MakePy makes it possible to use early-bound >automation. If you'd like to read about this, see chapte

Re: Win32::OLE ...

2002-02-20 Thread Jonathan Epstein
indings. I don't understand, however, why this >workaround would work in VBScript, but not in Perl. Maybe it's just my >stubborness in believing that everything is possible from Perl. Jonathan Epstein[EMAIL PROTECTED] Head, Unit on Biologic Comput

Re: sort question

2002-01-03 Thread Jonathan Epstein
to the unix ksh command `cat file | sort -d" " >-f2` > >Thx, >Pete >___ >Perl-Win32-Users mailing list >[EMAIL PROTECTED] >http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users Jonathan Epst

running pod2html on all locally installed modules

2001-12-05 Thread Jonathan Epstein
update my local documentation, even if it might take a while to run. I'm running ActivePerl 2.1 (I think), perl v5.6.1 build 630, 10/31/2001 on W2K. Thanks for any pointers, -Jonathan Jonathan Epstein[EMAIL PROTECTED] Head, Unit on Biologic Computation