• 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: Adobe InDesign CS3 JPEG export range problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adobe InDesign CS3 JPEG export range problem


  • Subject: Re: Adobe InDesign CS3 JPEG export range problem
  • From: Martin Michel <email@hidden>
  • Date: Thu, 22 Apr 2010 21:23:03 +0200

Hi Bert,

The following code works for me:

set exportfolderpath to (path to desktop) as text
tell application "Adobe InDesign CS3"
activate
set inddoc to object reference of document 1
end tell

my export2jpgs(inddoc, exportfolderpath)

on export2jpgs(inddoc, exportfolderpath)
tell application "Adobe InDesign CS3"


set jpegprefs to JPEG export preferences
tell jpegprefs
set resolution to 72
set JPEG Quality to maximum
set JPEG export range to export range
set JPEG Rendering style to baseline encoding
end tell


set pagenum to 1
repeat with inddocpage in object reference of every page of inddoc
set Page String of jpegprefs to (pagenum as text)
export inddoc format JPG to (exportfolderpath & pagenum & ".jpg")
set pagenum to pagenum + 1
end repeat
end tell
end export2jpgs

Best regards,

Martin

Am 22.04.2010 um 16:55 schrieb Bert Groeneveld:

Hello, I'm trying to export every page of a given InDesign CS3 document to separate jpg's.
Something seems to go wrong with specifying the export range (variable numb). I tried some other values instead of 1-1, but none of my attempts worked out so far.
Can anyone please help me through this?
 _______________________________________________
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

  • Follow-Ups:
    • Re: Adobe InDesign CS3 JPEG export range problem
      • From: Bert Groeneveld <email@hidden>
References: 
 >Adobe InDesign CS3 JPEG export range problem (From: Bert Groeneveld <email@hidden>)

  • Prev by Date: RE: Adobe InDesign CS3 JPEG export range problem
  • Next by Date: Re: Adobe InDesign CS3 JPEG export range problem
  • Previous by thread: Adobe InDesign CS3 JPEG export range problem
  • Next by thread: Re: Adobe InDesign CS3 JPEG export range problem
  • Index(es):
    • Date
    • Thread