Skip to main content
Kukurykus
Legend
November 21, 2021

P: Inaccessible 'Performance' of 'Playback Options'

  • November 21, 2021
  • 1 reply
  • 250 views

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 has been closed for replies.

1 reply

Legend
November 23, 2021

I've asked engineering to take a look.