m1bCorrect answer
Community Expert
May 16, 2023 11:47 PM UTC
Hi @jsavage77, good question. I've had a bit of a deep dive, and here's what I found (which isn't much!).
1. The Fixed checkboxes properties don't seem to be exposed to the scripting API, and they also don't seem to be exposed via actions either. So I don't know how to set them.
2. I couldn't find the Auto Size property in the object model either. It can be set via a script via a dynamic action. Let me know if you want to go that way and I will post an option. Here is what the .aia action markup looks like to just set the Auto Size:
/version 3
/name [ 10
54657374416374696f6e
]
/isOpen 1
/actionCount 1
/action-1 {
/name [ 21
53657420417265612054797065204f7074696f6e73
]
/keyIndex 0
/colorIndex 0
/isOpen 0
/eventCount 1
/event-1 {
/useRulersIn1stQuadrant 0
/internalName (adobe_SLOAreaTextDialog)
/localizedName [ 17
417265612054797065204f7074696f6e73
]
/isOpen 1
/isOn 1
/hasDialog 0
/parameterCount 1
/parameter-1 {
/key 1952539754
/showInPalette 4294967295
/type (integer)
/value 1
}
}
}
The final /value 1 is the Auto Size setting. Change it to /value 0 to turn off.
- Mark
