Eyeon:Script/Tutorials/Command Line

From VFXPedia

< Eyeon:Script | Tutorials
Revision as of 14:25, 3 January 2007 by Peter (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Command Line


Tips for Command Line (edit)

The manual page for eyeon.executebg() contains this useful snippet which can be used to launch Fusion from a command line script in case it isn't running yet:

-- Connect to Fusion, starting it first if necessary
 
function StartFusion()
   local fusion = Fusion("127.0.0.1")
   if not fusion then
      if executebg("C:\\Program Files\\eyeon\\Fusion 6.1\\Fusion.exe") then
         while fusion == nil do
            wait(1)
            fusion = Fusion("127.0.0.1")
         end
      else
         return nil
      end
   end
   return fusion
end