Viewing 5 posts - 1 through 5 (of 5 total) Author Posts April 23, 2012 at 11:24 am #10285 userParticipant hello! I need a button in the toolbar to “delete duplicate lines” and another one “delete empty lines” is it possible? thanks! April 25, 2012 at 4:45 am #10289 Yutaka EmuraKeymaster You can write a macro like this: #icon = "filename" editor.ExecuteCommandByID(4564); and customize the toolbar to include this button. #icon is optional. Also, “Delete empty lines” can be done by writing a macro. April 30, 2012 at 7:19 am #10298 userParticipant the code you posted is extremely interesting Yutaka! is there a list with all commands’ IDs??? thanks April 30, 2012 at 4:46 pm #10299 Yutaka EmuraKeymaster Please look at the Command Reference in the Help. /help/cmd/index.htm May 8, 2012 at 9:23 am #10337 userParticipant can you tell me please the best possible “delete empty lines” macro? that will be the most fast, stable, accurate thanks! Author Posts Viewing 5 posts - 1 through 5 (of 5 total) The forum ‘Questions and Answers about EmEditor Core’ is closed to new topics and replies.