Pages: 1
Print
Author Topic: Getting open xml file name in Xmetal through VB script  (Read 358 times)
chandan7891
Member

Posts: 23


« on: October 21, 2011, 05:10:16 AM »

Hi Dereek,

I am trying to run some external programs on the file which is opened in XMetal through Conenta. How can I get the name of the file which is opened in Xmetal.

Thanks
Chandan
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1548



WWW
« Reply #1 on: October 24, 2011, 11:58:32 AM »

The main API for this is the Documents object and related APIs.
You can also check the current document using the Document object and the specific API named ActiveDocument.

If you navigate to any of these in the Programmer's Guide (XMetaL Developer) you should be able to easily locate their associated properties and methods.
Logged
Pages: 1
Print
Jump to: