Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Effective ppi

Return to Member Forum

  • Author
    Posts
    • #63080
      lowjackson
      Member

      Hi

      I'm creating a script to check if I have any lo-res images in my document, using effective ppi (Yes I know about preflight) and just pop up a message. However I'm stuck on checking the results the following is returning…

      tell application “Adobe InDesign CS6”
      activate
      tell document 1
      set minimumRes to 100
      set theEffectiveRes to {}
      set theLink to every link
      repeat with x from 1 to count of theLink
      set the end of theEffectiveRes to effective ppi of parent of link x
      end repeat

      — Here I need to check theEffectiveRes for any entires below minimumRes and display a message

      end tell
      end tell

      log theEffectiveRes

      – – – –

      many thanks

      Shane

    • #63126

      can't help with the assembly of the script but know something similar already exists by scripter Dmitri Lapayev:

      https://www.adobe.com/cfusion/e…..d=95752833

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
Forum Ads