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

Re: [MacPerl] internet config



Chris Nandor 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;



-- 
----------------------------------------
--- Tom Kennedy -- tomKenn@erols.com ---
----------------------------------------
Hellrung's Law: "If you wait, it will go away."  Shavelson's Extension:
"...after having done its damage."  Grelb's Addition: "If it was bad, it
will be back."



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