>>However that would not seem to me to offer much advantage over the
 >>default Mac arrangement. It is after all very easy to change the
 >>default browser type in InternetConfig by the 'Internet' Control
 >>Panel. It strikes me it might be unlikely the user would choose a
 >>different browser for your program than the one he or she regularly
 >>uses? But maybe I've missed a point here.
 >
 >That's my thought, too.

See previous post for reasoning.

 >* If you have the Mac::InternetConfig from the cpan-mac distribution, you
 >can do this, instead of the three lines of code you (Morbus) have:
 >
 >      use Mac::InternetConfig;
 >      GetURL($url);

You know, I think I saw this somewhere too, and there was some obscure 
reason why I chose the other one. Maybe I found the three lines on a more 
recent post to a mailing list then the two lines. I dunno. I'll try the above.

 >Alan's script will launch the application, but you still need to talk to
 >it.  Some options (all assumed $app (four-char signature) or $path (full
 >path to application), and $url, are defined):

Ah! Thanks for answering my other question.

 >* AppleScript, with path
 >
 >      $path =~ s/"/\"/g;
 >      $url  =~ s/"/\"/g;
 >      MacPerl::DoAppleScript(qq[tell application "$path" to GetURL "$url"]);

This looks the most viable to me. As in the other message, overriding for 
the Mac user comes as a rare circumstance that only I've seen in real life. 
I'm assuming two things with the above example:

   a) The user needs AppleScript (no worries).
   b) This can be compiled into a runtime no problem?

 >*Phew*!  That should give you enough options, I hope.

It did indeed. Thank you kindly.

Morbus Iff
.sig on other machine.
http://www.disobey.com/
http://www.gamegrene.com/

Reply via email to