Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 888

Bizzare problem while handling open documents.

$
0
0

Hi.

 

I am facing a bizarre problem when I retrieve the open documents with the following code:

 

for (F_ObjHandleT docId = F_ApiGetId(FV_SessionId, FV_SessionId, FP_FirstOpenDoc); docId; docId = F_ApiGetId(FV_SessionId, docId, FP_NextOpenDocInSession))
{    StringT documentFilePath = F_ApiGetString(FV_SessionId, docId, FP_Name);    ....
}

 

If I paste from e.g. Microsoft Word any formatted text and paste it to a new document in FrameMaker when I try to get all open documents I get not only my new document but also a temporary document with filepath: C:\Users\Me\AppData\Local\Temp\FRS375F.fm.

 

This file contains the same information that I have pasted in my new document and also does not exit physically.

 

Can somebody please tell me why is this happening?


Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>