Console Pod/Panel Text

Adobe Community Professional ,
Jan 07, 2021

Copy link to clipboard

Copied

In earlier versions of FrameMaker, the contents of the Console window was written to this file in the FrameMaker User folder: consfile.txt. But with versions 2019 and 2020, this file doesn't have messages that I specifically write to the Console using ExtendScript. Any help would be appreciated.

Views

77

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Enthusiast ,
Jan 08, 2021

Copy link to clipboard

Copied

Hi Rick,

in this post we've discusse about console. https://community.adobe.com/t5/framemaker/extendscript-adding-a-newline-to-console-messages/m-p/1119...

 

Another problem is or was, that if you only write a number, this number isn't displayed in some cases. I've filed a bug some years ago, but this bug report is vanished.

To avoid this problem just write any letter before.

 

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Jan 08, 2021

Copy link to clipboard

Copied

Hi Klaus, Thank you for the reply. I am seeing the messages written to the Console, but apparently all of the content isn't saved in Consfile.txt. It would be useful if anything that appears in the Console could be retrieved from a file later on.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Jan 08, 2021

Copy link to clipboard

Copied

Hi Rick,

 

I have seen the same or similar issues with the console pod and the console file (consfile.txt):

 

1) I always assumed that whatever goes to the console pod will also appear in the console file. That doesn't seem to be the case. It looks like anything that is written with F_Printf, F_Err, F_Warning, F_ApiPrint goes to both the pod and the file but any XML parsing errors, XSLT messages and F_ApiSetString(0, 0, FP_FMConsoleString, sMessage) go only to the pod but not the file. It would be nice if all messages go to both the console and the fil.

 

2) It also seems tha there is a limit to the number of characters that are written to the console pod. It looks like that after a certain number of characters are written to the console pod, more characters are not added unless the pod is cleared.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Jan 08, 2021

Copy link to clipboard

Copied

Thanks Tassos. That is what I am seeing as well. This is a big oversight and seems like it would be straightforward for Adobe to correct.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Enthusiast ,
Jan 27, 2021

Copy link to clipboard

Copied

Hi Rick,

some days have past....

Today I discovered a new app.property (new to me?), that may help you:

app.FMConsoleString

This contains all the text in the console.

I hope this can help you.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
frameexpert AUTHOR LATEST
Adobe Community Professional ,
Jan 27, 2021

Copy link to clipboard

Copied

Hi Klaus, Fantastic, thank you! Let me play with it and see if it is helpful for my project. -Rick

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more