Create and view a log file

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Dj Telo
Junior Coder
Posts: 24
Joined: Sun Mar 21, 2010 7:27 pm

Create and view a log file

Post by Dj Telo » Wed Sep 26, 2012 8:53 am

Hello everyone,

Last time I was coding some script and I had some problems to make it act as I wanted, so I decided I should create a log file to see what happens. The thing is I cannot do it.

I check the "log process" option and give a name to my file, but the file is not created.

It is such a noob question but, what am I doing wrong?

Thank you!

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Sep 26, 2012 10:26 am

How are you running your script?

Logging doesn't happen during debug (i.e. when running the macro from within the editor).

Also if you are running the macro externally (outside of Macro Scheduler) then you'd need to specify the log file on the command line.

Anywhere else, if run from within Macro Scheduler (e.g. from the Run button in the main window (macro list) or a schedule/hotkey/trigger) then the log file will be produced and you will then see the log file icon enabled and you can click it to quickly view the log file.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Dj Telo
Junior Coder
Posts: 24
Joined: Sun Mar 21, 2010 7:27 pm

Post by Dj Telo » Thu Sep 27, 2012 12:39 pm

Marcus Tettmar wrote:(i.e. when running the macro from within the editor).
That is exactly what I was doing. I knew it had to be a simple thing but I just could not find it by myself. Thank you!

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts