Opened 11 years ago
Closed 11 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)
Changed 11 years ago by mLipok
comment:1 Changed 11 years ago by Melba23
comment:2 Changed 11 years ago by mLipok
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 Changed 11 years ago by mLipok
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:4 Changed 11 years ago by guinness
They work on Windows 8.1 too.
comment:5 Changed 11 years ago by Mat
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:6 Changed 11 years ago by mLipok
ok
All is clear.
Ticket can be closed.
comment:7 Changed 11 years ago by Jpm
- Resolution set to No Bug
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
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