defaultFolder usage

Rob Cozens rcozens at pon.net
Mon Jul 15 09:20:00 EDT 2002


>answer folder "Select  the default folder..."
>-- I choose, e.g., "C:/Documents and Settings/Filippo/Documenti"
>if it is not empty then
>	set the defaultFolder to it
>	put the defaultFolder
>	-- I check that the defaultFolder is set to the folder I 
>chose; in fact I get "C:/Documents and Settings/Filippo/Documenti" 
>in the message box result line
>	answer file "Select the file..."
>end if

Hello Filippo,

Both ask & answer file include an optional argument, [with <default.] 
for the default path instead of useing the defaultFolder.

Try answer file "Select the file..." with "C:/Documents and 
Settings/Filippo/Documenti"
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list