Sign in to follow this  
Followers 0
HardHackz

! {enter} Error!

4 posts in this topic

Hello, I am just having fun and maybe making a script to get a PC's info. Anyways, here is what I have:

Run("notepad.exe")
Sleep("1000")
WinActivate("Untitled - Notepad")
Send("Hello, ")
Send(@UserName)
Send("{enter}enjoy your ride of Computer Info Madness!{enter}")
Send(@ComputerName)
Send(" is the name of the current computer!")

It doesn't go down a line at the "!{enter}" i tried putting a space in between it...that made the yellow highlighting stop on the exclamation point but I still had the error. With a period it works just fine.

Thanks,

HardHackz


[center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

i think you need to use escape char, i think this is autoits escape char

\
Edited by jokke

UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.

Share this post


Link to post
Share on other sites

Run("notepad.exe")
Sleep("1000")
WinActivate("Untitled - Notepad")
Send("Hello, ")
Send(@UserName)
Send("{enter}enjoy your ride of Computer Info Madness{!}{enter}")
Send(@ComputerName)
Send(" is the name of the current computer{!}")


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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