Jump to content

Execute, what can be done?


jokke
 Share

Recommended Posts

Heya,

Working on a project to make a client, what i want to do is make the client as light weight as possible, and not atleast i want to keep updating the client to a bare minimum.

So i got to thinking would it be possible to "transfer" code i want executed, and how complicated can i go?

$result = Execute('Msgbox(4+32,"Question","My question here....")')
ConsoleWrite("key " & $result & @CRLF)

Would it be possible to execute a function?

All input appreciated :)

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

Better solution: Write the incoming script (the update) to a new file. Run the compiled AutoIt executable containing your script with the /AutoIt3ExecuteScript and tell it to run the new script.

That will effectively create an automatic updater.

Alternatively, you can tell it to download compiled scripts. If you have any idea what you are doing, you can even make sure that everything stays in one executable, all the time.

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