Message 1 of 1
starts a script from a web server

Not applicable
01-18-2020
10:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey guys!
I'm looking for a way to include/start a maxscript file from a web server. How can I do that?
Basically I'm trying to do that:
on button Click do ( python.Execute(" import sys SCRIPT_FOLDER = '\\121.121.121.121\script\test' if SCRIPT_FOLDER not in sys.path: sys.path.append(SCRIPT_FOLDER) import myscript_ui myscript_ui.generate_ui() ") )
and same with FileIn and include. Simply posting the URL/IP doesn't work
Thanks!