﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2109	ProcessList and WinList should accept Default or -1	MrCreatoR <mscreator@…>		"When we use ProcessList or WinList with Default keyword or with -1, the function recognize it like a string, and searches for window/process with Default/-1 title/process name.

Sometimes we need to pass the parameters of our UDF to ProcessList/WinList function, and we should be able to set it as Default/-1.

Example:

{{{
Func _MyUDF($sTitle = Default)
	$aWinList = WinList($sTitle)
	
	....
EndFunc
}}}

If the user omit the $sTitle parameter, the result will be wrong.

For now i must do this:

{{{
Func _MyUDF($sTitle = Default)
	If (IsKeyword($sTitle) And $sTitle = Default) Or $sTitle = -1 Then
		$aWinList = WinList()
	Else
		$aWinList = WinList($sTitle)
	EndIf
	
	....
EndFunc
}}}

The same issue with ProcessList."	Feature Request	closed		AutoIt		None	Rejected	ProcessList WinList Default	
