Jump to content

stdoutread


 Share

Recommended Posts

Local $n_USER
$n_USER = Run('net user', @SystemDir, @SW_HQKBÌÍÐ×ÔPQHÛÛÛÛTXY

BÙÐÞ
    ][ÝÝ]I][ÝË  ÌÍÐ×ÔB

ok i do this and i come up with the result in scite

but how do i get the specific line of the result that i want , the accounts

also i tryed StdinWrite() but again i dont know how to get it

Link to comment
Share on other sites

ok i do this and i come up with the result in scite

but how do i get the specific line of the result that i want , the accounts

also i tryed StdinWrite() but again i dont know how to get it

You want StdOutRead(), not ConsoleRead():

$n_USER = Run('net user', @SystemDir, @SW_HIDE, 2)
$C_READ = ""
Do
    If StdoutRead($n_USER, 0, 1) Then $C_READ &= StdoutRead($n_USER)
Until Not ProcessExists($n_USER)

MsgBox(0, "title", $C_READ)

:rolleyes:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

I'll leave it to you to work out the "If StringInStr" lines:

Local $n_USER, $Out
$n_USER = Run('net user', @SysteQÕ×ÒQKBÚ[HB ÌÍÓÝ]   [ÏHÝÝ]XY
    ÌÍÛÕTÑTBbW'&÷"FVâWDÆö÷¥tVæ@ ¤×6t&÷ÂgV÷Cµ5DDõUB&VC¢gV÷C²Âb33c´÷Ф((ÀÌØí=ÕÑÉÉäôMÑÉ¥¹MÁ±¥Ð ÀÌØí=Õа
H¤()½ÈÀÌØí¤ôÄQ¼ÀÌØíutArray[0]
    MsgBox(0, "", $OutArray[$i])
Next

[size="1"][font="Arial"].[u].[/u][/font][/size]

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