• 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
Re: AS + MS Word 2008 and vertical alignment in table cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS + MS Word 2008 and vertical alignment in table cells


  • Subject: Re: AS + MS Word 2008 and vertical alignment in table cells
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 27 Feb 2009 11:03:06 -0800
  • Thread-topic: AS + MS Word 2008 and vertical alignment in table cells

On 2/27/09 10:45 AM, "Thomas Maffucci" <email@hidden> wrote:

> I couldn't script the row height change however, I had to do this manually.
> If anyone knows how to do this please share.


In your script you were attempting to set (change) the height of a single
cell. That's not possible, manually or otherwise. (It's possible that you
can still do this by script though: when you set the height of the cell, it
may change the height of the whole row. The fact that the dictionary claims
you can set the height of a cell may mean this will work. If not, try
setting the height of the whole row first.)

But the main problem is this:

    --set Hcell to "0.50" & " \""
    --set height of mCell11 to Hcell

You apparently had tried setting the height to a string (and for some reason
added a backslash to the string as well).

The dictionary tells you that the class of height property is 'small real'.
That's a number. Try this:

    set Hcell to .5
    set height of mCell11 to Hcell

Does that work? If not, try setting the height of the row of mCell11.  But
I'm guessing it will work without that.

--
Paul Berkowitz


 _______________________________________________
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

References: 
 >Re: AS + MS Word 2008 and vertical alignment in table cells (From: Thomas Maffucci <email@hidden>)

  • Prev by Date: Re: AS + MS Word 2008 and vertical alignment in table cells
  • Next by Date: Re: AS + MS Word 2008 and vertical alignment in table cells
  • Previous by thread: Re: AS + MS Word 2008 and vertical alignment in table cells
  • Next by thread: Re: AS + MS Word 2008 and vertical alignment in table cells
  • Index(es):
    • Date
    • Thread