Helge 3 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 Share this post Link to post Share on other sites
Valik 478 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. Share this post Link to post Share on other sites
mpking 0 Posted April 30, 2004 Could we make this one a Sticky? Possible add it to the help file? I find this immensly helpful. Share this post Link to post Share on other sites
Valik 478 Posted April 30, 2004 It's a mute point now, there is an official decompiler so this trick isn't necessary. Share this post Link to post Share on other sites
Jon 1,012 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/ Share this post Link to post Share on other sites
hellsPRN 0 Posted May 2, 2004 were can we get the decompiler? can you please tell me? Share this post Link to post Share on other sites
Nutster 3 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 ConsultingAn Aquarius born during the Age of AquariusAutoIt allows me to re-invent the wheel so much faster.I'm off to write a wizard, a wonderful wizard of odd... Share this post Link to post Share on other sites
Jon 1,012 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/ Share this post Link to post Share on other sites