Re: [MacPerl-Porters] ChooseFSObject() for MacPerl 5.6.1 and 5.8.0

2002-07-02 Thread Axel Rose

at 20:45 Uhr -0400 01.07.2002, Chris wrote:
... in 5.6.1r2 (which is
being held up to get other bugfixes in, relating to GUSI etc.).


MARVELLOUS!!

Thanks a great deal, Chris and Matthias.


Axel



[MacPerl-Porters] ChooseFSObject() for MacPerl 5.6.1 and 5.8.0

2002-07-01 Thread Thomas Wegner

Chris,

in response to the [MacPerl] Getting a folder under PERL 5.6 
thread, I've written an extension module, which exports just one 
function, ChooseFSObject(). ChooseFSObject() lets you select a folder 
or file with Standard File, and is meant to be a replacement for the 
old StandardFile'GetFolder function found in StandardFile.pl in the 
MacPerl 5.2.0.r4 distribution.

Although Apple might recommend Navigation Services, I see no reason 
why MacPerl can't use Standard File, with respect to people who 
prefer Std File or might not have Nav Services available.

To make this function work, both the MacPerl app and the tool need to 
have a DLOG and DITL resource for the customized Get Folder dialog. 
(You'll know that old MacPerl 5.2.0.r4 had these resources.) Since 
the MacPerl app and tool need to be patched, I cannot simply offer a 
module on CPAN. So my idea is, either to add a module 
Mac::StandardFile::Choose (which is the current name) to the MacPerl 
core library, or to integrate the ChooseFSObject() function into the 
Mac::StandardFile module (which I would prefer).

How do you like this idea?

Regards,

--Thomas



Re: [MacPerl-Porters] ChooseFSObject() for MacPerl 5.6.1 and 5.8.0

2002-07-01 Thread Axel Rose

I like the idea because quite a few people might hesitate to upgrade
after experiencing this problem.

If together with this there is a sample how to use Navigation services
this is the best way to go I believe.


Axel



Re: [MacPerl-Porters] ChooseFSObject() for MacPerl 5.6.1 and 5.8.0

2002-07-01 Thread Chris Nandor

At 13:46 +0200 2002.07.01, Thomas Wegner wrote:
To make this function work, both the MacPerl app and the tool need to
have a DLOG and DITL resource for the customized Get Folder dialog.
(You'll know that old MacPerl 5.2.0.r4 had these resources.) Since
the MacPerl app and tool need to be patched, I cannot simply offer a
module on CPAN. So my idea is, either to add a module
Mac::StandardFile::Choose (which is the current name) to the MacPerl
core library, or to integrate the ChooseFSObject() function into the
Mac::StandardFile module (which I would prefer).

How do you like this idea?

I like it fine.  I remember seeing some cample code for a StandardGetFolder
or somesuch, and had been pondering something similar if I ever got a round
tuit.  Integration into the StandardFile module sounds great to me, unless
someone can come up with a reason not to do it.  As long as there's no real
problem with it, I see no reason not to include it in 5.6.1r2 (which is
being held up to get other bugfixes in, relating to GUSI etc.).

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/