Created
July 13, 2014 20:22
-
-
Save mim-Armand/83c4693187742807d80d to your computer and use it in GitHub Desktop.
using this methode you can get all the related attributes , contents, etc. of any ExtensScript object! very helpful in writing ES codes!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var f = this; | |
var t = ''; | |
var props = f.reflect.properties; | |
for (var i = 0; i < props.length; i++) { | |
t += ('this property ' + props[i].name + ' is ' + f[props[i].name] + "\n"); | |
} | |
alert(t); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment