Re: [MacPerl] open

2002-09-24 Thread Richard Cook
Chris Nandor wrote: > > At 11:12 -0600 2002.09.23, Keary Suska wrote: > >MacPerl::DoAppleScript('tell application "Finder" to open > >"full:or:rel:file:path"'); > > > >My AS is a little rusty, but you can test the script in the script editor > >before pasting to this function. If you set the typ

Re: [MacPerl] open

2002-09-23 Thread Chris Nandor
At 11:12 -0600 2002.09.23, Keary Suska wrote: >It seems the MacPerl-specific pod doesn't talk about AppleScript anymore, >but you can still find it by looking at the pod for MacPerl.pm. Yes, I moved the description of the specifics of the MacPerl package to MacPerl.pm. >MacPerl::DoAppleScript('

Re: [MacPerl] open

2002-09-23 Thread Richard Cook
Keary Suska wrote: > > It seems the MacPerl-specific pod doesn't talk about AppleScript anymore, > but you can still find it by looking at the pod for MacPerl.pm. In a > nutshell, you ant something like: > > MacPerl::DoAppleScript('tell application "Finder" to open > "full:or:rel:file:path"'); >

Re: [MacPerl] open

2002-09-23 Thread Keary Suska
on 9/23/02 9:39 AM, [EMAIL PROTECTED] purportedly said: >> I set the creator/type of a file likeso: >> >> my $of = "extract.u8"; >> open OF, "> $of" >> or die "cannot create `$of': $!"; >> my @creator = qw(LING McPL TBB6 MOSS); >> #0 #1 #2 #3 >> MacPerl::SetFileInfo($creator[0], "TEXT", $o

Re: [MacPerl] open

2002-09-23 Thread Richard Cook
I haven't been able to search the list archives. Neither nor the Sherlock plugin will work for me. So, still open to suggestions on my previous question. Richard Cook wrote: > > Hi there, > > I set the creator/type of a file likeso: > > my $of = "extrac

[MacPerl] open

2002-09-20 Thread Richard Cook
Hi there, I set the creator/type of a file likeso: my $of = "extract.u8"; open OF, "> $of" or die "cannot create `$of': $!"; my @creator = qw(LING McPL TBB6 MOSS); #0 #1 #2 #3 MacPerl::SetFileInfo($creator[0], "TEXT", $of); and after perl writes the data to OF, I'd l

Re: [MacPerl] Open for exclusive access - grab a web wage

2001-03-05 Thread Peter Hartmann
At 16:21 Uhr -0500 04.03.2001, Chris Nandor wrote: >Have you considered using URL Access instead of Netscape? This should be the alternative of choice if it only was threadable. Currently there is no elegant way to do multiple downloads in threads with URL Access, so if stalls due to overloaded

Re: [MacPerl] Open for exclusive access - grab a web wage

2001-03-04 Thread Chris Nandor
At 14:01 -0700 2001.03.04, Doug McNutt wrote: >Abstract: >1) MacPerl open() call does not demand exclusive access for writing. +< does not mean you are asking for exclusive access. I'm not sure why you think it does. >2) MPW tool version induces system crash. I've

[MacPerl] Open for exclusive access - grab a web wage

2001-03-04 Thread Doug McNutt
Abstract: 1) MacPerl open() call does not demand exclusive access for writing. 2) MPW tool version induces system crash. 3) stat() $nlink doesn't work. A recent thread "grab a web wage" has caused me to go back into some scripting I did to access daily prices for mutual funds tha

Re: [MacPerl] Open Default Browser?

2001-01-31 Thread Chris Nandor
At 11:02 -0500 01.31.2001, Morbus Iff wrote: >What I need to do is open the default browser with a URL on the Mac. >Do I use AppleEvents? Can anyone give me some sample code? If you have the Mac::InternetConfig that comes with cpan-mac: use Mac::InternetConfig; GetURL('http://mac

[MacPerl] Open Default Browser?

2001-01-31 Thread Morbus Iff
I would have thought this would have been discussed before - I may be searching with the wrong terms through the archives. If it's a RTFM, please save some bandwidth and reply off-list. What I need to do is open the default browser with a URL on the Mac. Do I use AppleEvents? Can anyone give me