Re: MS word scripting (Stan Cleveland)
Re: MS word scripting (Stan Cleveland)
- Subject: Re: MS word scripting (Stan Cleveland)
- From: Thomas Maffucci <email@hidden>
- Date: Tue, 21 Jul 2009 11:06:34 -0400
- Thread-topic: MS word scripting (Stan Cleveland)
On 7/20/09 4:06 PM, "Stan Cleveland" wrote:
>This might get you going. Try targeting the document with a 'tell' >statement
>and including an 'at end' location parameter:
>tell document 1 -- or perhaps tell myDoc
>make new inline picture at end with properties {file name:"Macintosh
>HD:Users: Thomas:Desktop:Home pics:" & oldaddr, link to file:true, save with
>document:true}
>end tell
>A non-inline picture should work the same way, too.
Thanks Stan,
Your solution worked fine after I cleaned up some document referencing
problems and suffix omissions. But unfortunately I forgot to mention one
addition complexity the graphic PDF files all consist of two pages and I
want both pages in Word. The GUI asks for each page on the insert but
apparently applescript just takes the first page.
_______________________________________________
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