Thread View: adobe.scripting.indesign
1 messages
1 total messages
Started by Ren�_M�lsted
Fri, 03 Apr 2009 11:33
[JS] Change inline graphics object style
Author: Ren�_M�lsted
Date: Fri, 03 Apr 2009 11:33
Date: Fri, 03 Apr 2009 11:33
25 lines
1325 bytes
1325 bytes
Hi all,
I'm trying to change the object style of inline graphics.
This doesn't seem to work ....
###### CODE BEGIN ######
app.findObjectPreferences = NothingEnum.nothing;
app.changeObjectPreferences = NothingEnum.nothing;
app.findChangeObjectOptions.properties =
{
objectType: ObjectTypes.graphicFramesType,
includeFootnotes: false,
includeHiddenLayers: false,
includeLockedLayersForFind: false,
includeLockedStoriesForFind: false,
includeMasterPages:false
};
app.findObjectPreferences.appliedObjectStyles = "HeaderStyle";
app.changeObjectPreferences.appliedObjectStyles = "NewHeaderStyle";
app.activeDocument.changeObject();
####### CODE END #######
--
Rene
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads