Author Topic: Boolean AND/OR in IF statements  (Read 7920 times)

0 Members and 1 Guest are viewing this topic.

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2009
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Boolean AND/OR in IF statements
« Reply #15 on: May 01, 2014, 09:06:29 AM »
Great! Glad it's coming together for you.

By the way, maybe you already realize this, but if you're going to be using a lot of different Python functions for various purposes, the most efficient thing to do is to save all those different functions in one master python file.

You can then have a command that simply loads that master file when VC first launches, and then you're good to call those functions from any command on the fly, without separately using individual PY.ExecFile actions for each specialized command.

Even for one command, actually -- having the python file loaded once rather than each time the command is executed is more efficient.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)