local display setting of InDesign

Hey All,

Has anybody had any success with setting the local display setting of items in InDesign via AS?

It seems to do the script ok, but the display of the page items doesn’t actaully change.

Let me know,

Jase


tell application "Adobe InDesign CS2"
		try
		tell selection
			set local display setting to high quality
			set CurrentSetting to local display setting --as Unicode text
		end tell
	on error
		display dialog "Please select something!!!"
	end try
end tell

Hi Jase

Managed to get this to work for me.
I used one of the sample files you get with Indesign CS2 “Newsletter.indd” is what it was called in the indesign folder in applications
when i opened the document i changed it all to “Fast display” for testing.
then basicly went for the images in my script and this worked. you will after jig about with it to get it to
work on other documents i guess.

tell application "Adobe InDesign CS2"
	tell document 1
		tell page 1
			set thecount to count rectangles
			repeat with i from 1 to thecount
				try
					tell rectangle i
						tell image 1
							--get id
							set local display setting to typical --change typical to  default (to get it back to fast again)
						end tell
					end tell
				end try
			end repeat
		end tell
	end tell
end tell

this also works well if you use the direct select tool and select the image not the box that the image is in

tell application “InDesign 2.0.2”
set local display setting of selection to typical
end tell