Eyeon:Script/Reference/Applications/Fusion/Classes/Fusion/Execute

From VFXPedia

Jump to: navigation, search

Contents

Fusion : Execute

Usage

Fusion:Execute(string)


Arguments

  • string [required, string]

The script command to execute.


Returns

none


Remarks

This function will execute the string provided as its argument from the context of the Fusion application. This could be used to execute a local script on a remote workstation, as in the example below.


Example

scriptpath = fu:MapPath("Scripts:Utility/Hotkey Manager.eyeonscript")
 
fusion = Fusion("192.168.1.100")
if fusion then
     fusion:Execute( [[ldofile(scriptpath)]] )
end


Tips for Execute (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Fusion/Execute