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

Re: [MacPerl] Gathering user input



At 23.07 1998.02.10, George Michel wrote:
>I sometimes have scripts where I need several responses from the
>user. Is it possible to do this by opening a single window or must
>I open and close a window for each prompt?
>
>E.g., currently I do something like this:
>
>$x = MacPerl::Ask("What is your quest?");
>$y = MacPerl::Ask("What is your favorite color?");
>
>but would like to do something like
>
>($x,$y)= MacPerl::Ask("What is your quest?",,"What is your favorite
>color?");

You can't do it with MacPerl::Ask(), but you can design your own dialog box
resources and use Mac::Dialogs et al.  I hope to have some examples of this
inthe next month, though some people have already done some of this
already.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==               New Book:  MacPerl: Power and Ease               ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch