menuSetShortcut: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
Lou Montana (talk | contribs) m (Text replacement - " |arma3Dev |2.01" to " |arma3 |2.02") |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | |arma3 | ||
|2. | |2.02 | ||
|gr1= GUI Control - Menu | |gr1= GUI Control - Menu | ||
| Sets shortcut of given menu strip entry. | | Sets shortcut of given menu strip entry. | ||
| [[menuSetShortcut]] [idc, path, shortcut] | | [[menuSetShortcut]] [idc, path, shortcut] | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
|p2= path: [[Array]] | |p2= path: [[Array]] | ||
|p3= shortcut: [[ | |p3= shortcut: [[Number]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|s2= control [[menuSetShortcut]] [path, shortcut] | |||
| | |p21= control: [[Control]] | ||
| | |p22= path: [[Array]] | ||
| | |p23= shortcut: [[Number]] | ||
| | |r2= [[Nothing]] | ||
| | |x1= <Code>_ctrlMenuStrip [[menuSetShortcut]] [<nowiki>[</nowiki>0,0],2048 + 0x16]; {{cc|ALT + U}}</code> | ||
| | |seealso= [[menuShortcut]] [[menuShortcutText]] | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 19:20, 24 February 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- Syntax needed
- Parameters:
- idc: Number
- path: Array
- shortcut: Number
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- control menuSetShortcut [path, shortcut]
- Parameters:
- control: Control
- path: Array
- shortcut: Number
- Return Value:
- Nothing
Examples
- Example 1:
_ctrlMenuStrip menuSetShortcut [[0,0],2048 + 0x16]; // ALT + U
Additional Information
- See also:
- menuShortcut menuShortcutText
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note