Skip navigation
Currently Being Moderated

Sort by Type view to default... Possible?

Apr 24, 2012 2:29 AM

Tags: #sort #by #type #order

Is it possible to put order viewing files on Bridge always "Sort by Type" by default?

 

 

I want to open a folder always on Sort by Type view, manually change order (some times) and choose another new folder again Sort by Type viewed.

This over and over again.

 

It always open the new folder in the last manually order I don't want.

 
Replies
  • Omke Oudeman
    3,998 posts
    Nov 27, 2004
    Currently Being Moderated
    Apr 24, 2012 2:57 AM   in reply to Pedro Marques

    It always open the new folder in the last manually order I don't want.

     

     

    I'm afraid almost the rest of the world does want the behavior you don't want...

     

    But serious, this is as designed for Bridge, the window keeps the sorting order you have chosen.

     

    There are some workarounds but probably not what you are looking for.

     

    You can choose to save a workspace including sort order but you have to reset the workspace each time you choose a new folder and just as easy you can either choose the sort order in the path bart or using the right mouse click menu and at the bottom point to the correct sort order.

     

    Maybe using the filter panel will suite you better? If you create a workspace with both folder and filter panel in view you can pick a folder and then in the filer panel click on the file type you want to view. This reveals only the files of that type. Click again to uncheck reveals all files back in view, click on multiple types reveals each type you have selected in this panel.

     

    Hope this helps a bit to ease the pain

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 24, 2012 4:08 AM   in reply to Pedro Marques

    You could try this, it does not work on the first folder when Bridge is opened but seems to then work for all changed folders.

     

     

    eventChanged =false;
    onCheckDocument = function(event){
      if(event.object instanceof Document){
                if(event.type == "selectionsChanged" ) eventChanged = true;
                if(event.type == "loaded" && eventChanged == true ) {
                    app.document.sorts = [{ type:"string",name:"document-kind", reverse:false }]; 
                    eventChanged =false;
                    }  
       return {handled:false}; 
      }
    }
    app.eventHandlers.push({handler: onCheckDocument});
    
    
     
     
    |
    Mark as:
  • Currently Being Moderated
    May 23, 2012 12:52 PM   in reply to Pedro Marques

    Unfortunately there is no event for change folder.

    The nearest I can do is add a check so that if you are in manual sort it will not switch to kind.

    So you would need to change from manual sort to any other sort for the script to auto select kind.

     

    
    

    eventChanged =false;

    onCheckDocument = function(event){

      if(event.object instanceof Document){

                if(event.type == "selectionsChanged" ) eventChanged = true;

                if(event.type == "loaded" && eventChanged == true ) {

                    if(app.document.sorts[0].type != "user"){

                    app.document.sorts = [{ type:"string",name:"document-kind", reverse:false }];

                    eventChanged =false;

                        }

                    } 

       return {handled:false};

      }

    }

    app.eventHandlers.push({handler: onCheckDocument});

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points