Difference between revisions of "GetControl"
Jump to navigation
Jump to search
clarified/expanded
imported>Geckbot m (Robot: Automated text replacement (-'''.*'''\r\n +)) |
imported>Odessa (clarified/expanded) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = FOSE1 | |origin = FOSE1 | ||
|summary = Returns the key assigned to a control | |summary = Returns the key (as its [[IsKeyPressed|int code]]) assigned to a control, specified by it's [[TapControl|int code]]. | ||
|name = GetControl | |name = GetControl | ||
|returnType = int | |returnType = KeyCode:int | ||
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
Line 10: | Line 10: | ||
}} | }} | ||
}} | }} | ||
==Example== | |||
<pre> | |||
int iPOVKey | |||
set iPOVKey to GetControl 13 | |||
</pre> | |||
==See Also== | |||
*[[TapControl]] | |||
*[[IsKeyPressed]] | |||
*[[TapKey]] | |||
*[[HoldKey]] | |||
[[Category:Functions_(FOSE)]] | [[Category:Functions_(FOSE)]] |