Sign in to follow this  
Followers 0
Guest xinliq

help!

2 posts in this topic

#1 ·  Posted (edited)

I want to input the following passage, how to do?

-------- FlashFXP Registration Data START --------

UnderPl Ownz

N/A

gesvo@infinity.net.pl

00000001

10-12-2002

1BfxccoSJqWRANDOM STUFFsJC05hSllOUyQJnD

muuVRS9oUZvhRANDOM STUFFDZ3Q=gWaA6lkYZBQ1qV

3QP1Ct7tzWO+5F3RANDOM STUFFKpn74I9=2FOuZ3yaOb

-------- FlashFXP Registration Data END --------

Edited by Jon

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hmm..... I have a feeling this thread might be removed.....

; One Way

; Remove the first and last lines if you don't want them

$t = "-------- FlashFXP Registration Data START --------"

$t = $t & @CRLF & "UnderPl Ownz"

$t = $t & @CRLF & "N/A"

; you fill in the rest

$t = $t & @CRLF & "3QP1Ct7RANDOM STUFFCKpn74I9=2FOuZ3yaOb"

$t = $t & @CRLF & "-------- FlashFXP Registration Data END --------"

; code to make sure proper window is active goes here

Send($t, 1)

Exit

; A second way

Dim $a[10]

$a[0] = "-------- FlashFXP Registration Data START --------"

$a[1] = "UnderPl Ownz"

; you fill in the rest

$a[9] = "-------- FlashFXP Registration Data END --------"

For $i = 0 to 9

Send($a[$i] & @CRLF)

Next

; A Third way

; Save the text to a file such as passage.txt

$file = FileOpen("passage.txt", 0)

If $file = -1 Then

MsgBox(0, "Error", "Unable to open file.")

Exit

EndIf

$line = ""

While 1 ; Read in lines of text until the EOF is reached

$line = FileReadLine($file) & @CRLF

If @error = -1 Then

ExitLoop

EndIf

Wend

FileClose($file)

; ...

Send($line)

; You may need to strip the very last @CRLF in the second and third ways

Edited by Jon

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
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
Sign in to follow this  
Followers 0