﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
27	ControlClick with alternate mouse buttons (Like MouseClick's Primary, Secondary, Main & Menu)	Saunders <admin@…>		"''Copied from [http://www.autoitscript.com/forum/index.php?showtopic=43654 this post]''

I was just wondering if it would be possible to get the same alternate mouse buttons that MouseClick() uses (Primary, Secondary, Main, Menu) to work in ControlClick().
Like the following:
{{{
ControlClick('Calculator', '', 'Button1', 'secondary')
}}}
Instead of the following:
{{{
$sPrimary = 'left'
$sSecondary = 'right'
$iSwap = RegRead('HKCU\Control Panel\Mouse', 'SwapMouseButtons')
If $iSwap Then
  $sPrimary = 'right'
  $sSecondary = 'left'
EndIf
ControlClick('Calculator', '', 'Button1', $sSecondary)
}}}
I know the above works fine, but if this isn't too much of a task, it could certainly make some code shorter.

Thanks for reading. 

''Copied from [http://www.autoitscript.com/forum/index.php?showtopic=43654 this post]''"	Feature Request	closed	3.2.11.0	AutoIt			Completed	controlclick mouseclick primary secondary	
