Jump to content

[SOLVED] SciTe - Console info after BUILD (F7)


Go to solution Solved by BrewManNH,

Recommended Posts

Posted (edited)

I just guessing

Why after BUILD script in SciTE, console is not focusing on last message displayed in console

Now I must manually scroll down console output to see results (Exit code)

post-10673-0-30926700-1364974695_thumb.j

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

I see this "issue" (I think it's by design) and I'm using the beta versions of SciTE and AutoItWrapper. I'm sure Jos will pop on by to explain further.

adnanbaloch, hit F7 in SciTE with this code and you will see what mlipok is clearly referring to.

#include <Constants.au3>

MsgBox($MB_SYSTEMMODAL, '', 'Example')

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

  • Solution
Posted

In your SciteUser.properties file add this line and save the file, you may have to restart Scite to get it to take effect.

output.scroll = 2

  Quote

If you want the output pane to scroll and remain at the bottom after execution, set output.scroll to 2.

From the Scite documentation.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

  Reveal hidden contents

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

  • Developers
Posted

  On 4/3/2013 at 12:39 PM, 'guinness said:

I see this "issue" (I think it's by design) and I'm using the beta versions of SciTE and AutoItWrapper. I'm sure Jos will pop on by to explain further.

I see the answer is given as too how to solve it, but the reason for me to have it jump back is that fact that when au3check shows many errors, I wanted it to start at the top. :)

You can change it as indicated by adding that line to SciTEUser.properties, but don't put spaces around the =.

This setting actually doesn't matter any more since the inline error support, since AutoIt3Wrapper will now jump to the first error/warning in case they are there.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

BrewManNH:

It acts. Due to for link. Reading very interesting.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

Jos:

In My example there was not any errors returned by au3check

  Quote

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "L:TOOLsMacro____PROGRAM_MANAGERPROGRAM_MANAGER.au3"

+>21:01:35 Starting AutoIt3Wrapper v.2.1.0.33 Environment(Language:0415 Keyboard:00000415 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64)

>Running Tidy (2.2.2.0) from:C:Program Files (x86)AutoIt3SciTEtidy

+>21:01:36 Tidy ended.rc:0

>Running AU3Check (1.54.22.0) from:C:Program Files (x86)AutoIt3

+>21:01:37 AU3Check ended.rc:0

>Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\Aut2Exe\aut2exe.exe /in "L:TOOLsMacro____PROGRAM_MANAGERPROGRAM_MANAGER.au3" /out "L:TOOLsMacro____PROGRAM_MANAGERPROGRAM_MANAGER.exe" /nopack /icon "..WORK--ICONSWork_black.ico" /comp 0

+>21:01:43 Aut2exe.exe ended.rc:0

>21:01:43 Performing the Program Resource Update steps:

...>Updating Program Version information.

+>21:01:44 Program Resource updating finished successfully.rc:0

+>21:01:44 Created program:L:TOOLsMacro____PROGRAM_MANAGERPROGRAM_MANAGER.exe

>Exit code: 0 Time: 9.609

According to Your post:

  Quote

This setting actually doesn't matter any more since the inline error support, since AutoIt3Wrapper will now jump to the first error/warning in case they are there.

Yes, I agree.

But when there is no error then , I think that is better to see succesfull result at the bottom of console.

And because that I ask for that in this topic.

Thanks to you all , now I see what I want :)

Thanks again.

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Developers
Posted

  On 4/3/2013 at 7:36 PM, 'mlipok said:

But when there is no error then , I think that is better to see succesfull result at the bottom of console.

Understood what you wanted and only gave you the reason why I have configured it the way I did at the time years ago.

I would have no issue changing the default to stay at the end in case no errors are displayed if that is what most people would want.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Thanks again

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

  On 4/3/2013 at 7:47 PM, 'Jos said:

I would have no issue changing the default to stay at the end in case no errors are displayed if that is what most people would want.

I personally have no issue with how it's currently implemented. But if the changes require little to no effort then I would embrace the change.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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...