Opened 10 years ago

Closed 10 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:


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)

FileSelectFolder.txt (1.9 KB) - added by mLipok 10 years ago.

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by mLipok

comment:1 Changed 10 years ago by Melba23

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.


comment:2 Changed 10 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.


comment:3 Changed 10 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.


comment:4 Changed 10 years ago by guinness

They work on Windows 8.1 too.

comment:5 Changed 10 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 10 years ago by mLipok

All is clear.
Ticket can be closed.

comment:7 Changed 10 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.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.