• 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: PowerPoint applescript for shape type free form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PowerPoint applescript for shape type free form


  • Subject: Re: PowerPoint applescript for shape type free form
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 16 May 2008 00:02:54 -0700
  • Thread-topic: PowerPoint applescript for shape type free form

Title: Re: PowerPoint applescript for shape type free form
On 5/15/08 8:39 PM, "Tracy Lakin" <email@hidden> wrote:

Hi All,

I’m needing to get objects, in particular the curve  / freeform / scribble lines, into and out of PowerPoint (2004 or 2008). I can get any “shape type free form” objects on a slide, but I can’t find where the point data is stored.

Line Shapes have a beginning and end x,y pair. What do the free form shape types use?

Is there a relation between free form type shapes and line shapes that I’m not seeing? That is, do free form shape types have line shapes in them? I don’t find any.

Thanks for any help,
Tracy


'line shape' is a proper class a specific subclass of 'shape' -  with many properties including those 'begin line X', 'begin line Y' properties you mention. There are a few other subclasses of shape (e.g. connector, picture, place holder, etc.) which have their own specialized properties. 'shape' itself (so all varieties of 'shape') have 'left position', 'top', 'width' and 'height' properties. Also 'rotation'. Are those not enough to get what you need? Check them out - they can be set as well as got. 'shape type free form' etc. is just one of the enumerated values for 'shape type' property of shape. It's not a class - it has no properties. You can't do anything with it as such.

The big - very big - news is that in the brand new 12.1.0 upgrade of PowerPoint (and other MS Office apps) that was released yesterday, you can now get 'selection' with 'shape range' and 'slide range' properties (classes in their own right). If 'left position', 'top', 'width' and 'height' of shape still doesn't get you what you're looking for, see if the same properties of 'shape range of selection' helps.

--
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: 
 >PowerPoint applescript for shape type free form (From: Tracy Lakin <email@hidden>)

  • Prev by Date: Re: Re1: Mail scripting : How to select… continuation...
  • Next by Date: Re: Shell script runs this osascript but errors how to stop the error?
  • Previous by thread: PowerPoint applescript for shape type free form
  • Next by thread: Re: PowerPoint applescript for shape type free form
  • Index(es):
    • Date
    • Thread