Document Raster Effects Settings... again...
Hi All,
I know this has been asked a couple of times before, but I don't think anyone ever confirmed the correct way of querying/setting these values. I'm using the CS3 SDK on Mac OS X 10.6.2
So, as the subject states, I'm after the values in the "Document Raster Effects Settings..." dialog, located in the "Effects" menu. Specifically, the "Resolution". I believe it was suggested in the previous threads about this to look at the "outputResolution" field of the AIDocumentSetup struct. The CS3 SDK states that this field is "Not Used" and the field itself always seems to be set to 800.0 for me.
I noticed that these values were local to the document itself and that modifying them causes the documents dirty flag to be set. So I thought maybe they're stored in the document's dictionary. So I dumped out the key strings from the document's dictionary and found "AI9 Output Rasterization Resolution" which (after having to guess the data type) always seems to be 300.
I don't know where else to look. These values have to be stored somewhere as they are stored with the document. I can view them easily as part of the document object via an Applescript dictionary explorer, but I refuse to believe that Applescript has access to a value that I don't via a plugin.
If anyone can help me shed any light on this I'd really appreciate it!
-W
