Re: Using Graphics in Microsoft Word
Re: Using Graphics in Microsoft Word
- Subject: Re: Using Graphics in Microsoft Word
- From: David Wignall <email@hidden>
- Date: Fri, 04 Apr 2003 21:31:28 +1200
on 4/4/2003 4:53 AM, Frank W. Walker at email@hidden wrote:
>
I'm trying to write a script which will insert a graphic in a Word doc.
>
The problem is I don't have a clue what commands to use to insert a graphic
>
and size it etc.(I consulted Word's dictionary without success). Is my goal is
>
attainable?
It seems that you would have to do it via VBA. Something like
do Visual Basic "ActiveDocument.Shapes.AddPicture FileName := \"whatever\" "
would work. Check the VBA help for AddPicture. For resizing, have a look at
the Height and Width properties or the ScaleHeight and ScaleWidth methods of
the Shape object
--
Dave
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.