Multi Commander > Script

Where is the scripts log file located?

(1/3) > >>

trittico:
I'm trying to write my first script and to get started I'm just using this:

@var $arr = GetSelectedFileNames();
LogDumpArray($arr);


However I can't find the the log file.
I've checked the log directory (C:\Users\****\AppData\Roaming\MultiCommander\Logs\) and there's nothing there pertaining to my script. There are other, older logs in there.
It's also possible that the script is not running at all. To test that, I tried the above script using a misspelled function name in order to cause an error, and nothing happens. I'm tried running the script from the the quick launch bar and through a hot key. So maybe it isn't running?

Thanks

trittico:
OK. I added a messagebox call and the script is definitely executing.

Jungle:
There's MultiScript debugger under the Help menu

Mathias (Author):
Ctrl+L open the LogWindow of the App. I think LogDumpArray() will output to the Application Log tab there

But use the MultiScript Debugger under the help menu when you writing script. it helps a lot. it is very basic. but you see variables and you step the script row by row

trittico:
Thanks! Ctrl-L was the trick

I had actually tried the debugger before but that didn't help me because the output was going to the log, which I couldn't see.

Anyway, thanks all.

Navigation

[0] Message Index

[#] Next page

Go to full version