Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: IDCS6 Mac Interactive Button creation with URL

$
0
0

Well, now, that's just the thing, Hans.  In the scripting guide, using "bounds" as an example, I may instantiate an object like this:

 

var MyObject = new somethingOrTheOther(10,10,20,20);

 

or I may do it like this:

 

var MyObject = new somethingOrTheOther([10,10,20,20]);

 

or I may do it like this:

 

var MyObject = new somethingOrTheOther({bounds = (10,10,20,20)});

 

Though your help was immensely appreciated, I searched for two hours on my own looking for a syntax that would work.  Did you discover it by trial and error, or is it stated someplace else where I can look and find other important, if hidden bits of information?

 

I am also curious to know why the documentation calls that property "readonly" when in reality it is quite manipulable if you use the right syntax?

 

TIA!

 

R,

John


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>