• 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: Word scripting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Word scripting?


  • Subject: Re: Word scripting?
  • From: Dave Groover <email@hidden>
  • Date: Sun, 23 Mar 2003 16:59:38 -0500

To clarify my earlier post, This should work, according to the
Goodman book: do script "ViewHeader"
But, it gives an error instead.. In fact, none of the do script
commands work that I have tried.

I am using Word 98 (Classic) and running the AS script editor in X,
taking the data from Panorama in (Classic). In other words I am
running two Classic apps while in X and I am writing this in the X
version of the script editor.

Dave


>Can someone enlighten me as to how I can or should, improve my Word
>script? If someone can show me an example of one already done, so
>much the better. Here is what I have and the minimum I would like
>help with:
>
>tell application "Microsoft Word"
>make new document
>make new line at window 1 with data AddressOnClipboard
>set justification of line 5 to right
>end tell
>
>This is to write a letter from a contacts record in my DB.
>I have a block of address data that is parsed to the AS from my DB
>(Panorama). It includes the current date and a dear (first name) and
>an ending. I could also get the Word app to insert the proper date
>and header pieces but so far my Word app is not responding to the Do
>script examples as shown in the Danny Goodman book. And in the short
>run, it is easier to at least throw the data into the blank page pre
>arranged. The problem however is that after I set the date to include
>my closing, I want to move the insertion point back up to where I
>want to start the letter (the body).
>
>I am not finding how to move the insertion point, as a cursor only,
>to the point where I want to start my typing of the letter. Can
>someone suggest the correct phrase for this?
>
>Thanks.
>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.
_______________________________________________
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.

References: 
 >webstar and authorize.net? (From: Terry Wilson <email@hidden>)
 >Word scripting? (From: Dave Groover <email@hidden>)

  • Prev by Date: Word scripting?
  • Next by Date: Wanted: Well scriptable browser
  • Previous by thread: Word scripting?
  • Next by thread: Re: Word scripting?
  • Index(es):
    • Date
    • Thread