Project

General

Profile

$menuicon » History » Revision 5

Revision 4 (Per Amundsen, 02/13/2017 12:43 AM) → Revision 5/7 (Per Amundsen, 02/23/2023 05:00 PM)

_Added in 2.7_ 

 *$menuicon(filename,[index])* 

 Adds a icon to a [[Scripting Menus|menu item]]. 

 _Since ":" characters are not allowed in the menu text, [[$chr|$chr(58)]] can be used if a X:\ path is used._ 

 *Parameters* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | filename | - Path to the icon/image file. | 
 | [index] | - The Nth icon in a .exe/.dll file. (optional) |