var t=app.activeDocument.textFrames; var fx=t[0].contentTransparencySettings.innerShadowSettings; alert(fx.useGlobalLight);