Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 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:

Description

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 by TicketCleanup, 13 years ago

Version: 3.3.9.4

Automatic ticket cleanup.

comment:2 by guinness, 13 years ago

Resolution: Fixed
Status: newclosed

comment:3 by guinness, 13 years ago

Already fixed.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.