Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2348 closed Feature Request (Fixed)

FileConstants.au3 doesn't have a constant for Option 8 for FileOpen

Reported by: BrewManNH Owned by:
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:


There's no constant inside the FileConstants file that corresponds to the FileOpen option 8, 8 = Create directory structure if it doesn't exist. These are all that exist inside the file.

; Indicates the mode to open a file
Global Const $FO_READ = 0 ; Read mode
Global Const $FO_APPEND = 1 ; Write mode (append)
Global Const $FO_OVERWRITE = 2 ; Write mode (erase previous contents)
Global Const $FO_BINARY = 16 ; Read/Write mode binary
Global Const $FO_UNICODE = 32 ; Write mode Unicode UTF16-LE
Global Const $FO_UTF16_LE = 32 ; Write mode Unicode UTF16-LE
Global Const $FO_UTF16_BE = 64 ; Write mode Unicode UTF16-BE
Global Const $FO_UTF8 = 128 ; Read/Write mode UTF8 with BOM
Global Const $FO_UTF8_NOBOM = 256 ; Read/Write mode UTF8 with no BOM

There are these though, but the first one is for the file open and save dialog functions, and the second is a file attribute, and their names wouldn't match up with the names for the other constants.

Global Const $FD_PROMPTCREATENEW = 8 ; Prompt to create new file
Global Const $FILE_ATTRIBUTE_OFFLINE = 0x00001000

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:2 Changed 11 years ago by guinness

  • Resolution set to Fixed
  • Status changed from new to closed

comment:3 Changed 11 years ago by guinness

Already fixed.

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.