Skip to main content
4everJang
Legend
March 4, 2013
Answered

How to write stuff to the console

  • March 4, 2013
  • 2 replies
  • 1210 views

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

This topic has been closed for replies.
Correct answer Chintu_123

Jang,

You can use the function for the writing something to the FM console. It goes like this.

Console(“String”)

Vikash

2 replies

Chintu_123Correct answer
Inspiring
March 4, 2013

Jang,

You can use the function for the writing something to the FM console. It goes like this.

Console(“String”)

Vikash

4everJang
4everJangAuthor
Legend
March 4, 2013

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

frameexpert
Community Expert
Community Expert
March 4, 2013

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

www.frameexpert.com