RE - defaultFolder usage

Howard Bornstein bornstein at designeq.com
Mon Jul 15 14:27:02 EDT 2002


Hi Filippo,

Here's an easy solution for the Mac and Unix:

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 into df
  put "/" after df
	 put df -- to check it

	answer file "Select the file..." with df
end if

But according to the docs: "Cross-platform note:  The defaultPath 
parameter applies only to Mac OS and Unix systems. On Windows systems, 
this parameter has no effect."

Since your example indicated a windows system, this may not be too 
helpful.

Howard Bornstein
____________________
D E S I G N  E Q
www.designeq.com



More information about the use-livecode mailing list