Snapshot in CustomUI stopped working last year after reinstalling all Windows 7 programs to a new hard drive.
Previously it had worked. The snapshots directory is located alongside of "ui" and "commands."
To enable writing to Program Files (x86) \ MoI 3.0 \ snapshots, it was necessary to right click
on MoI 3.0, select Properties, Security, Edit, select my user name, and place a checkmark in
the write box, then apply. (Increases Administrator-like privileges)
Similar to using Michael's method here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6507.171
I was able to create a snapshot2 directory alongside snapshot directory, but was unable to relocate it to AppData directory.
I modified 84Snapshot2.htm to 85Snapshot2.htm file with
vp.render(w, h).save(moi.filesystem.getProcessDir()+"\\snapshot2\\"+time+"-["+vp.name+"].png");
and also modified the end of the last line to ==">Snapshot2</moi:CommandButton>
Also need to rename the function name to "function snapshot2(w, h, button, shiftkey, ctrlkey)
as well as its call in the last line.
- Brian
Also added the snapshot and snapshot2 subdirectories to the file directory library for quick viewing access.