• 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
Re:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:


  • Subject: Re:
  • From: Robert Poland <email@hidden>
  • Date: Wed, 11 Jul 2012 09:24:42 -0600

\\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


Many thanks,
\\J





Robert Poland - Fort Collins, CO



 _______________________________________________
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

References: 
 >[no subject] (From: email@hidden)

  • Prev by Date: [no subject]
  • Next by Date: class parent page
  • Previous by thread: [no subject]
  • Next by thread: Re:
  • Index(es):
    • Date
    • Thread