AutoShow selected tool


#1

I usually working with a third float viewer where show the current mask editing (matte style). I select current mask op, and then I have to push 3 numeric key to show in this viewer.

Well, this is a massive repeat task in my workflow, its turn tedious.

My question, is possible for example, via scripting, wrlting a tool that AutoShow the selected current too in a specified viewer when pick to select operator in a flow?

Thanks


#2

You used to be able to right click in the view, and select options/follow active. For some reason that seems to be greyed out now. I’ll have to find out why.

In the meantime, copy the script below and paste it into a text file called Toggle Follow Active.eyeonscript and save it to Fusion:\Scripts\Comp. Run the script to enable follow active on the floating View called View1. Run it again to disable follow active mode.


  if ev.OnActivateTool then
        -- disable it
        ev.OnActivateTool = nil
  else
        ev.OnActivateTool = function(event)
 	         local tool = composition.ActiveTool
              local view = fusion:GetPreviewList()["View1"]
 	         if view then
 	               view:ViewOn(tool)
 	         end
              self:Default(event)
        end
  end
  • edit, fixed script formatting

#3

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.