That works a treat! And thanks for the link to that wonderfully clear site.
I have to confess I've never heard of Image Events before, but I think it
could be useful in lots of ways. Eventually I'll work towards a script which
saves out a thumbnail and places that, but in the meantime your script will
help a lot.

Cheers Tim, I owe you a drink!


On 22/9/09 23:15, "Tim Mansour" <[email protected]> wrote:

> 2009/9/22 Emma Glaisher <[email protected]>:
>> Yes, on a Mac and I'm happy with scripting. What approach do you suggest?
> 
> To add an image to the container field "Image", and save its path into
> "ImagePath":
> 
> set imfile to choose file of type {"public.image"}
> set cell "Image" of current record of current layout to imfile
> set cell "ImagePath" of current record of current layout to imfile as text
> 
> That will place the original image into the container. If you want to
> insert a thumbnail instead, one way to generate it is to use Image
> Events. There's a good run-down of this at:
> 
> http://www.macosxautomation.com/applescript/imageevents/
> 
> Feel free to contact me directly if you need more help.

-----------------------------------------------------------------------------------------------------------------------------------------
Fourninety Limited, a member company of the Media Square plc group. Registered 
in England No. 3737606. Registered address Clarence Mill, Clarence Road, 
Bollington, Cheshire. SK10 5JZ

Confidentiality Notice: The information in this document and any attachments 
are confidential. It is intended only for the use of the named recipient. If 
you are not the intended recipient please notify us immediately and delete this 
document. The contents on this document must not be disclosed to any other 
person nor may any copies be taken. The views of the author may not represent 
the views of the Company.

Security Warning: This e-mail has been created in the knowledge that Internet 
e-mail is not a 100% secure communications medium. All liability for any claims 
arising as a result of using this medium to transmit information by us or to us 
is excluded to the extent permitted by law.
-----------------------------------------------------------------------------------------------------------------------------------------

Reply via email to