Jump to content

Recommended Posts

Posted

Objective: able to click on ConsoleWrite() output in console to jump to where in the script it was called from?

basically I want to achieve the same thing as when an error or warning occurs and click double on error would point out where the error is. see screenshot. 

Is it possible? @ScriptLineNumber & Ctrl+G is already great debugging, just wondering the feature above also adopted without an error or warning

 

au3_double_click_error_to_jump_to_script_line.png

Posted (edited)

The answer is in this post where you can read it more compreensively.

The quick answer is do a consolewrite with this format:

"input filename"(line,column): your text

An actual example is this:

ConsoleWrite(@ScriptFullPath&'('&3&','&1&'): This is line 3, first char'&@CRLF)
ConsoleWrite('' &@CRLF)
ConsoleWrite('' &@CRLF)
ConsoleWrite('' &@CRLF)
ConsoleWrite('' &@CRLF)
ConsoleWrite('' &@CRLF)
ConsoleWrite('' &@CRLF)
ConsoleWrite('' &@CRLF)

 

Edited by careca
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...