Post #2819: @roaoao

šŸ“‹ Metadata

šŸ·ļø Tags

macro scripting intermediate unsolved

  • Macro Editor
  • Python Scripting
  • execute_script function

šŸ’¬ Content

@roaoao

Hi and thank you for great addon! I have a question:

I’d like to share the same pie menu that calls for external .py scripts between two my machines, but paths to scripts are different due to Dropbox setup. Is it possible to use OS environmental variables in execute_script("")? So instead of execute_script("D:/Dropbox/script.py") I’d use something like execute_script("$BLENDER_SCRIPTS/script.py")


šŸ”— View on Blender Artists