Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Word macro from batch process
Topic Summary: How to run a Word macro from a batch process
Created On: 19-May-2008 09:39
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 19-May-2008 09:39
User is offline View Users Profile Print this message


francesco triggiani

Posts: 3
Joined: 9-Oct-2007

I have a dxl script that performs a madule Word export, by using a customized Word template.
That template already contains a macro, that I run by hand after the word export.
I'm pretty sure that it's possible to run the macro either from inside the script itself or from a batch process, but I don't know how to do that.
Could anybody please tell me how to do?

Currently I use that script for both interactive running (for the export of the current module) and batch running (for the export of a set of modules).
I've been using DOORS 7.1 with Windows.

Thanks in advance,
Franco
Report this to a Moderator Report this to a Moderator
 19-May-2008 12:31
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Yup, it is possible.

Something like this should help get you started.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 20-May-2008 14:02
User is offline View Users Profile Print this message


francesco triggiani

Posts: 3
Joined: 9-Oct-2007

Thanks, Scott!
It works perfectly.

Best regards,
Franco
Report this to a Moderator Report this to a Moderator
 15-Jan-2009 17:07
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

If there are two MS-Word windows running, oleCreateAutoObject ("Word.Application") seems to get a handle on the first one. Anyway to get a handle on the MS-Word application that's displaying a particular Word file, e.g. the one showing "MyDxlOutput.txt" and ignore the one showing "MyTimeCard.doc">

- Louie
Report this to a Moderator Report this to a Moderator
 15-Jan-2009 17:21
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Look here:

and here:

Edited: 15-Jan-2009 at 17:38 by ron lewis
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.