Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to write a vb script to click Analyze, and then click Launch
Solved! Go to Solution.
How to write a vb script to click Analyze, and then click Launch
Solved! Go to Solution.
Hi,
I have no off the shelf solution for this to provide.
What you need to use is runstudy.
Moldflow Insight Help | The runstudy utility | Autodesk
Is it possible to submit Batch run through command shell or how to run runstudy in batch ?
Hope this helps.
Regards,
Berndt
I rewrote the script according to your suggestion, and there was the following error, how can I change it, thank you
Hi,
You cannot launch runstudy from with a script as shown.
(Where it is on last line in code.)
Remove the last line.
Either launch from command line:
Moldflow Insight Help | Launching an analysis from the command line on PC | Autodesk
Or create studies first, then launch fort batching as suggested here:
Is it possible to submit Batch run through command shell or how to run runstudy in batch ?
Hope this helps.
Regards,
Berndt
If I just want to use vb scripts to implement this feature, can I do it?
Hi.
I don't use vbscript .vbs files, but there is some information to launch runstudy out of Moldflow's command shell window.
I think you can reflect this information for vbscript maybe.
I can run runstudy with specific studyfile by Microsoft PowerAutomate. This is my test flow's setting.
on the "Run application" window of Powerautomate software (Sorry, my software is displayed in Japanese, I can't paste real screen shot.)
----------------------------
Application path: C:\Program Files\Autodesk\Moldflow Insight 2025\bin\mfstart.exe
Command line arguments: C:\WINDOWS\SysWOW64\cmd.exe /K title Moldflow Insight 2025 Command Line | runstudy -temp test .\xxxxx.sdy
----------------------------
I hope you can invoke from vbs by this information.
(These absolute file path is seen at Moldflow command shell icon's property window.)
Regards.