How can I get a delay value of animation timeline?


function getdelay (theframeindex)  {   try   {   var actionreference = new actionreference();    actionreference.putproperty(charidtotypeid('prpr'), stringidtotypeid('animationframedelay'));    actionreference.putindex(stringidtotypeid('animationframeclass'), theframeindex);   var actiondescriptor = new actiondescriptor();    actiondescriptor.putreference(charidtotypeid('null'), actionreference);             var t = executeaction(charidtotypeid('getd'), actiondescriptor, dialogmodes.no);   return t.getdouble(stringidtotypeid('animationframedelay'))   }   catch(ex)   {   alert(ex);   return null;   } } 

i want value of stringidtotypeid ( 'animationframedelay'). code falls error.

are sure file frame animation?



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop