Modify ↓
#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 Changed 12 years ago by TicketCleanup
- Version 3.3.9.4 deleted
comment:2 Changed 12 years ago by guinness
- Resolution set to Fixed
- Status changed from new to closed
comment:3 Changed 12 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.
Note: See
TracTickets for help on using
tickets.
Automatic ticket cleanup.