Undo Tool Return Action

Undo Tool Return Action

1
NewbieNewbie
1

    Mar 12, 2006#1

    Hi,

    I created a tool that returns me some values and replace the selected text with it. Well, the problem is that I cant Undo this action. So after I ran the tool and it released my selection .. no undo.

    Is this a Bug or a Feature?

    6,686585
    Grand MasterGrand Master
    6,686585

      Mar 13, 2006#2

      It's definitively not a feature and in your point of view it is a bug. Report it by email to IDM support. Maybe the developers can change it.

      As workaround if possible you can save the file before running the tool and then if you want to undo the selection use File - Revert to Saved. But the undo chain is still broken, so you can't undo steps before saving the file.
      Best regards from an UC/UE/UES for Windows user from Austria

      10
      Basic UserBasic User
      10

        Mar 13, 2006#3

        Ok I will mail them. Thanx.

          Mar 15, 2006#4

          Well it looks like that it is not possible to implement.. :( ..

          6,686585
          Grand MasterGrand Master
          6,686585

            Mar 15, 2006#5

            Well, I have a second workaround for you. Run your tool via a macro.

            IfSel
            Clipboard 9
            Copy
            NewFile
            Paste
            SelectAll
            RunTool "Case-sensitive name of your tool"
            SelectAll
            IfSel
            Copy
            EndIf
            CloseFile NoSave
            Paste
            ClearClipboard
            Clipboard 0
            EndIf

            I entered the macro code here directly without testing it in UE. Hope it works. This solution will not break the undo chain on your source file.
            Best regards from an UC/UE/UES for Windows user from Austria

            10
            Basic UserBasic User
            10

              Mar 17, 2006#6

              Dude! ..
              Thanx .. thats so easy but so perfect.. :D
              Can't imagine that I didn't get that idea :D