ScriptRun

19 votes
Version: 
1.5
Date Updated: 
10/12/2012
Author Name: 
Branko Živković

•••ScriptRun is a free maxscript tool that allow you to easy search through your script
collections inside different directories, run selected script, open in the MaxScriptEditor
if you need to make some changes or make the favorites list for latter use.
Also there is a quickRun method for the "Last Used Script"
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• VERSION 1.5

Additional Info: 

•••Supported script extensions are:
*.ms - maxscript
*.mse - encrypted script
*.mcr - macroscript
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
•••Installation:
You can place bga_scriptrun_v1.0.ms file in maxroot>scripts>startup folder
(for automatic startup with 3ds Max) or maxroot>scripts to run manually.
The all settings and screen location are saved upon closing (to XML file)
so the next time it is opened, the script form appears on the
same spot and restore all parameters back.
written and tested on 3dsMax 2013 x64 and 3dsMax 2012 x64, but it may work in older version.
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Update: [version 1.1]
When user run or open any script from search list then ScriptRun list will be minimized.
If you not need this option then use version 1.0
This is small update requested by asymptote
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Update: [version 1.2]
3dsmax 2015 support
Another small update requested by asymptote
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• Update: [version 1.5]
Fixed RC Menu Add/Remove Favorites Button
Another small update requested by Haider of Sweden
Now default path for scripts is $UserScripts (and subfolders are included).
User can manually add any script path directory

To see how scripts works read first Script_Run_Manul.pdf
Script Run Manual 01
Script Run Manual 02
Script Run Manual 03
Script Run Manual 04
Script Run Manual 05

Version Requirement: 
2010+
AttachmentSize
script_run_manual.pdf120.49 KB
bga_scriptrun_v1.0.ms33.57 KB
bga_scriptrun_v1.1.ms33.81 KB
bga_scriptrun_v1.2.ms33.65 KB
bga_scriptrun_v1.5.ms33.09 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alnoman's picture

here it is.

i want to press ` key instead of * key in keyboard to find favourite scripts.

AttachmentSize
2019-08-30_19-11-40.jpg 29.56 KB
miauu's picture

.

Do you mean instead of thie *.ms to use this:`.ms?

The * is used by regEx and you can't replace it directly with any other sign. You have to edit the script so when you enter `.ms the script to converts it to *.ms.

alnoman's picture

Perfect. useful. Can i use

Perfect. useful.
Can i use "`" key instead of "*" key?
Because * key located in a long distance from fingers.

in all 7 loaction i replaced "*" with "`" but doesn't work.

miauu's picture

.

Barigazy will solve the problem but to make the process easy, please post what is printed in the maxscript listener when the error occrus.
Also, you can check the dotnet versions in your PC and in oter PCs where the script works.

jsrocha's picture

bug

Hi Barigazy, i´m having a problem using this script, i get this error when running the script - http://prntscr.com/ovkqkm
I´m using max 2019. The funny thing is that at the office the script works (win 7), the problem is in my home office (win 10). But i tried the script in other win 10 and it worked also.
Thanks man,

Jsrocha

Haider of Sweden's picture

.

I meant that the fp_0-path should be $UserScripts, not the path to the XML :)
The other path, ie fp_1, fp_2 etc can be added manually anyway.

Reason is that I sync my scripts and the XML files through Dropbox and dropbox is located in different path in different computer and it ends up with an error, because the XML saves absolut path.

Kind regards
Haider
www.haider.se

barigazy's picture

... update 1.5

Now Add Remove Favorites button works in RC Menu.
$UserScripts is now default path. Or U can manually edit srSettings.xml in the same directory.

barigazy

Haider of Sweden's picture

.

Thanks for replying.

As for the $UserPath question; I wouldn't mind having it as default. Often, scripts relate to $UserPath one way or the other.

In my case, I have absolute different path as $userPath at home and at work. That is how the user account is constructed in windows and such.
If we would use $userPath, the problem would be eliminated.

For everyone who wants to add custom path, one can add them anyway, right?

Kind regards
Haider
www.haider.se

barigazy's picture

...

Hi Haider,
i did'nt find the way to integrate .net form with toolbar or ribbon.
For the 2nd question about $userscript dir, you mean use this path by default?

barigazy

Haider of Sweden's picture

.

Got the answer from the person who was behind that picture. Apparently it was positioned over a blank space.

Question is if it would be possible to add this into a toolbar for real, or inside the Ribbon.

Plus, the previous request still stands :)

Kind regards
Haider
www.haider.se

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.