Jump to content
Sign in to follow this  
spyrorocks

Execute Code In String

Recommended Posts

spyrorocks

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?

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
SmOke_N

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.

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  

×