argumentum Posted January 25 Share Posted January 25 (edited) "It is possible to take your .au3 script and compile it into a standalone executable" , ok, @Compiled = .exe !. Nope. "@Compiled" should have been named "@Tokenized" but then again, what is a token and where is the game I put the token in ? Linguistics, right ?. In any case what is useful to know is: is it an .exe or not. Hence this ( I guess somewhat silly ) posting of a function for that. ( I wake up to this now that I'm starting to look at distributing .a3x instead of .exe ) MsgBox(262144, @ScriptName, "IsSelfExecutable() = " & IsSelfExecutable() & ' - Tokenized: ' & @extended, 10) Func IsSelfExecutable() Return SetError(0, @Compiled, Int(@AutoItExe = @ScriptFullPath)) EndFunc Edited January 25 by argumentum better code OJBakker 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. 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