Helge Posted March 15, 2004 Share Posted March 15, 2004 This is just from another post at this forum, but trids asked me to post it here at Scripts and Scraps so here ya go : When I make big scripts in AutoIt, I normally just do a FileInstall to include the source in the EXE-file.. If $CmdLine[0] = 2 AND $CmdLine[1] = "/source" AND $CmdLine[2] = "password" Then FileInstall("Source.zip", "Source.zip", 1) Exit Else EndIf And as you can see, to get my hands on the source again, I just have to write : MyProgram.exe /source password Link to comment Share on other sites More sharing options...
Valik Posted March 15, 2004 Share Posted March 15, 2004 Hmmm. I've been thinking of making a compile-time (And maybe a run-time...) interpreter which sits between scripts and AutoIt3.exe/Aut2Exe.exe which reads special comments and performs various tasks from that such as defining the icon to be used (A suped-up version of redndahead's script, basically). That looks like a good idea for an additon to the compile-time interpreter. Link to comment Share on other sites More sharing options...
mpking Posted April 30, 2004 Share Posted April 30, 2004 Could we make this one a Sticky? Possible add it to the help file? I find this immensly helpful. Link to comment Share on other sites More sharing options...
Valik Posted April 30, 2004 Share Posted April 30, 2004 It's a mute point now, there is an official decompiler so this trick isn't necessary. Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 1, 2004 Administrators Share Posted May 1, 2004 It's a mute point now, there is an official decompiler so this trick isn't necessary.The output is pretty nasty though, no doubt I'll change it so the scripts are compiled in all their whitespace glory... Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
hellsPRN Posted May 2, 2004 Share Posted May 2, 2004 were can we get the decompiler? can you please tell me? Link to comment Share on other sites More sharing options...
Nutster Posted May 3, 2004 Share Posted May 3, 2004 (edited) Looks like it has been removed from the unstable area. Let's see where did I put it? I found this version lying around. Try it and see what you think. BTW, I am not supporting this and it may have bugs that I am not going to fix. When the updated version is put in unstable (or even better yet, the release) I will removing this one. Edited May 3, 2004 by Nutster David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 3, 2004 Administrators Share Posted May 3, 2004 It's back up now (I was reorganising). Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ 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