Sign in to follow this  
Followers 0
n9mfk9

controlsend ?

7 posts in this topic

how wood i send this line [Yu\^eC:}"2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5 of text

using controlsend

with this code i get a error

$text= "[Yu\^eC:}"2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5"

ControlSend("Untitled", "", "Edit1", $text,1)

thanks for any help

Share this post


Link to post
Share on other sites



how wood i send this line [Yu\^eC:}"2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5 of text

using controlsend

with this code i get a error

$text= "[Yu\^eC:}"2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5"

ControlSend("Untitled", "", "Edit1", $text,1)

thanks for any help

easiest way to do it would be to replace your quotes with Char(34) then surround the rest w/ double quotes.. like:

$text= "[Yu\^eC:}" & Char(34) & "2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5"

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

$text= "[Yu\^eC:}""2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5"
ControlSend("Untitled", "", "Edit1", $text,1)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

how wood i send this line [Yu\^eC:}"2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5 of text

using controlsend

with this code i get a error

$text= "[Yu\^eC:}"2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5"

ControlSend("Untitled", "", "Edit1", $text,1)

thanks for any help

Try

$text= "[Yu\^eC:}""2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5"
ControlSend("Untitled", "", "Edit1", $text,1)

What you have to do is double up the " in the string you want to send.

Edit

Oops to slow again.

Edited by BigDod


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

$text= "[Yu\^eC:}""2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5"
ControlSend("Untitled", "", "Edit1", $text,1)
well yes, i guess the "right" way is always an option too... :P

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

is there a way i could do the code to that if text =[Yu\^eC:}"2=?;wCJzZ'%N'w?_YU9+x{h:=e.pOLj?5/b'b$g{>vgq&[_E79|^5 the code wood add the "so it would be correct thanks beau

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

If you're directly coding that string into your script then the answer is no. If you are using the script to reading it from another location, then you don't need to worry about it at all.

Edit: What I mean is that if you create a new file containing only the text, you could then do this:

Local $CodeFile = 'TheCode.txt'
$Code = FileRead($CodeFile, FileGetSize($CodeFile))
ControlSend('', '', 'Edit1', $Code, 1)

where it is assumed that TheCode.txt contains the text.

Edited by LxP

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