﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
4050	In Version 3.3.16.1, Calling a function with default parameters from HotKeySet fails.	dscotese@…		"Try this code:

{{{
HotKeySet(""+!i"", ""AAAB"")

Func AAAB($bxShow = True)
	ConsoleWrite(""Version "" & @AutoItVersion & @CRLF)
	If $bxShow Then
		ConsoleWrite(""Shift-Alt-i pressed.  Use Ctrl-Alt-Del to use keyboard."")
	EndIf
	Keyboard(False, ""AAAB"")
EndFunc

While True
	Sleep(5000)
	AAAB()
WEnd

Func Keyboard($b, $s)
EndFunc
}}}

You can see the call to AAAB succeed from the While loop, but if you use ALT-Shift-i, you get an error."	Bug	closed		AutoIt	3.3.16.1	None	No Bug	declaration default argument HotKeySet	
