Question
Issue with setting createPrimaryTextFrame in a documentpreset
Hi All,
I am not able to reliably set createPrimaryTextFrame in a document preset. I tried the following code to test and the results show it not being able to set the value more often than not. Is this a bug or am I doing something wrong
var p = false
for (var i = 0; i < 5; i++){
var dp = app.documentPresets.itemByName("MJ")
if (!dp.isValid)
dp = app.documentPresets.add("MJ")
dp.createPrimaryTextFrame = p
$.writeln("Value to set " + p + " Value set " + dp.createPrimaryTextFrame)
p = !p
}
-Manan
