How to get the file path of a converted file

Get help using and writing Nisus Writer Pro macros.
Post Reply
Nobumi Iyanaga
Posts: 158
Joined: 2007-01-17 05:46:17
Location: Tokyo, Japan
Contact:

How to get the file path of a converted file

Post by Nobumi Iyanaga »

Hello,

How would it be possible to get the file path of a file (for example a Classic Nisus Writer file, or a .doc file) which is "temporarily" open as "xxx (converted)".

In fact, I already asked this question to the Nisus mailing list, and I was answered that there is no command for that, and there is no temporary file created for the converted document (so all is done in RAM).

In that case, I think this is impossible for now; but there may be situations in which such an information is needed (for example, I want to save the content of a converted file as a Unicode text file). So this is rather a feature request now.

Thank you very much in advance.
Best regards,

Nobumi Iyanaga
Tokyo,
Japan
Nobumi Iyanaga
Posts: 158
Joined: 2007-01-17 05:46:17
Location: Tokyo, Japan
Contact:

Re: How to get the file path of a converted file

Post by Nobumi Iyanaga »

Hello Martin,

I had not received any reply to this request, but I discovered that in the new 2.0.1 public beta 1, the feature is already implemented:

* Added: macros: added Document object property convertedFilePath.

Thank you very much! You are really very smart!
Best regards,

Nobumi Iyanaga
Tokyo,
Japan
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: How to get the file path of a converted file

Post by martin »

You're too kind Nobumi. This enhancement was quite easy to add- about as quick as filing it away in our database for later, so we just added it! Glad you found it.
Post Reply