Programmatic modeling by script?
All  1-5  6-8

Previous
Next
 From:  chippwalters
7176.6 In reply to 7176.3 
Thanks again. Another question. Is it possible to launch an executable from MoI's Javascript? I expect to create my application as an app or exe file and it would be great if I could launch it from a button inside MoI.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7176.7 In reply to 7176.6 
Hi chipp, you can launch an external program from a MoI script by calling moi.filesystem.shellExecute( 'c:\\somedir\\someprogram.exe', 'parameters' );

That will call the system shell execute, same as if you had typed it into the Windows "Run" dialog box. If you give it an .exe file it will open the .exe

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  chippwalters
7176.8 In reply to 7176.7 
Thanks! Much appreciated.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-5  6-8