Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Script Directives

EmEditor Macro Reference: #icon directive

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Directives

#icon directive

Specifies the icon to use the toolbar button. This directive must be specified at the first lines of the script above the main code.

#icon = "filename",index



Specifies the file extracting icon with the relative paths from the current macro file or the complete paths. If the paths are omitted, specify the title of the file in which the current macro file exists.


If multiple icons exist in the specified file, specify the index that you use. 0 would be selected if the specifying was omitted.


Use the icon of calculator (calc.exe)

#icon = "C:\WINDOWS\system32\calc.exe",0


Supported on EmEditor Professional Version 7.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.