[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] internet config



At 23.55 97/5/23, Tom Kennedy wrote:
>> I have tried in vain to launch an app based on a string.  Say I want to
>>launch:
>>
>>         http://pudge.net/
>>
>> and use whatever helper the user has available.  How would I do that using
>> InternetConfig.pm?
>The following worked for me. . .
>
>#!perl -w
>
>use Mac::InternetConfig;
>
>$icInst = ICStart;
>ICGeneralFindConfigFile $icInst;
>ICLaunchURL $icInst, "", "http://pudge.net/";
>ICStop $icInst;

Ah, thanks.  I was having trouble getting it to work.  I forget what things
I tried, but they all must've been syntax problems.  But I swear I tried
that before ... .  Works now!

--
Chris Nandor                 pudge@pobox.com                 http://pudge.net/
%PGPKey=('B76E72AD',[1024,'08 24 09 0B CE 73 CA 10  1F F7 7F 13 81 80 B6 B6'])



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch