Jump to content

! {enter} Error!


 Share

Recommended Posts

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]

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

  • Moderators

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{!}")

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.

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