Re: closing and opening a browser

2002-12-11 Thread Phil Dobbin
On 11/12/02 14:06, Chris Nandor [EMAIL PROTECTED] wrote: [big snip] Mac::Carbon 0.02 is available on the CPAN, and on http://sf.net/projects/macperl/ (where there is also a binary installer, for those of you who have trouble building it, such as those on 10.1.x systems). This is excellent

Re: closing and opening a browser

2002-12-11 Thread Chris Nandor
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Phil Dobbin) wrote: On 11/12/02 14:06, Chris Nandor [EMAIL PROTECTED] wrote: Mac::Carbon 0.02 is available on the CPAN, and on http://sf.net/projects/macperl/ (where there is also a binary installer, for those of you who have trouble

Re: closing and opening a browser

2002-12-11 Thread Phil Dobbin
On 11/12/02 14:58, Chris Nandor [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Phil Dobbin) wrote: On 11/12/02 14:06, Chris Nandor [EMAIL PROTECTED] wrote: Mac::Carbon 0.02 is available on the CPAN, and on http://sf.net/projects/macperl/ (where there is also a

Re: closing and opening a browser

2002-12-10 Thread Matt Morse
also i'm interesed in opening a browser with a valid internet address as argument but i can't find out the syntax for mac os x - can anyone give a hand with that? You can use the open command (see the man page for details): open -a Internet\ Explorer http://www.cnn.com or, if you don't

Re: closing and opening a browser

2002-12-10 Thread Adam Wells
At 21:44 +0100 12/10/02, allan wrote: hi 2 small problems. i like to know how to close a program like Internet Explorer from perl. the little script below seem to work for me, but i guess there must be a cleaner and more correct way. also i'm interesed in opening a browser with a valid

Re: closing and opening a browser

2002-12-10 Thread bob ackerman
On Tuesday, December 10, 2002, at 01:31 PM, Matt Morse wrote: also i'm interesed in opening a browser with a valid internet address as argument but i can't find out the syntax for mac os x - can anyone give a hand with that? You can use the open command (see the man page for details):

Re: closing and opening a browser

2002-12-10 Thread Adam Wells
At 14:02 -0800 12/10/02, bob ackerman wrote: On Tuesday, December 10, 2002, at 01:31 PM, Matt Morse wrote: also i'm interesed in opening a browser with a valid internet address as argument but i can't find out the syntax for mac os x - can anyone give a hand with that? You can use the open

Re: closing and opening a browser

2002-12-10 Thread allan
Adam Wells wrote: At 14:02 -0800 12/10/02, bob ackerman wrote: On Tuesday, December 10, 2002, at 01:31 PM, Matt Morse wrote: also i'm interesed in opening a browser with a valid internet address as argument but i can't find out the syntax for mac os x - can anyone give a hand with

Re: closing and opening a browser

2002-12-10 Thread Adam Wells
At 16:08 -0800 12/10/02, bob ackerman wrote: On Tuesday, December 10, 2002, at 02:08 PM, Adam Wells wrote: At 14:02 -0800 12/10/02, bob ackerman wrote: On Tuesday, December 10, 2002, at 01:31 PM, Matt Morse wrote: also i'm interesed in opening a browser with a valid internet address as

Re: closing and opening a browser

2002-12-10 Thread Charles Albrecht
At 1:31 PM -0800 12/10/2002, Matt Morse wrote: also i'm interesed in opening a browser with a valid internet address as argument but i can't find out the syntax for mac os x - can anyone give a hand with that? You can use the open command (see the man page for details): open -a Internet\

Re: closing and opening a browser

2002-12-10 Thread Peter N Lewis
At 13:47 -0800 10/12/02, Adam Wells wrote: One good way is to use AppleScript for both of these, with the osascript command. The following simple AppleScript will kill Internet Explorer: - tell application Internet Explorer quit end tell - Not that this is an AppleScript list, but