Opened 12 years ago
Closed 12 years ago
#2723 closed Feature Request (No Bug)
FileConstants.au3 and FileSelectFolder.txt
| Reported by: | mLipok | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
please add
; Indicates FileSelectFolder options Global Const $FSF_SCHOWCREATEBUTTON = 1 ; Show Create Folder Button Global Const $FSF_NEWDIALOGSTYLE = 2 ; Use New Dialog Style Global Const $FSF_SHOWEDITCONTROL = 4 ; Show Edit Control
to FileConstants.au3
and I attach modified FileSelectFolder.txt
Attachments (1)
Change History (8)
by , 12 years ago
| Attachment: | FileSelectFolder.txt added |
|---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Or I do not understand your speech.
Or I do not fully agree with you.
Check out my REPRO:
$sFolderWithPDFFiles = FileSelectFolder('NO $FSF_SCHOWCREATEBUTTON', "")
$sFolderWithPDFFiles = FileSelectFolder('IS $FSF_SCHOWCREATEBUTTON', "", 1)
$sFolderWithPDFFiles = FileSelectFolder('NO $FSF_NEWDIALOGSTYLE', "")
$sFolderWithPDFFiles = FileSelectFolder('IS $FSF_NEWDIALOGSTYLE', "", 2)
$sFolderWithPDFFiles = FileSelectFolder('NO $FSF_SHOWEDITCONTROL', "")
$sFolderWithPDFFiles = FileSelectFolder('IS $FSF_SHOWEDITCONTROL', "", 4)
On my Windows 7 Pro x64 script above clearly shows that changes as a result of the use of the Flag.
By which at the moment I think they are not deprecated, unless I missed something and actually do not understand something.
Please request further discussion.
mLipok
comment:3 by , 12 years ago
I ask, otherwise
Is it possible to obtain a directory selection dialog with the possibility to enter/type a path in a different way than using $FSF_SHOWCREATEBUTTON?
This function is useful to me.
btw. there is typo $FSF_SHOWCREATEBUTTON not $FSF_SCHOWCREATEBUTTON
comment:5 by , 12 years ago
In the beta versions of AutoIt, the new select folder dialog is used instead of the old one, which ignores these flags. See #2481.
The helpfile already references this:
The new vista+ dialog style is used if possible, regardless of the Use New Dialog Style flag. With the vista dialog style the edit control and create folder buttons are always shown, ignoring the flags parameter, and the dialog text parameter sets the title of the window.
comment:7 by , 12 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |

I disagree with the need for yet another set of named constants - the flags are only valid in XP and are thus deprecated for all other OSes, which probably means the majority of AutoIt users.
M23