$menuicon » History » Version 4
Per Amundsen, 02/13/2017 12:43 AM
1 | 1 | Per Amundsen | _Added in 2.7_ |
---|---|---|---|
2 | |||
3 | 4 | Per Amundsen | *$menuicon(filename,[index])* |
4 | 1 | Per Amundsen | |
5 | Adds a icon to a [[Scripting Menus|menu item]]. |
||
6 | |||
7 | 3 | Per Amundsen | _Since ":" characters are not allowed in the menu text, [[$chr|$chr(58)]] can be used if a X:\ path is used._ |
8 | 2 | Per Amundsen | |
9 | 1 | Per Amundsen | *Parameters* |
10 | |||
11 | filename - Path to the icon/image file. |
||
12 | 4 | Per Amundsen | [index] - The Nth icon in a .exe/.dll file. (optional) |