menuSetShortcut: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3Dev |= Game | |arma3Dev |= Game | ||
|2.01 | |2.01 | ||
|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]] | |||
|s2= control [[menuSetShortcut]] [path, shortcut] |ALTSYNTAX1= | |s2= control [[menuSetShortcut]] [path, shortcut] |ALTSYNTAX1= | ||
Line 26: | Line 25: | ||
|p22= path: [[Array]] |PARAMETER22= | |p22= path: [[Array]] |PARAMETER22= | ||
|p23= shortcut: [[ | |p23= shortcut: [[Number]] |PARAMETER23= | ||
|r2= [[Nothing]] |ALTRETURNVALUE1= | |r2= [[Nothing]] |ALTRETURNVALUE1= | ||
|x1= <Code></code> | |x1= <Code>_ctrlMenuStrip [[menuSetShortcut]] [<nowiki>[</nowiki>0,0],2048 + 0x16]; {{cc|ALT + U}}</code> | ||
|[[menuShortcut]] [[menuShortcutText]] | |[[menuShortcut]] [[menuShortcutText]] | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 12:02, 23 January 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:
- See also needed
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