Re: Different pictures into one document
Re: Different pictures into one document
- Subject: Re: Different pictures into one document
- From: Stan Cleveland <email@hidden>
- Date: Tue, 30 Mar 2010 16:41:04 -0700
- Thread-topic: Different pictures into one document
Title: Re: Different pictures into one document
On 3/29/10 11:39 PM, "Thierry Willemsens" wrote:
> it wasn't a problem thanks to Automator to get all the different
> formats of the photos.
> I would like to include all these different formats into one document.
> A picture says more than 1.000 words, here it is :
> http://www.willemsens.net/test_formats.jpg
>
> Each format of the picture is into a folder with the same reference as
> the original one.
> For example if the photo's name is picture1.jpg, it'll be the same in
> the black and white folder for the b/w version, into the sepia folder
> for the sepia version and so on.
>
> Now, I don't know the program but I think InDesign could be the
> solution.
> The problem is how to name the boxes where the photos'll be included,
> or maybe there is a better solution to get at the end a 300 DPI
> document.
Hi Thierry,
There are some unknowns in your request, but the code below might be enough to help you get started with InDesign.
HTH,
Stan C.
tell application "Adobe InDesign CS3"
-- make document
set docProps to {view preferences:{horizontal measurement units:millimeters ¬
, vertical measurement units:millimeters}, margin preferences:{bottom:0.0 ¬
, left:0.0, right:0.0, top:0.0}, page width:7.0, page height:5.0, facing pages:false ¬
, document bleed bottom offset:0.0, document bleed inside or left offset:0.0 ¬
, document bleed outside or right offset:0.0, document bleed top offset:0.0}
set doc1 to make document with properties docProps
tell doc1
set noColor to swatch "None"
-- make rectangle and place image
set rect1 to make rectangle at page 1 with properties {geometric bounds:¬
{4, 5, 66, 95.5}, fill color:noColor, stroke color:noColor}
tell rect1
place alias "Macintosh HD:Users:twillemsens:Desktop:large_color:picture1.jpg"
fit given fill proportionally
fit given center content
end tell
end tell
end tell
_______________________________________________
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