' 3 Dec 2016. This routine is executed after each image is captured by ASCap.vbs ' For example, it allows the sample orientation to be reset for tomographic imaging ' It can be a VBS script, or any Windows executable if you modify the Orient.vbs call in ASCap.txt ' Try double-clicking this VBS script or open it with Microsoft Windows Based Script Host ' Uncomment the following to test this script ' ' MsgBox "Replace this script with a Windows routine to reset sample orientation" Set Sapi=Wscript.CreateObject("SAPI.spVoice") Sapi.speak "motor"