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

Re: [MacPerl] File Dialog Folder



In article <mac-perl.l03020900b1e394c6cfb1@[199.3.134.157]>, Robert Pyle
<rpyle@tiac.net> wrote:

>As indicated in MPPE, p. 184, the folder in which the dialog box opens is
>determined by the "General Controls" control panel.  If I set this to
>"Folder that is set by the application", it is the folder in which the
>input file resides, which is what I want in this case, but not for most of
>my activities, where I prefer "Last folder used in the application".
>
>Is there any way I can force the file dialog to open a folder of my
>choosing, independent of the control panel setting, or is this behavior
>"hard-wired" too deep within the MacOS?

I don't know how easy it is to do via perl, but in general I believe you
need to use CustomGetFile rather than StandardGetFile and use a custom
dialog filter which sends you to the desired starting folder.

>And while I'm asking questions, where is the limitation on how many files
>can be simultaneously dropped on a droplet?  If I drop too many (somewhere
>in the vicinity of 30), the droplet simply doesn't run.  Is the number of
>files the limitation, or the total number of characters in the file names
>(which presumably include complete paths)?

Don't know.

>If I give more memory to the
>droplet (I think MacPerl itself has plenty), will that help?

Probably--try it! (I seem to remember a previous mention that this fixes
the problem.)
-- 
__________________________________________________________________________

Jeff Clites                Online Editor           http://www.MacTech.com/
online@MacTech.com         MacTech Magazine
__________________________________________________________________________

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