Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4148

Runscript + browse?

$
0
0

I wanted to temporarily resuscitate some old VB Rhinoscripts, but first to test them, I wanted to run them with the LoadScript command - they are already set to run immediately when loaded.

This works from an alias or button:

_-Loadscript "FullPathToFile\Filename.rvb"

However, if I want to browse to the file in a directory… I can’t do it in one go. If I type

_Loadscript

I get a file dialog where I can browse to the file - but it doesn’t run afterwards, I have to load the file, close the dialog, then use

_Runscript

and find the loaded file in the list in order to run it.

_RunPythonScript on the other hand immediately opens a browser window to find a script and when the file is chosen, it runs immediately - i.e. not a two-step process. It’s been so long… What have I forgotten?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4148

Trending Articles