class parent page
class parent page
- Subject: class parent page
- From: email@hidden
- Date: Wed, 11 Jul 2012 17:39:05 +0200
Hi Robert,
I think your answer is off topic, the problem is that the 'class parent page' does not exist in CS4, I am looking for the alternative syntax compatible with indesign CS4.
Notice
«class PaPa» is not recognized by CS4 indesign
set myPageItems to every page item whose id of «
class PaPa»
is greater than 1
but many thanks for your reply,
John
\\\\J,
You might try the following to get the app name.
try set applicationName to (info for (path to frontmost application
))'s short name on error tell application "System Events"
to set applicationName to short name of (
first process whose frontmost is
true)
end try
On Jul 11, 2012, at 8:59 AM,
email@hidden wrote:
hi all,
Does anyone knows the correct syntax for this code in ID CS4?
--- works
tell application "Adobe InDesign CS5.5"
tell document 1
set myPageItems to every page item whose id of parent page is greater than 1
--- does not worktell application "Adobe InDesign CS4"
tell document 1
set myPageItems to every page item whose id of «
class PaPa»
is greater than 1