Thank you Stirling! Ok, this looks good but have no idea what I'm looking at. lol If you can give me a quick tutorial on how to load this and run it, that would be great! I use Mach but only from the interface, I've never used any custom scripts or macros. So will this locate PPT, open the slide show and run it, while executing the g-code? If so, that's exactly what I need!
I'm assuming that the "G91" is where I insert the Gcode for the movement? I.e. raising the Z .05 then back down .045? I want the Z to move past the mark then back down into the actual position, this will ensure a fresh, even layer of resin to flow over the build. Also, the code will be the same for each slide because I don't need the Z to return to zero each time, it needs to keep moving, one little bit at a time. So the movement would be (in non code form) raise Z .05, lower Z .045 = +.005 increments for each slide.
Is the sleep in pulses, seconds, steps?? what is this value?
Also, will this section of code load & execute for each slide? Or does this need to be copied and pasted for each slide (this could be thousands of slides depending on the job)
For s=1 To numSlides
Code "G1 Z" & ZIncrement 'lift Z a tad
While IsMoving()
sleep 10
Wend
objPresentation.SlideShowWindow.View.GotoSlide (s) 'show the next slide
sleep 1000
Next
Any additional help would be appreciated. Thanks again!
