ActivePerl 5.10.0 Build 1003 released

2008-05-16 Thread Jan Dubois
ActiveState is pleased to announce ActivePerl 5.10.0 Build 1003, a complete, ready-to-install Perl distribution for Windows, Mac OS X, Linux, Solaris, and AIX. This build is based on the release version of Perl 5.10.0. For detailed information or to download this release, see: http://www.activ

RE: controlling Winamp

2008-05-16 Thread Jan Dubois
On Fri, 16 May 2008, Jon Bjornstad wrote: > I launch CLAmp.exe with a system() from my script. It is the DOS > window that results from the system() that I am trying to > control/eliminate. Try calling Win32::SetChildShowWindow(0); before your system() call. See `perldoc Win32` for more det

Re: controlling Winamp

2008-05-16 Thread Mark Dootson
Hi, Win32::SetChildShowWindow(0); at the start of your script, then any command windows you start will not be visible. See Win32 docs for full description. Regards Mark Jon Bjornstad wrote: > Thanks for this feedback, Stuart. > > I use perl2exe with the -gui option to eliminate > the DOS win

Re: controlling Winamp

2008-05-16 Thread Jon Bjornstad
Thanks for this feedback, Stuart. I use perl2exe with the -gui option to eliminate the DOS window on my Perl/Tk script. I launch CLAmp.exe with a system() from my script. It is the DOS window that results from the system() that I am trying to control/eliminate. Talking directly to Winamp would a

RE: controlling Winamp

2008-05-16 Thread Stuart Arnold
You can control the behaviour of the CONSOLE window yourself, unless the package you are using is launching things, but anyway, here's what I use: use Win32::GUI; my $perlwin = Win32::GUI::GetPerlWindow(); # the console window perl is running in. Win32::GUI::Show( $perlwin, 0 ); # SW_HIDE Wi

mail message truncated when using net::smtp

2008-05-16 Thread Chris Lindsley
Hi, I am using the net::smtp module to send an email. I'm trying to send an email of about 2400 characters. It is getting truncated at a little over 1800 characters. Does anyone know of parameters I can add to up the call to up the message length? perl -v This is perl, v5.10.0 built for MSWi

Re: controlling Winamp

2008-05-16 Thread Jon Bjornstad
Greetings, I have a Win32 Perl/Tk application that controls Winamp in two different ways. One is via Win32::GUI: $winampHandle = Win32::GUI::FindWindow("Winamp v1.x", ""); Win32::GUI::SendMessage( $winampHandle, WM_COMMAND, 40047, 0 ); 40047 means "Stop". As far as I can determine the

FW: How to change dir using SFTP or SSH

2008-05-16 Thread Sturdevant, Robert W Mr CTR USA AMC
Oooops, forgot to cc the list Sturdy -Original Message- Hi Brian, Thanks for the reply. Yes, path and file exist, case is correct, user is logged on, etc. This is an issue unique to the server app running on the remote. Unfortunately, I can't mod the app so need to code a workaround o

RE: How to change dir using SFTP or SSH

2008-05-16 Thread Brian Raven
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sturdevant, Robert W Mr CTR USA AMC Sent: 16 May 2008 15:55 To: perl-win32-users Subject: How to change dir using SFTP or SSH > Hi list, > > I have a perl (5.6) SFTP client (Net::SFTP) that gets and puts files using either a full or

Re: draw boxes around tablular data ???

2008-05-16 Thread Gary D Trosper
Mike Schleif wrote: Please, give me some ideas HOW to draw boxes around this tabular data. You could try putting your information on a Tk::Canvas then use the postscript method to generate a printable image. Gary Trosper Raytheon Technical Services Company, LLC ___

RE: draw boxes around tablular data ???

2008-05-16 Thread Jan Dubois
On Fri, 16 May 2008, Mike Schleif wrote: > > We are tasked to do several database queries, process a volume of text, > generate several textual reports, and send production orders to a > printer. > > All of the above is functionally complete. > > However, the customer wants the printed productio

RE: draw boxes around tablular data ???

2008-05-16 Thread Chris O
> However, the customer wants the printed production orders to have boxes > drawn around the tabular data. > Currently, the tabular data is formatted via printf's to generate > aligned columns, written to a TXT file, and send to a line printer. > Please, give me some ideas HOW to draw boxes aroun

draw boxes around tablular data ???

2008-05-16 Thread Mike Schleif
We are tasked to do several database queries, process a volume of text, generate several textual reports, and send production orders to a printer. All of the above is functionally complete. However, the customer wants the printed production orders to have boxes drawn around the tabular data. Cur

How to change dir using SFTP or SSH

2008-05-16 Thread Sturdevant, Robert W Mr CTR USA AMC
Hi list, I have a perl (5.6) SFTP client (Net::SFTP) that gets and puts files using either a full or relative path with the filename something like this $sftp->get( $remotename, $localname ); # where $remotename = '/Home/OUT/myfile.txt' But I have a remote system (a unix box) that rejects the pa