Tapatalk

Problem with Previous Window/Tab Command

Problem with Previous Window/Tab Command

10
Basic UserBasic User
10

    Jun 19, 2006#1

    Hi,

    got a little problem with one Macro.
    When i create a new file in the macro and close the new file.
    How can i go back to the tab/document a had opened first?
    When 1 have 5 Files open and my start file is on the first place and i use the "select previous tab" after closing then it works.
    But when the start file is on the last place then it doesnt work.

    help?! :)

    6,685587
    Grand MasterGrand Master
    6,685587

      Jun 19, 2006#2

      I really don't know why IDM has changed which file gets the focus after closing a file. Since v12.10+3 the file next to the closed file in the open file tab order (document order) gets the focus and not the previously used file (window order) as it was in prior versions.

      This new behaviour has a dramatic effect on all macros which closes a file and expects that the previously used file gets the focus. All these macros will not work anymore as expected.

      Please write an email to IDM support and ask why IDM has changed it and why there is no option to switch back to the previous handling which is needed for existing macros.
      Best regards from an UC/UE/UES for Windows user from Austria

      10
      Basic UserBasic User
      10

        Jun 19, 2006#3

        Yes i had the same in mind because that macro worked bevor the Update.
        I also tryed to find an option that change the selection document after closing but didnt found it.
        I mail them ..

        6,685587
        Grand MasterGrand Master
        6,685587

          Sep 07, 2006#4

          In UEStudio 6.00 there is a configuration option now for the focus handling after a file is closed. The option can be found at Configuration - Application Layout - File Tabs - Move to nearest left tab after current tab is closed.
          scallanh wrote:The Move to nearest left tab after current tab is closed configuration option is not available in UltraEdit v12.10b, but it is mentioned in the help file for that configuration pane and it does not say that it is only available in UEStudio. Not showing the last selected file tab when closing a file is one of my top five problems with UltraEdit at the moment and I hope this configuration option is added to UltraEdit.

          There's also a similar situation with the Tab Colors by File types configuration option: it's only in UEStudio apparently, though the help file doesn't say so.
          Yes, although v12.10b was released after UEStudio 6.00 it is only a minor bugfix version (with new bugs) of v12.10a and does not contain any new feature already available in UEStudio 6.00. Because the help file for UltraEdit is the same as for UEStudio you can already find the new features described in help although they are not available in v12.10b of UltraEdit.

          I don't know which version number the next major release of UltraEdit will have where the option will be available and when it will be released. I guess, it will be v12.20.
          Best regards from an UC/UE/UES for Windows user from Austria

          206
          MasterMaster
          206

            Re: Need help with File Tabs

            Sep 08, 2006#5

            Maybe you could create a short, unique character string in the original file just before you create the new file. After you close the new file, set up a loop to search for the unique string - keep advancing to the next tab (window) until you find it. After you find the string, erase it and exit the loop.

            Klutzy as hell, might get you by.
            Software For Metalworking
            http://closetolerancesoftware.com

            6,685587
            Grand MasterGrand Master
            6,685587

              Oct 20, 2006#6

              Good news for all macro users: UltraEdit v12.20 was released and so there is the option Move to nearest left tab after current tab closed at Configuration - Application Layout - File Tabs now also available for UltraEdit like it is for UEStudio since v6.00.

              With hotfix 12.20+1 also the load macro problems are solved with macros which use the GotoLine and GotoLineSelect commands.
              Best regards from an UC/UE/UES for Windows user from Austria