Re: Setting Data Source for Microsoft Word mail merge
Re: Setting Data Source for Microsoft Word mail merge
- Subject: Re: Setting Data Source for Microsoft Word mail merge
- From: Stan Cleveland <email@hidden>
- Date: Wed, 29 Sep 2010 14:29:22 -0700
On Sep 21, 2010, at 2:31 PM, Jim Skibbie wrote:
I’m trying to automate a mail merge in Microsoft Word (2008) via Applescript....
...a dialog box called “Edit Labels” pops up in Word. If the user does not cancel or “OK” this dialog box, the script eventually times out.
Is there a way to get around this? I’m not sure why this dialog box pops up and I cannot find any parameter in the “open data source” command to say I want to ignore this dialog.
Hi Jim,
I'm not familiar with mail merging in particular, but adding the following command to the top of your script might just do the trick. Give it a try.
tell application "Microsoft Word"
display alerts alerts none -- then the rest of your code end tell
HTH, Stan C.
|
_______________________________________________
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