Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:vegas_python_faq [2018/10/28 09:12] – hlinke | en:vegas_python_faq [2020/03/14 16:07] (aktuell) – [Section 1: General] hlinke | ||
|---|---|---|---|
| Zeile 134: | Zeile 134: | ||
| </ | </ | ||
| - | If the filename or a parameter include blanks, then the parameter must be enclosed in ´" | + | If the filename or a parameter include blanks, then the parameter must be enclosed in ´"" |
| The pythonscript can access the commandline arguments as it is standard in Python via the variable sys.argv. | The pythonscript can access the commandline arguments as it is standard in Python via the variable sys.argv. | ||
| This variable contains a list of strings with each argument as a separate string item in the list. | This variable contains a list of strings with each argument as a separate string item in the list. | ||
| Zeile 154: | Zeile 154: | ||
| You can add a script to the Extension menu (under Vegas' Tools menu) by placing the script in one of the following directories: | You can add a script to the Extension menu (under Vegas' Tools menu) by placing the script in one of the following directories: | ||
| - | * C: | + | * C: |
| - | * C: | + | * C: |
| - | * C: | + | * C: |
| - | * C: | + | * C: |
| - | * C: | + | * C: |
| - | * C: | + | * C: |
| - | * C: | + | * C: |
| You must use the subdirectoy VEGASPYTHON in the same directory where you installed the VEGASPYTHON.dll. | You must use the subdirectoy VEGASPYTHON in the same directory where you installed the VEGASPYTHON.dll. | ||
| Zeile 200: | Zeile 200: | ||
| ==== Section 2: Tracks and Events ==== | ==== Section 2: Tracks and Events ==== | ||
| - | === How do access the VEGAS attributes? === | + | === How do I access the VEGAS attributes? === |
| - | VEGASPython provides a variable pyVEGAS | + | VEGASPython provides a variable pyVEGAS |
| Example: | Example: | ||