Log

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command is a Flow Command. This command writes a message to a log file. '''Log:''' The message that is being logged. The log file for the log command ...")

Revision as of 16:23, 15 February 2015

This command is a Flow Command. This command writes a message to a log file.

Log: The message that is being logged.

The log file for the log command is located in your roaming folder found here: C:\Users\YOUR WINDOWS USERNAME HERE\AppData\Roaming\UBot Studio

The log folder can be located at: C:\Users\YOUR WINDOWS USERNAME HERE\AppData\Roaming\UBot Studio\Log

Dated log .txt log files are created to log each script:

Logfiles.jpg


Example

set(#page were on,$scrape attribute(<id="hplogo">,"alt"),"Global")
log(#page were on)

Running the script will scrape the required element, which indicates the webpage the browser is on. Once the element is scraped, it is inserted into the log command through a variable and logged in the log file.


File:Log.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox