Forum Replies Created

Viewing 10 posts - 51 through 60 (of 60 total)
  • Author
    Posts
  • in reply to: Improved syntax scheme association #5907
    owilsky
    Participant

    Also you can write a macro that triggers when opening a file like this:

    var r, re;
    re = /foldername/i; //Create regular expression pattern
    r = document.FullName.match(re); //Attempt match on search string.
    if(r != null) document.ConfigName = “HTML”;

    in reply to: EmEditor Speed #5875
    owilsky
    Participant

    Unfortunately I didn’t have the possibility to test the new version yet.
    For me Search/Replace with RegEx enabled was very slow in bigger files in the last versions.
    Is RegEx Search/Replace also faster now?

    in reply to: modify tab and space marks #5874
    owilsky
    Participant

    I second this request.
    I also like the small dots a lot more.

    in reply to: Please make deployment of macros easier! #5684
    owilsky
    Participant

    I cannot tell my users to install 30 macros by hand and configure 20 keyboard shortcuts for them and create their own menus.
    If it cannot be done automatically, I will try to find out how to change the reg value. Can you tell me how the general format is? I only need the format for the macros, I do not need the “normal” menu commands.
    I guess there must be 3 parts per macro:
    – path and filename of macro
    – keyboard shortcut
    – as you said the length of the entry.
    – plus maybe a separator between different entries?

    It may be difficult but I know I can do it!

    Oliver

    in reply to: Please make deployment of macros easier! #5682
    owilsky
    Participant

    OK, I managed to import all keyboard shortcuts by macro. No problem, thanks for that.

    BUT: Next problem: :-(
    In HKEY_CURRENT_USERSoftwareEmSoftEmEditor v3CommonMainMenu my changed main menu including some macros is saved, again with macro paths hard coded. :-x
    I guess it’s not possible to change the main menu per macro?

    I tried to decode the main menu entry, seems to be unicode, always ansi code in hex and then “00”.
    I tried to replace my old path with the new one in this hex field and that seemed to work great, but now I get a crash at offset 0003afb1 when I start EmEditor.
    Guess it’s not that easy :-(

    a. Is it possible to change the main menu per macro?
    b. If not, what’s the format of the MainMenu registry entry?

    Thanks for any info.
    Oliver

    in reply to: Please make deployment of macros easier! #5679
    owilsky
    Participant

    One option is use INI file settings, which use relative path, but if My Macro folder is under user profile (sucn as UsersJohnDocuments…), you will still have to fix each relative path.

    But the ini file is saved in EmEditor’s folder in “Program Files”, right? And a normal user does not have the right to write into that folder, so he cannot save his settings into the ini file.

    Or is the ini file located elsewhere? I though ini files are for using EmEditor on USB sticks…
    And you cannot reimport exported ini files.

    For the next major version, I will try to find a way to transfer the settings, possibly by adding something like \%MYMACRO_PATH\% environment, which can be included in the macro path, so the shortcut settings will be easily transferred to another PC.

    That would be fine.
    For now I think I will go the macro way. I wrote >30 macros for our script language, so one more won’t hurt. Thanks a lot for the example.

    in reply to: Voting for Hex Editor #5647
    owilsky
    Participant

    +1 from me :-D

    in reply to: Run macro at events: On EmEditor start… #5586
    owilsky
    Participant

    Hmmm… I played with the various events and tried “Group window created”. Seems like that does what I want. Or will I encounter any problems with that event?

    in reply to: Keyboard shortcut for macro not in macro toolbar #5517
    owilsky
    Participant

    Wow… that’s good news.
    Thanks a lot for your kind help.

    PS: I think my company will buy 20-30 licences soon ;)

    in reply to: Keyboard shortcut for macro not in macro toolbar #5515
    owilsky
    Participant

    But all macros that are included in “My Macros” are displayed in the toolbar, right?
    I would like to display the toolbar and some of my macros there, but not all.
    So it is not possible to assign keyboard shortcuts for macros not on the toolbar?

Viewing 10 posts - 51 through 60 (of 60 total)