@Steve, I would start adding debug to the script to find where it's failing.. Either it's not getting the scene from the out framebuffer or it's not finding the quad or the material..or the keyboard shortcut isnt even triggering the script. Make sure you enable the preference for debug scripting (need to restart after turning it on), then modify the script to be a bit more error safe like this:
`dim ch as xpOutputFramebuffer
dim scene as xpScene
dim obj as xpBaseObject
dim mat as xpMaterial
engine.DebugMessage("Playing Script!", 0)
if Engine.GetOutputFramebuffer (0, ch) then
if ch.GetSceneOnLayer(0, scene) then
if scene.getObjectByName("Quad1", obj) then
obj.GetMaterial(0, mat)
mat.play
else
engine.DebugMessage("Could not find quad1 in scene", 2)
end if
else
engine.DebugMessage("Could not find scene on layer 0", 2)
end if
else
engine.DebugMessage("Could not get output framebuffer",2)
end if
`
#XPression