Eyeon:Script/Reference/Applications/eyeonScript/Interactive

From VFXPedia

Jump to: navigation, search

eyeonScript can run in Interactive mode, which allows for immediate entry and processing of script commands entered from the command prompt, rather than running commands found within a .eyeonScript file. This mode is useful when testing out ideas for scripts, or to troubleshoot a problematic script.

Contents

Starting eyeonScript in Interactive Mode

To enter interactive mode start eyeonScript.exe with the command line option '-i'. e.g.

C:\Scripts eyeonScript.exe -i

 eyeon Script Interpreter
 Copyright (C) 2005 eyeon Software


The 'i' character is used to indicate that eyeonScript is in immediate mode, and that new commands can now be entered.

Exiting Interactive Mode

Press CTRL-C on your keyboard to exit the Interactive mode. Your prompt symbol will return to the normal prompt seen from the command line.

Interactive Mode Shortcuts

There are two shortcuts available when in interactive mode, the equal sign can be used as a shortcut for the print() function, i.e.

=fusion

instead of 'print(fusion)', and two equals signs can be used instead of the dump() function, i.e.

==fusion:GetAttrs() instead ofdump(fusion:GetAttrs()).


Tips for Interactive (edit)

EyeonTips:Script/Reference/Applications/eyeonScript/Interactive