Custom Query
Results (97 - 99 of 3883)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#3868 | Fixed | Directive #RequireAdmin can suppress ConsoleWrite/ConsoleWriteError output. | Jos | OJBakker |
Description |
When this script is run in Scite: UAC-elevation prompt appears The IsAdmin in the script reports True, so the scripts runs elevated. The log reports nothing about elevating the script. The ConsoleWrite/ConsoleWriteErrror messages do nog appear in the log. Script: #RequireAdmin ; This script requires full Administrative rights Main() Exit Func Main() If IsAdmin() then MsgBox(Default, Default, "Admin is true") ConsoleWrite("Normal output" & @CRLF) ConsoleWriteError("Error output" & @CRLF) EndFunc Scite output: >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Programs\AutoIt-Bugs\TestAdmin.au3" /UserParams +>10:52:13 Starting AutoIt3Wrapper (21.316.1639.1) from:SciTE.exe (4.4.6.0) Keyboard:00020409 OS:WIN_10/2009 CPU:X64 OS:X64 Environment(Language:0413) CodePage:0 utf8.auto.check:4 +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\BakkerSSDpc\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\BakkerSSDpc\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.16.0) from:C:\Program Files (x86)\AutoIt3 input:C:\Programs\AutoIt-Bugs\TestAdmin.au3 +>10:52:13 AU3Check ended.rc:0 >Running:(3.3.16.0):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Programs\AutoIt-Bugs\TestAdmin.au3" +>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop. +>10:52:14 AutoIt3.exe ended.rc:0 +>10:52:15 AutoIt3Wrapper Finished. >Exit code: 0 Time: 2.236 End-of-line comment after the directive #RequireAdmin suppresses consolewrite() and consoleerror() output. The script runs with admin-rights and the script functions normal except for the output of consolewrite() and consoleError() It seems that (almost) everything after the #RequireAdmin causes this behavior. With just trailing spaces the consolewrite output is visible. other examples that fail: #RequireAdmin #cs #RequireAdmin #cs #ce #RequireAdmin_ #RequireAdmin _ Additional remark: The #cs/#ce examples also confuse the syntax highlighter. |
|||
#3867 | Fixed | Script Breaking Changes in 'SecurityConstants.au3' | Jpm | OJBakker |
Description |
There are 2 undocumented script breaking changes in 'SecurityConstants.au3' The constants $RIGHTS_DELETE and $STANDARD_RIGHTS_DELETE have been changed in version 3.3.16.0. These changes are not in the changelog and should be reported in the Script Breaking Changes UDF part. {{{#include <SecurityConstants.au3> ; Const in AutoIt3-v3.3.14.5 Local $iBug1 = $RIGHTS_DELETE Local $iBug2 = $SYNCHRONIZE ; Const in AutoIt3-v3.3.16.0 Local $iBug1NewName = $STANDARD_RIGHTS_DELETE Local $iBug2NewName = $STANDARD_RIGHTS_SYNCHRONIZE }}} |
|||
#3866 | Fixed | REGEXPCLASS broken in 3.3.16.0 | Jon | Jon |
Description |
Created a memory leak/object error with an optimization in 3.3.16.0 |