Open justml opened 2 months ago
If u set from windows explorer the software you want this script to open with I think it would work for you. If not you can create an AHK script very easy to trigger this function
If u set from windows explorer the software you want this script to open with I think it would work for you. If not you can create an AHK script very easy to trigger this function
if I set from windows explorer will open a new session of 3dsmax. I should try to create an AHK script but I don't know how. I don't know this language. Can you help me? thx
Okay so what would you need your computer to do? open this script from 3dsmax? or open iw using 3dsmax while you have an instance of 3dsmax open?
Okay so what would you need your computer to do? open this script from 3dsmax? or open iw using 3dsmax while you have an instance of 3dsmax open?
run the script file (.ms) inside of the current instance of 3dsmax.
And how do you get that? In 3ds max you go "run script" and look for that or dragging from the explorer the file to 3ds max?
well, it can be drag and drop from win explorer to the 3dsmax viewport as you said or from the menu scripts->run script. But it can be execute by macro script with command "on execute do (...)" or by command "fileIn" and the (scriptPath + scriptName + scriptFileType) as string. So in my case the code will be: < fileIn "B:\Dropbox\ML_Tools\Tools\Teste\menuModifiers.ms" >
Sorry for spam, but I found this on the internet. where I can paste this code in the AutoHotPie to test it?
{ WinActivate, Autodesk 3ds Max ControlSetText, MXS_Scintilla2, , Autodesk 3ds Max Control, EditPaste, fileIn "B:\Dropbox\ML_Tools\Tools\Teste\menuModifiers.ms", MXS_Scintilla2, Autodesk 3ds Max ControlSend, MXS_Scintilla2, {Enter}, Autodesk 3ds Max Return }
You can create an AHK script (It's just a text file with the .ahk extension) and execute it to see if it works. But I would remove the brackets. It would be something like this:
WinActivate, Autodesk 3ds Max ControlSetText, MXS_Scintilla2, , Autodesk 3ds Max Control, EditPaste, fileIn "B:\Dropbox\ML_Tools\Tools\Teste\menuModifiers.ms", MXS_Scintilla2, Autodesk 3ds Max ControlSend, MXS_Scintilla2, {Enter}, Autodesk 3ds Max Return
Id help you more but I'm at work and can't be too distracted haha
Id help you more but I'm at work and can't be too distracted haha
ok. no problem. I am at work as well :)
this is the result of the code inside of the .ahk file when I run it from the autohotpie.
hello. It will be nice if we can execute external scripts/tools from the pie menu inside of the 3dsmax software. For the moment it just open the file in an external text editor, like notepad.
Thanks!