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

[MacPerl] Sorry to ask again



I'm sorry to ask again, but every time I tried to deal with this, I get very frustrated.

Maybe I missed something, but again I just want to do simple dialogs interface in MacPerl.

I want to choose a file with a prompt, I have this piece of code that work well, but I can't find a way to put a prompt in it saying "Choose a file". I read the info in MacPerl.pod, but frankly, I don't understand half of it. 

#!perl
require 'GUSI.ph';

$f = MacPerl::Choose(GUSI::AF_FILE(), 0, "");

I want to do the same for a folder.

Please, provide me some code.

TIA

Cheers

-Emmanuel
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emmanuel M. Dˇcarie - <emm@cam.org>
---> The Frontier Newbie Toolbox:
<http://www.cam.org/~emm/frontierNewbieToolbox.html>
---> Frontier en fran¨ais ! 
<http://www.scripting.com/frontier5/francais/>
<http://www.scriptmeridian.org/tutorials/francais/odb/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org