Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1003 closed Bug (No Bug)

FileSelectFolder: flag doesn't work as documented

Reported by: c.haslam Owned by:
Milestone: Component: AutoIt
Version: Other Severity: None
Keywords: Cc:

Description

$s = FileSelectFolder("Choose","",2)

shows New Folder button
So does

$s = FileSelectFolder("Choose","",2+4)

Doc says "UNC paths are not supported". They are, at least for directories. (If you pick a drive on a peer, it returns ...\NetHood\...)

Doc says '"Create Folder Button" may require Win XP'. It works on Win2K.

Attachments (0)

Change History (2)

comment:1 in reply to: ↑ description Changed 15 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

Replying to c.haslam:

$s = FileSelectFolder("Choose","",2)

shows New Folder button
So does

$s = FileSelectFolder("Choose","",2+4)

For some reason AutoIt hard-codes the "Hide New Folder" button flag. The flag requires Windows XP+ with IE6+. If you are using IE5 or Windows 2000 then the button will always show no matter what.

Doc says "UNC paths are not supported". They are, at least for directories. (If you pick a drive on a peer, it returns ...\NetHood\...)

That is not the path to a UNC resource, however. The expected path for a UNC resource is "
server\share".

Doc says '"Create Folder Button" may require Win XP'. It works on Win2K.

As mentioned above, hiding the button requires Windows XP. Showing the button is the default Windows behavior. If you are using a system in which the hide flag is not supported then the button is going to always show.

No bugs here.

comment:2 Changed 15 years ago by TicketCleanup

  • Version set to Other

Automatic ticket cleanup.

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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.