Jump to content

make a gom script run automatically


---
 Share

Recommended Posts

Hello everyone,

I want to create a gom script which should be automatically run when opening a specific project file. In another way of saying, opening that specific file should trigger the running of the script. Is there a way to do that?

Many thanks,

Canset

Link to comment
Share on other sites

Hi Canset, 

You could use a Windows Shortcut to start a script which opens the specific project and runs your Script... if this could be a solution. 

Regards

Michael

Link to comment
Share on other sites

Hi Michael,

Many thanks for the quick response. How can i create the windows shortcut to start gom inspect externally?

Thanks,

Canset

Link to comment
Share on other sites

Hi Canset,

just use a windows shortcut to your start_gom.exe and give them the aditional parameters  atos -eval plus the script path like "gom.script.userscript.scriptfolder__script()"

should look like this f.e. "C:\Program Files\GOM\2021\bin\start_gom.exe" atos -eval "gom.script.userscript.scriptfolder__script()"

Link to comment
Share on other sites

Hi Michael,

Many thanks, it works. I have one last question. This start shortcut start_gom.exe only applies for GOM Inspect Pro, right? Is there a way to open blade inspect pro ? 

Link to comment
Share on other sites

Hello cansetm,

try adding this for Blade Inspect Pro:
 

-license gom-inspection-pro,blade,gom-advanced-blade-inspection

 

Regards,

Nanno

Link to comment
Share on other sites

  • 3 weeks later...
 Share

×
×
  • Create New...