--- In [email protected], "dleidinger" <[EMAIL PROTECTED]> wrote:

Hi Deltef,
> 
> > Sure.  You can have that tomorrow.  OTOH I see there are a bunch of
> > other flags in OPENFILENAME struct that might be useful, so if you
> > wait a few days you can have a parameter that takes keywords, one of
> > which would be, say "overwriteok".
 
> Of course I pefere to wait, because as you know:
> "Gut Ding will Weile haben" - "Haste makes waste"

Okay, so this should be a waste:

dialogplugin1.18provisional.zip in 
http://tech.groups.yahoo.com/group/power-pro/files/0_TEMP_/AlansPluginProvisional/

rtf up to date: jump top the new stuff from "What's new"

local fName = dialog.browse_for_file("save", scriptfolder, "Save To",
"", "All Files (*.*)\n*.*", "", "allowoverwrite") 

local fName = dialog.browse_for_file("open", scriptfolder, "File to
Open", "", "All Files (*.*)\n*.*", "", "readonly")  ;;nonetworkbutton
createprompt filecanbeabsent pathcanbeabsent hidereadonly

I've noticed meanwhile that I don't handle result when user does
multiple selection, and that'll take me a while to work out.

Also some of the OFN_ flags are mysterious.  For instance
OFN_NONETWORKBUTTON doesn;t seem to do anything.

Also I have to figure out how to get the state of the 
read-only check box back to user.



Reply via email to