help in foontone


hello!

my name eliezer, , not speak english.

the discussion translated google translate ...

 

 

aqua generous assistance:

i wrote script:

 

var myname="החלת הגדרות";

try{

app.doscript (myscript,scriptlanguage.javascript, undefined, undomodes.entire_script, myname);

function myscript(){

//שמור למשתנים נתוני סרגל מקוריים

var my1=app.activedocument.viewpreferences.properties;

/*************אפס כל הסרגלים והמידות לפוינטים**********************************************/

app.activedocument.viewpreferences.typographicmeasurementunits = measurementunits.points;

app.activedocument.viewpreferences.horizontalmeasurementunits = measurementunits.points;

app.activedocument.viewpreferences.verticalmeasurementunits = measurementunits.points;

 

 

var my2=app.activedocument.footnoteoptions.properties;

app.activedocument.viewpreferences.properties=my1;

 

 

for (var a=1;a<app.documents.length ;a++){

//שמור למשתנים נתוני סרגל מקוריים

var my3=app.documents[a].viewpreferences.properties;

/*************אפס כל הסרגלים והמידות לפוינטים**********************************************/

app.documents[a].viewpreferences.typographicmeasurementunits = measurementunits.points;

app.documents[a].viewpreferences.horizontalmeasurementunits = measurementunits.points;

app.documents[a].viewpreferences.verticalmeasurementunits = measurementunits.points;

app.documents[a].footnoteoptions.properties=my2;

app.documents[a].viewpreferences.properties=my3;  //החזר להגדות מקור את הסרגלים

   }

alert ("בוצע");

}

}catch(e){myscript()};

 

 

 

 

and works not good.

color , settings of line before footnotes not change. (only tint of variable).

 

 

what mistake?

 

 

thank much.

hi eliezer,

 

i think reason properties require accessing

sub-properties not stored in variable my2. first level

of properties are. (i suspect) if run following line

 

app.activedocument.footnoteoptions.properties.tosource()

 

you'll find properties require "resolve" command won't

get applied.

 

אריאל



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?