Skip to main content
Kukurykus
Legend
Nov 21, 2021 6:12 PM UTC
Open for Voting

P: Inaccessible 'Performance' of 'Playback Options'

We can manually access 3 Performance checkboxes (Accelerated, Step by Step, Pause for: / value) in 'Playback Options' from dropdown menu of 'Actions' Panel. There is no problem to set them by script. Unfortunately we can not read them:

 

 

sTT = stringIDToTypeID, ref = new ActionReference()
ref.putProperty(sTT('property'), sTT('playbackOptions'))
ref.putEnumerated(sTT('application'), sTT('ordinal'), sTT('targetEnum'))
executeActionGet(ref)

 

 

The above codes gives error, but the similar one to read 'Add "copy" to Copied Layers and Groups' (which manually we access from 'Panel Options' of 'Layers' panel dropdown menu) works with no problem from first CC release (as in CS6 it didn't work yet):

 

 

sTT = stringIDToTypeID, ref = new ActionReference()
ref.putProperty(sTT('property'), sTT('addCopyToLayerNames'))
ref.putEnumerated(sTT('application'), sTT('ordinal'), sTT('targetEnum'))
executeActionGet(ref).getBoolean(sTT('addCopyToLayerNames'))

 

 

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Legend
Nov 23, 2021 2:25 AM UTC

I've asked engineering to take a look.

Translate