Thread Subject: List open docs

Subject: List open docs

From: Anass

Date: 9 Nov, 2007 10:42:17

Message: 1 of 2

Hi,

Is there a function to find the list of opened doc words?
I tried this :
word = actxserver('word.Application');
word.Documents.Count
But it doesn't work cause i should open doc files like this :
invoke(word.Documents,'open',fileName);

Thanks
AZ

Subject: List open docs

From: Anass

Date: 9 Nov, 2007 11:36:54

Message: 2 of 2

"Anass " <anass.zaim@mathworks.com> wrote in message
<fh1di9$8oh$1@fred.mathworks.com>...
> Hi,
>
> Is there a function to find the list of opened doc words?
> I tried this :
> word = actxserver('word.Application');
> word.Documents.Count
> But it doesn't work cause i should open doc files like this :
> invoke(word.Documents,'open',fileName);
>
> Thanks
> AZ

In fact i want something like that(which lists all open
m-files) but that lists .doc/rtf files:
edhandle = com.mathworks.mlservices.MLEditorServices;
str = char(edhandle.builtinGetOpenDocumentNames);

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
undocumented Yair Altman 9 Nov, 2007 08:01:05
doc word Bobbysk Skiller 9 Nov, 2007 05:45:06
rssFeed for this Thread

Contact us at files@mathworks.com