• 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: Using Graphics in Microsoft Word
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Internet connect help
      • From: Dave Groover <email@hidden>
  • Prev by Date: GUI Scripting in AS Studio
  • Next by Date: Re: Scripting Terminal for simple FTP
  • Previous by thread: Using Graphics in Microsoft Word
  • Next by thread: Internet connect help
  • Index(es):
    • Date
    • Thread