Coder Social home page Coder Social logo

Comments (5)

saucepleez avatar saucepleez commented on May 11, 2024

@msshubin

How would you expect this to work? Some variables are only set while a task is running, such as using 'Set Variable' command. I think we could pull a variable if it exists and has a value in the 'Variables' screen but that is not the only scenario.

Otherwise we would probably have to run the script 1 time to actually have it do the replacement. I think that might be a better way -- create a setting that indicates whether the automation engine should replace comments with variable text after running...

from taskt.

msshubin avatar msshubin commented on May 11, 2024

Sorry, i inaccurately expressed. When we start script many times and it handles with different values of variables, i like to know then in logs what values pass the script... That is why i'll try to save it to Add Comment. Can you advice me how and where i can save exact values from each start of script?

from taskt.

saucepleez avatar saucepleez commented on May 11, 2024

Ok, I understand. We can add a setting when the engine starts to process Comments at run-time so it will log the actual value of the variables within comments and write to log files. We could also add a new command to enable logging from the script.

In the meantime, you could use Text File Commands > Write to File and specify the text to be written as something like:

[DateTime.Now] - Desktop Path Variable: [Folder.Desktop]

from taskt.

saucepleez avatar saucepleez commented on May 11, 2024

Comment Commands will process variables during execution now and you can now use Data Commands > Log Data to log specifically to the engine instance or a custom log file.

from taskt.

msshubin avatar msshubin commented on May 11, 2024

Big thanks. You are best ) Works perfect!

from taskt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.