question to MS Word 2008 scripters..
question to MS Word 2008 scripters..
- Subject: question to MS Word 2008 scripters..
- From: Pinus <email@hidden>
- Date: Mon, 2 Mar 2009 11:37:20 +0100
Hi everyone,
I'm quite happy with what I've been able to do with AppleScript to
automate Word documents (with tables ...etc...)
2 things more have to be done before I can jump to Excel automation :
- Put a picture (logo) in the doc : this seems to be no problem since
I can place it where I want, pixel by pixel
- Put a "text box" right after my last inserted paragraph ..
The last one is not as simple as I was supposing : the AS command
(suggested by the MS doc) is :
"set myTBox to make new text box at currDoc with properties ¬
{text orientation:horizontal, left position:100, top:100, width:
300, ¬
height:200}"
but before doing this, I need to know the top position of the last
paragraph I've inserted, since I need to place this text box right
after this last paragraph.
Unfortunately, I've spent my sunday afternoon looking for a solution
without success. So know I'm asking if there is at least a way to know
the top position of the last inserted paragraph so I can use it to
place my text box ? Maybe there is no solution at all ?
Thanks for your help..
Stephane _______________________________________________
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