Copy link to clipboard
Copied
Hello all,
I know I have seen the method for writing some message to the FM console somewhere, but searching the Scripting Guide for the word 'console' does not take me to that info. Can anyone tell me which command to use or where it is described ?
Thanks in advance for answering a probably stupid question (10 easy points to gain I guess)
Jang
Jang,
You can use the function for the writing something to the FM console. It goes like this.
Console(“String”)
Vikash
Copy link to clipboard
Copied
Hi Jang,
I don't know the answer offhand, but you can write to the JavaScript Console using
$.writeln("Message to JavaScript Console");
This is useful for debugging. If I can find the command to write to the Console, I will post it. Thanks.
Rick
Copy link to clipboard
Copied
Jang,
You can use the function for the writing something to the FM console. It goes like this.
Console(“String”)
Vikash
Copy link to clipboard
Copied
Thanks, Vikash.
I thought it was simple, and it turns out to be. The only remaining question is 'Why was this not described anywhere in the scripting guides?'
Kind regards
Jang