Word scripting?
Word scripting?
- Subject: Word scripting?
- From: Dave Groover <email@hidden>
- Date: Sun, 23 Mar 2003 16:29:39 -0500
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.