Jump to content

Execute Code In String


Recommended Posts

OK, i need a little help here. What i need to do is execute a piece of autoitcode from a veriable that contains the autoitcode. The Execute() function does not work. I cant seem to get anything else to work.

any sugesstions?

Link to comment
Share on other sites

  • Moderators

OK, i need a little help here. What i need to do is execute a piece of autoitcode from a veriable that contains the autoitcode. The Execute() function does not work. I cant seem to get anything else to work.

any sugesstions?

You've been on this forum long enough to know you need to post something with a question like this, then give examples of what your trying to do. The guessing game gets a little old sometimes.

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

  • Moderators

Im sorry. I want to be able to decrypt a piece of autoitcode in the memory, then execute it without writing any temporary files.

Have you tried /AutoIt3ExecuteLine?

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

  • Moderators

well, that kinda works exept i have to execute a whole script this way...

Execute the whole script? Isn't that the point? You could always just do a FileWrite($Location, $Var) and erase previous contents with FileOpen() and FileRead() and do the AutoIt3ExecuteLine that way no?

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