Jump to content

ConsoleWrite and ConsoleRead


Recommended Posts

please someone help.show me an example how simply write to console (several strings, different lines) and read from it

then show it in GUI

what i want - soomethng like online showing logs

- I want program that crack all other programs...- Let's split up, i'll search this program and you'll find crack for it. ^_^'

Link to comment
Share on other sites

I would suggest reading the help file about ConsoleWrte and ConsoleRead.

What will you be using it for ?

[font="helvetica, arial, sans-serif"]Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.[/font]Scripts:[spoiler]Simple ScreenshotSaves you alot of trouble when taking a screenshot!Don't remember what happened with this, but aperantly the exe is all i got.If you don't want to run it, simply don't._IsRun UDFIt figures out if the script has ben ran before based on the info in a ini file.If you don't want to use exactly what i wrote, you can use it as inspiration.[/spoiler]

Link to comment
Share on other sites

I would suggest reading the help file about ConsoleWrte and ConsoleRead.

What will you be using it for ?

mmmm, already

Local $var = "Test"
ConsoleWrite("var=" & $var & @CRLF)
ConsoleWriteError("some")
; Running this in a text editor which can trap console output should produce "var=Test"
Local $data = ConsoleRead()

MsgBox(0, "", "Received: " & @CRLF & @CRLF & $data)

shows empty message box, try it (some examples in help, not showing "how to use it properly")

- I want program that crack all other programs...- Let's split up, i'll search this program and you'll find crack for it. ^_^'

Link to comment
Share on other sites

Hi,

why don't you use FileRead to a normal textfile?

In your script you can use something like If $debug Then _FileWriteToLog(...)

That way you can easily define whether logging/auditing/debugging is on of off.

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Hi,

why don't you use FileRead to a normal textfile?

In your script you can use something like If $debug Then _FileWriteToLog(...)

That way you can easily define whether logging/auditing/debugging is on of off.

Mega

yep, write to file will be best choice for me, thnx

ps: founded solution of my question - link (at least i understood how to use it by their quotes)

- I want program that crack all other programs...- Let's split up, i'll search this program and you'll find crack for it. ^_^'

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