How to open any folder with a new created button by Moi3D?

Next
 From:  Franz
8590.1 
I am really excited to use moi3d and watch the forum-news every day. A lot to learn from the professionals. I like for instance to use the snapshot from Max. How can I creat a button to open the folder "shapshot" where the images are? It would be practically. But I`m not able to write a command or script for this button.
  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
8590.2 In reply to 8590.1 
Hi Franz, the script for opening the snapshots folder would be like this:

moi.filesystem.shellExecute( moi.filesystem.getProcessDir() + 'snapshots' );

That could go in the onclick="" handler on a button or also set up a shortcut key with this as the command for the shortcut key:

script: /* Open snapshots folder */ moi.filesystem.shellExecute( moi.filesystem.getProcessDir() + 'snapshots' );

- 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:  Franz
8590.3 
Thank you Michael, really a quick help, I'm so happy Moi and the community around it!
  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