Jump to content

Question about the console in SciTE


Guest
 Share

Recommended Posts

Is there a way to disable all this stuff:

">Screenshot_1.thumb.png.30637ac2756fdfc10

 

I don't need to see this info every time I use the console..

I want to disable this so when I print something to the console, I will see only the data that I printed (In this case "524328")

 It would be much more convenient. :)

 

Thanks for helpers. :)

Screenshot_1.thumb.png.30637ac2756fdfc10

Edited by Guest
Link to comment
Share on other sites

  • Developers

Seriously... bad design choice... please don't use AutoIt3Wrapper any more and build your own wrapper that suits your needs.

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

Link to comment
Share on other sites

Seriously... bad design choice... please don't use AutoIt3Wrapper any more and build your own wrapper that suits your needs.

Jos

​AutoIt3Wrapper  is a great addition. I don't want to remove it. I just want to disable this info..

 

Where in the scite settings have you actually looked?

​In ScTE Config.

Maybe it's in Tools Selection tab?

Link to comment
Share on other sites

  • Developers

Try rereading your initial post but now from my point of view and see if you come to the same conclusion.
Mine is simple: but won't write it down here as it would be way to blunt.
Moving on..

Jos

 

Edited by 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.
  :)

Link to comment
Share on other sites

Try rereading your initial post but now from my point of view and see if you come to the same conclusion.
My is simple: but won't write it down here as it would be way to blunt.
Moving on..

Jos

 

I'm sorry
But I do not understand what the problem is ..
If someone had told me that I did something with some "bad design choice" so I would not get hit (I do not know what the right word in English). I would take that as constructive criticism.

In any case, I do not mean to hurt you. You have developed an excellent addition :)


I made some cosmetic changes to the first post.

Edited by Guest
Link to comment
Share on other sites

Don't really understand your issue with the console output, and don't know how or if it can be omitted.

I'm also not sure whether is an alternative.

Thanks
This is something new?
It looks really good ..
I checked it a bit but unfortunately I found some problems with it.
It does not work properly if the the path contains non English letters and I found other problems.

There is no serious issue with how it is now.
It is only uncomfortable to see unnecessary information that I already know. It make it harder to read the info that I really want.

 

Cosmetic  ,,, yea right :)

With another cosmetic change in the opposite direction :muttley:
I am kidding .. do not take it seriously
I'm just practicing the language of smilies

 

I don't need to see this info every time I use the console..:ranting:

bad design choice :naughty:

I want to disable this so when I print something to the console, I will see only the data that I printed (In this case "524328")-_-

 It would be much more convenient !!

Link to comment
Share on other sites

You can send a command to SciTE to have it clear the output console when you run your script.

 

#include <WindowsConstants.au3>
#include <SendMessage.au3>
Global Const $IDM_CLEAROUTPUT = 420
For $I = 1 to 100
    ConsoleWrite($I & @crlf)
Next
sleep(2000)

SendSciTE_Command(0, WinGetHandle("DirectorExtension"), "menucommand:0" & $IDM_CLEAROUTPUT)
Func SendSciTE_Command($My_Hwnd, $Scite_Dir_hwnd, $sCmd)
    Sleep(100)
    Local $CmdStruct = DllStructCreate('Char[' & StringLen($sCmd) + 1 & ']')
    DllStructSetData($CmdStruct, 1, $sCmd)
    Local $COPYDATA = DllStructCreate('Ptr;DWord;Ptr')
    DllStructSetData($COPYDATA, 1, 1)
    DllStructSetData($COPYDATA, 2, StringLen($sCmd) + 1)
    DllStructSetData($COPYDATA, 3, DllStructGetPtr($CmdStruct))
    DllCall('User32.dll', 'None', 'SendMessage', 'HWnd', $Scite_Dir_hwnd, 'Int', $WM_COPYDATA, 'HWnd', $My_Hwnd, _
            'Ptr', DllStructGetPtr($COPYDATA))
EndFunc   ;==>SendSciTE_Command

I believe the function SendScite_Command was originally written by guinness, but I'm not 100% sure on that one.

Edited by BrewManNH

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!

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

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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