• 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
question to MS Word 2008 scripters..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Basic casting question
  • Next by Date: Re: Basic casting question
  • Previous by thread: Re: Basic casting question
  • Next by thread: RE: question to MS Word 2008 scripters..
  • Index(es):
    • Date
    • Thread