vladmir
Silver Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору popkov Цитата: Я такой способ нашёл (в самом тексте макроса!)Ж | Во, фурычит! У меня проще вариант будет - без выбора конфигурации: Цитата: #icon="prob.bmp" #title="" #tooltip="" document.selection.Copy( eeCopyUnicode ); document.selection.Text="[b]"; document.selection.CharLeft( false, 4 ); document.selection.Paste( eeCopyUnicode ); | Картинки только в .bmp Размер не важен, но он будет подгоняться к остальным картинкам на панели - лучше сделать точно, чтобы не искажалось. Посмотрел в справке, там есть про иконки - кто бы мог подумать: Цитата: EmEditor Home - EmEditor Help - EmEditor Macro Reference - Directives #icon directive Specifies the icon to use the toolbar bottun. #icon = "filename",index Parameters filename 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. index If multiple icons exist in the specified file, specify the index that you use. 0 would be selected if the specifying was omitted. Examples Use the icon of calculator (calc.exe) #icon = "C:\WINDOWS\system32\calc.exe",0 Version Supported on EmEditor Professional Version 7.00 or later. | И ещё бы понять как на макрос повесить стандартную команду меню. Интересует: Name: Top Оп-па, уже нашёл - в справке.)) Цитата: #icon="prob.bmp" #title="" #tooltip="Top" document.selection.StartOfDocument(); | И как сделать на панели инструментов большие значки, а на панели меню и макросах - маленькие. Или как совсем убрать иконки с панели макросов, чтобы там только текстовые названия остались? |