• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
class parent page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 work
tell application "Adobe InDesign CS4"
tell document 1
set myPageItems to every page item whose id of «class PaPa» is greater than 1




Manythanks,
\\\\J








_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re:
  • Next by Date: Re:
  • Previous by thread: Re:
  • Next by thread: POSIX Puzzle
  • Index(es):
    • Date
    • Thread