create ctag-file with a macro

create ctag-file with a macro

5
NewbieNewbie
5

    Apr 13, 2005#1

    hi, i'm new to macros and tried to record the following macro: whenever i save a file in my project i want to update my ctags-file. i know how to link a macro to the open/save functionality so i need no help there ;-)

    could someon please post the macro? i'm stuck because the macro recorder seems not to work as i assume.

    many thanks
    alain

    6,683583
    Grand MasterGrand Master
    6,683583

      May 22, 2005#2

      OK, there is no macro command, which allows us to run special menu commands like "Create CTAG file". But for updating/creating a ctag file, I have an idea for a workaround (just an idea, not tested):

      Create an user tool with the Tool Configuration dialog, which simply does the same as "Create CTAG file".

      Then use the macro command RunTool "Create CTAG", where Create CTAG is the case-sensitive name of the appropriate tool.

      I think, this could work.
      Best regards from an UC/UE/UES for Windows user from Austria