Skip to content

Instantly share code, notes, and snippets.

@mim-Armand
Created July 13, 2014 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mim-Armand/83c4693187742807d80d to your computer and use it in GitHub Desktop.
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!
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