IDCS6 file path of item link of graphic 1

Hi-

I am updating an applescript from IDCS4 to IDCS6.
This works. However, I need to reference a page item named “base”. How do I change the below script to reference the page item “base”?

tell application “Adobe InDesign CS6”
tell document 1
set filePath to file path of item link of graphic 1 of selection
end tell
end tell

hi

something like this for an item whose label is “base”

tell application "Adobe InDesign CS6"
	tell document 1
		set PageItem to page items whose label is "base"
	end tell
end tell

Thanks Budgie-

This is what I ended up doing:

Applescript:

tell application “Adobe InDesign CS6”
tell document 1
set pageItem to (page items whose label is “base”)
set filePath to file path of item link of graphic 1 of item 1 of pageItem
end tell
end tell