MoI discussion forum
MoI discussion forum

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

Show messages: All  1  2-3

From: Michael Gibson
14 Sep 2017   [#2] In reply to [#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
From: Franz
14 Sep 2017   [#3]
Thank you Michael, really a quick help, I'm so happy Moi and the community around it!

Show messages: All  1  2-3