Changes between Version 3 and Version 4 of Ticket #3987, comment 10
- Timestamp:
- 04/12/24 01:11:14 (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3987, comment 10
v3 v4 1 1 > If I change: 2 > {{{ 2 > {{{#!autoit 3 3 > Global $TempDir = _WinAPI_ExpandEnvironmentStrings(IniRead($AutoIt3WapperIni, "Other", "TempDir", "")) 4 4 > If Not FileExists($TempDir) Or $TempDir = "" Then … … 9 9 > }}} 10 10 > to 11 > {{{ 11 > {{{#!autoit 12 12 > Global $TempDir = _WinAPI_ExpandEnvironmentStrings(IniRead($AutoIt3WapperIni, "Other", "TempDir", "")) 13 13 > MsgBox("", "", $TempDir) … … 29 29 > 30 30 > Also, I think 31 > {{{ 31 > {{{#!autoit 32 32 > If Not FileExists($TempDir) Or $TempDir = "" Then 33 33 > }}} 34 34 > should be changed to 35 > {{{ 35 > {{{#!autoit 36 36 > If $TempDir <> "" And FileExists($TempDir) And Not FileExists($TempDir & "\AutoIt v3\Aut2exe") Then 37 37 > DirCreate($TempDir & "\AutoIt v3\Aut2exe") … … 43 43 Guess I could change that to the following, so the defined tempdir in the INI is created when missing: 44 44 45 {{{ 45 {{{#!autoit 46 46 If Not FileExists($TempDir) Or $TempDir = "" Then 47 47 If $TempDir = "" Then $TempDir = @LocalAppDataDir & "\AutoIt v3\Aut2exe"