Create User Accounts Using Perl

2005-02-08 Thread Jonathan Dudson
I have various accounts under which I wish to import to a system I have a csv with accounts and passwords. Can I use perl to create the accounts as there a over 300 accounts, if so how can I go about doing it. Jay Dudson Operations And Support, Idesta Solutions Ltd (: 0870 830

RE: Create User Accounts Using Perl

2005-02-08 Thread Anderson, Mark (Service Delivery)
Yes but how you do it depends on various factors... If it's AD you should check out the EZADScriptomatic tool from The Scripting guys at technet (www.microsoft.com/technet) If you really want to use Perl you can either use the ADSI objects and Win32::OLE or you can go with Win32::AdminMisc from

Image::Magick missing Resize.al

2005-02-08 Thread Kamphuys, ing. K.G. (Koen)
Hi all, I found this thread in the archives: http://www.mail-archive.com/perl-win32-users@listserv1.activestate.com/msg00 371.html unfortunately it didn't clue to a solution. Running perl 5.008 and module version 4.29 (apparent to the $VERSION value in the module) I get the same error (Can't

Intercept IE or Netscape

2005-02-08 Thread 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 to intercept what the browser is going to send to the internet, change it, and then send it out? Man, that would make scraping the internet a piece of cake!

RE: Intercept IE or Netscape

2005-02-08 Thread Ken Cornetet
It would probably be easier to drive IE via OLE my $ie = Win32::OLE-new('InternetExplorer.Application'); $ie-Navigate(http://whatever;); $ie-{Toolbar} = 0; $ie-{StatusBar} = 0; $ie-{Width} = 800; $ie-{Height} = 400; $ie-{Left} = 0;

Re: Intercept IE or Netscape

2005-02-08 Thread Lyle Kopnicky
Jerry Kassebaum wrote: 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 to intercept what the browser is going to send to the internet, change it, and then send it out? Man, that would make scraping the

Regular Expression Help Please

2005-02-08 Thread steve silvers
One of the columns I'm calling out of my database is the email one. I'ts in MAPI format, so I need to extract the very last part. So the bottom example I would need to grab JDoe MAPI:{Doe, John}EX:/o=Company/ou=Site/cn=Recipients/cn=JDoe Then I can append the rest as [EMAIL PROTECTED] Every one

RE: Regular Expression Help Please

2005-02-08 Thread Gerber, Christopher J
-Original Message- One of the columns I'm calling out of my database is the email one. I'ts in MAPI format, so I need to extract the very last part. So the bottom example I would need to grab JDoe MAPI:{Doe, John}EX:/o=Company/ou=Site/cn=Recipients/cn=JDoe Steve, An easy way

RE: Regular Expression Help Please

2005-02-08 Thread Charles K. Clarkson
From: [EMAIL PROTECTED] wrote: : One of the columns I'm calling out of my database is the email : one. I'ts in MAPI format, so I need to extract the very last : part. So the bottom example I would need to grab : : JDoe : : MAPI:{Doe, John}EX:/o=Company/ou=Site/cn=Recipients/cn=JDoe : : :

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 to

Re: Regular Expression Help Please

2005-02-08 Thread Chris Wagner
You can get that plus some other info with this regex: $string = 'MAPI:{Doe, John}EX:/o=Company/ou=Site/cn=Recipients/cn=JDoe'; ($lastname, $firstname, $mailid) = $string =~ m/^.+?\{(\w+), (\w+)\}.+?cn\=(\w+)$/; At 09:46 PM 2/8/05 +, steve silvers wrote: One of the columns I'm calling out

RE: Regular Expression Help Please

2005-02-08 Thread Chris
-Original Message- One of the columns I'm calling out of my database is the email one. I'ts in MAPI format, so I need to extract the very last part. So the bottom example I would need to grab JDoe MAPI:{Doe, John}EX:/o=Company/ou=Site/cn=Recipients/cn=JDoe Then I can append the

Re: Image::Magick missing Resize.al

2005-02-08 Thread Sisyphus
Kamphuys, ing. K.G. (Koen) wrote: Hi all, I found this thread in the archives: http://www.mail-archive.com/perl-win32-users@listserv1.activestate.com/msg00 371.html unfortunately it didn't clue to a solution. Running perl 5.008 and module version 4.29 (apparent to the $VERSION value in the module)

Image::Magick Crop

2005-02-08 Thread Chris
Is it just me or does the crop function not work at all? use Image::Magick; my($image, $x); $image = Image::Magick-new; $x = $image-Read('input.jpg'); warn $x if $x; $x = $image-Crop(geometry='100x100+100+100'); warn $x if $x; $x = $image-Write('output.jpg');

Re: Question on SAP-RFC program

2005-02-08 Thread James
Can anybody tell me what's wrong in this program? When I execute it I get this error: Can't call method QUERY_TABLE on an undefined value at reports.pl line 20 Thanks use lib 'blib/lib'; use lib 'blib/arch'; use SAP::Rfc; use Data::Dumper; my $rfc = new SAP::Rfc( ASHOST =

Re: Image::Magick Crop

2005-02-08 Thread Sisyphus
Chris wrote: Is it just me or does the crop function not work at all? $x = $image-Crop(geometry='100x100+100+100'); warn $x if $x; No problems for me with that. (Image::Magick 5.26 and ImageMagick 5.5.5-3) Cheers, Rob ___ Perl-Win32-Users

Re: Intercept IE or Netscape

2005-02-08 Thread $Bill Luebkert
Jerry Kassebaum wrote: 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 to intercept what the browser is going to send to the internet, change it, and then send it out? Man, that would make

Re: Image::Magick missing Resize.al

2005-02-08 Thread Sisyphus
Sisyphus wrote: My guess is that there's no Resize method with the ImageMagick version that you have. Best to update to a later version of ImageMagick (and Perl, too :-) Hmmm on looking closer it seems to me that 'Resize' has always been part of ImageMagick. That post from the archive

Re: Question on SAP-RFC program

2005-02-08 Thread Sisyphus
James wrote: my $it = $rfc-discover(RFC_READ_TABLE); I don't know anything about this module - but I can see in the docs where you got the code from. However, if you go to the actual 'discover()' documentation, you see the example is written as: $iface = $rfc-discover('RFC_READ_REPORT');