starts a script from a web server

starts a script from a web server

Anonymous
Not applicable
432 Views
0 Replies
Message 1 of 1

starts a script from a web server

Anonymous
Not applicable

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!

0 Likes
433 Views
0 Replies
Replies (0)