temassacro Posted October 8, 2005 Share Posted October 8, 2005 I would like to execute autoit scripts from another script. The problem is that i want to compile the script to an executable and i don't want to include autoit. Is that possible? I think that the executable includes already autoit. I want somethinkg like this: FileInstall("anoterscript.au3","script.au3") ExecuteScript("script.au3") Thanks Link to comment Share on other sites More sharing options...
w0uter Posted October 9, 2005 Share Posted October 9, 2005 AFAIK this is not yet possible. i remember valik saying something about making a compiled exe an interperter. but i could be wrong. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
LxP Posted October 9, 2005 Share Posted October 9, 2005 w0uter is correct about the future plans but this probably won't happen straight away. Your options at present are to extract a copy of AutoIt with your script or to extract a compiled version of the script. Link to comment Share on other sites More sharing options...
Valuater Posted October 9, 2005 Share Posted October 9, 2005 it is possible to FileInstall() a compiled script (now an exe ) into you new script and run it from there 8) Link to comment Share on other sites More sharing options...
temassacro Posted October 9, 2005 Author Share Posted October 9, 2005 it is possible to FileInstall() a compiled script (now an exe ) into you new script and run it from there8)Yes but it would increase the size of the executable without any need. Link to comment Share on other sites More sharing options...
Confuzzled Posted October 9, 2005 Share Posted October 9, 2005 Yes but it would increase the size of the executable without any need. Why don't you just add your extra portion to the original script and call it as a function? That way it will be bundled with the original and you will only have one compiled 'runtime' overhead. Just an idea... Link to comment Share on other sites More sharing options...
w0uter Posted October 9, 2005 Share Posted October 9, 2005 i always run the script with a parameter. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
temassacro Posted October 9, 2005 Author Share Posted October 9, 2005 Why don't you just add your extra portion to the original script and call it as a function? That way it will be bundled with the original and you will only have one compiled 'runtime' overhead. Just an idea...Because in the reality the program download the other script from a server and execute it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now