script to ui installer

hello!
i have so many useful scripts by now, but no way of accesing them instantaneously,
is there an easy way to access my scripts on startup of max through the customize UI section, i know macroscripts can do this, but theres many scripts i have that arent macroscript, i just want to add them to my toolbar?!

any help would be greatly appreciated!

Comments

Comment viewing options

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

MyScript

Hi,

111_SmartMenu_v.0.1 by Andrei Kletskov puts a category selection in the menu bar called "MyScrips." Any script that's placed in the folder of choice is listed under the "MyScrips" menu.

W DIGITAL's picture

hi crystal, i have released

hi crystal, i have released it as the Macrotize script, you can use it now witout problems!

crystal3d's picture

great! will give it a GO,

great! will give it a GO, sure it will be fine

crystal3d's picture

so this script allows me to

so this script allows me to run "*.ms " scripts from UI, ver nice but can someoe wrap it up together the correct code and some notes about where to put the ms. would be cool.

cheers

Anubis's picture

I just reply on your last

I just reply on your last email, but if not received it yet, there you go - add this line at the beginning of the code:
templist = #() --define empty array

my recent MAXScripts RSS (archive here)

W DIGITAL's picture

ok i i ran script and

ok i i ran script and listenere
here is the error:

#("C:\Program Files\Autodesk\3ds Max 2009\\scripts\phizikl\Macrofy.ms", "C:\Program Files\Autodesk\3ds Max 2009\\scripts\phizikl\mesh_snowmaker.ms", "C:\Program Files\Autodesk\3ds Max 2009\\scripts\phizikl\Pinscreen.ms", "C:\Program Files\Autodesk\3ds Max 2009\\scripts\phizikl\Speed_Circular_Array.ms")
-- Error occurred in f loop; filename: R:\SOFTWARE\3D Software\3DSMax\3DSMAX Scripts\phiZikl\phiZikl\Macrofy.ms; position: 166
-- Frame:
-- templist: undefined
-- f: 1
-- called in anonymous codeblock
-- Frame:
-- No ""put"" function for undefined
"C:\Documents and Settings\phiZikl\Desktop\test.mcr"
-- Error occurred in f loop; filename: R:\SOFTWARE\3D Software\3DSMax\3DSMAX Scripts\phiZikl\phiZikl\Macrofy.ms; position: 581
-- Frame:
-- templist: undefined
-- str: "macroScript new1 category:"phizikl" tooltip:""
-- f: 1
-- called in anonymous codeblock
-- Frame:
-- outputfile:
-- No ""get"" function for undefined
OK

W DIGITAL's picture

hi anubis, i hae tried it

hi anubis, i hae tried it yet again, as soon as i have .ms files in the test directory, it gives me error

---------------------------
MAXScript FileIn Exception
---------------------------
-- No ""put"" function for undefined
---------------------------
OK
---------------------------

templist[f] = getFilenameFile files[f]

anyway you can help, i would really like to make this script work, :( thanks

btw i have skype:phizikl

Anubis's picture

Ok, do one test. edit this

Ok, do one test. edit this line:
format "%" str to:outputFile
and delete or hide "to:outputFile", ie:
format "%" str --to:outputFile
this way the generated string will be prined to Listener.
Be sure so you clean all text in Listener before evaluating the script (so in Listener press Ctrl+D) and then in MXS Editor Cltr+E. Now form Listener you can save the code as .MS file.

So, do this test and say if this works.

my recent MAXScripts RSS (archive here)

W DIGITAL's picture

yes, i work under

yes, i work under administrative account,

it still doesnst work, can you make other code that works?

Anubis's picture

Because I think that some

Because I think that some antivirus programs treat files with extensions .MS and .MCR as high-risk files and you say so nothing go out to file, so what comes to my mind is to ask whether you work under administrative account?

my recent MAXScripts RSS (archive here)

Comment viewing options

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