Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (43 - 45 of 3883)

Ticket Resolution Summary Owner Reporter
#3967 No Bug About fixing the vulnerability of AutoIt 3.3.16.1 anonymous
Description

Will the Vendor of this application provide patches or fixes for any future vulnerabilities in AutoIt 3.3.16.1?

#3964 Works For Me Allow EnvGet to support whole strings like _WinAPI_ExpandEnvironmentStrings lwc
Description

While _WinAPI_ExpandEnvironmentStrings supports whole strings (but requires an include), EnvGet only allows to input a specific environment variable and even then without percents.

I don't presume to retroactively change that, but what about accepting a secondary optional parameter called $full? That is, Func EnvGet($envvariable, $full=False) whereas $full is optional and by default False.

But if $full is True then just do something like (only internally):

If $Full Then
  return Execute("'" & StringRegExpReplace($envvariable, "%(\w+)%",  "' & EnvGet('$1') & '" ) & "'")
EndIf

This will allow to support commands like ConsoleWrite(EnvGet("My temp variables are %temp% and %tmp%", true)).

#3963 Completed _WinAPI_OpenEvent function missing in WinAPIProc.au3 Jpm kleiza44@…
Description

Please add _WinAPI_OpenEvent function that allows to check global events from windows.

_WinAPI_CreateEvent function by documentation should allow to open events, but if global event was created using different application, then script won't be able to access it.

Function in windows: https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-createeventa?redirectedfrom=MSDN&f1url=%3FappId%3DDev10IDEF1%26l%3DEN-US%26k%3Dk(CreateEvent)%3Bk(DevLang-C)%3Bk(TargetOS-WINDOWS)%26rd%3Dtrue

Function written in AutoIT which works in my case (Maybe positions of parameters could be changed like in already written AutoIT functions, to keep same structure in all AutoIT functions):

Func _WinAPI_OpenEvent($sName = "", $dwDesiredAccess = 0x1F0003 , $bInheritHandle = True)
	If $sName = "" Then $sName = Null

	Local $aCall = DllCall("kernel32.dll", "handle", "OpenEventW", "struct*", $dwDesiredAccess, "bool", $bInheritHandle, _
			"wstr", $sName)
	If @error Then Return SetError(@error, @extended, 0)

	Local $iLastError = _WinAPI_GetLastError()
	If $iLastError Then Return SetExtended($iLastError, 0)

	Return $aCall[0]
EndFunc   ;==>_WinAPI_OpenEvent

If this function can be added, then it would make sense to add it to documentation as well like in here : https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_CreateEvent.htm

Note: See TracQuery for help on using queries.