Fair guess :)
1. http://jongware.mit.edu/idcs6js/pc_Button.html -- select "gotoStateBehaviors"
2. http://jongware.mit.edu/idcs6js/pc_GotoStateBehaviors.html -- select the singular
3. http://jongware.mit.edu/idcs6js/pc_GotoStateBehavior.html -- here are the properties per item.
The first, "gotoStateBehaviors" as a property of "Button", is marked as "collection" because you can have more than one.
So the command to drill down to the first state of a button and fetch its name is
buttons[0].gotoStateBehaviors[0].name
thats awesome. can u help me to find out the value of 'state' name also
when i give alert(app.documents[0].buttons[i].gotoStateBehaviors[0].associatedMul tiStateObject.name); it gives me the value as 'Multi-state 12', but couldn't get the value 'State 2', please refer the picture i've attached earlier.
any thought ?
North America
Europe, Middle East and Africa
Asia Pacific