this-is-me Posted July 26, 2004 Share Posted July 26, 2004 For a while, I have been a bit annoyed with the fact that you cannot set up compiler options in the actual script, so that every time the script is compiled, it gets the same options. Therefore, I made a "buffer" for aut2exe to allow me to add the options I wanted to the actual script instead of changing the options at compile time. You can get it http://www.autoitscript.com/fileman/users/public/this-is-me/Au32Exe%20Enhancement/setup.exe.Features:Set individual options for output file, icon and password in the script itselfRun any au3 scripting needed before compilingRun any au3 scripting needed after compilingAn example of this is:run au3check and tidy before compilingcompileautoupload to an ftp site when done compilingThe script parameters are easily understood from the included example script, which happens to be the setup script, which happens to be compiled with Au32Exe Enhancement Who else would I be? Link to comment Share on other sites More sharing options...
this-is-me Posted July 26, 2004 Author Share Posted July 26, 2004 If anyone has already tried it, the previous version had a problem with tidy. The new version uploaded has the corrections. You will need to look at the updated example for the new info. Who else would I be? Link to comment Share on other sites More sharing options...
this-is-me Posted July 26, 2004 Author Share Posted July 26, 2004 C'mon... Has anyone had success, failure, tries, anything? Has anyone even tried to see if it works for them? I would at least like to know if it works. Who else would I be? Link to comment Share on other sites More sharing options...
Holger Posted July 26, 2004 Share Posted July 26, 2004 yeah, I have installed it so far...no problems with german XPSP1 Ok ok, maybe I can play a little bit tomorrow (I think only on wednesday it will be possible).... Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
this-is-me Posted July 26, 2004 Author Share Posted July 26, 2004 Thanks. At least I know it works so far... I am working on some small bugs I see, so don't try to compile two scripts at the same time if the scripts have beforecompile and/or aftercompile statements until after the next update. @Jon, Valik, anyone who can, if you read this thread, I would like to see this functionality integrated into Autoit. It shouldn't be hard to add a couple of lines to aut2exe to allow the compiler to recognise the new lines. Who else would I be? Link to comment Share on other sites More sharing options...
Valik Posted July 26, 2004 Share Posted July 26, 2004 What exactly does it do? I can't install it, you've apparently hard-coded a path in which is not the same on my system. From your description, I gather that it wraps Aut2Exe and scans the file for a few certain keywords in order to specify the icon and such in the file? If that's the case, I've had a script that does that for months, and it's completely transparent to me that it's used... Link to comment Share on other sites More sharing options...
this-is-me Posted July 26, 2004 Author Share Posted July 26, 2004 (edited) Is it giving any errors? What happens when you try to install it? Does it ask you if what is the last thing it does? Yes, it is a wrapper for aut2exe that scans for a few keywords and compiles the script with the right parameters. It works through the right-click on the file. It replaces the normal compile menuitem. When you compile the file with rightclick, it changes the output stuff accordingly. If you just try to run the Au32Exe, it exits without message in the original version. You need to compile with right click or drag the script to the exe. The latest setup includes a messagebox explaining the above if the user simply double-clicks the exe. Also, if you try to use the compile shortcut in the startmenu, it will go directly to the regular aut2exe, instead of au32exe. I was requesting that this functionality be included in autoit, instead of creating specialized scripts like mine to work around it. Edited July 26, 2004 by this-is-me Who else would I be? Link to comment Share on other sites More sharing options...
Valik Posted July 26, 2004 Share Posted July 26, 2004 (edited) It looked like you embedded the path to the compiler. I'm assuming you export the actual script you wrote and have it compiled on the user's machine? The error I got was from Run not being able run the compiler.Edit: Fixed typo. Edited July 26, 2004 by Valik Link to comment Share on other sites More sharing options...
this-is-me Posted July 26, 2004 Author Share Posted July 26, 2004 (edited) The path to the compiler is read from HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Compile\Command by the setup program. Au32Exe looks to find the compiler in the same directory it is placed in. You can decompile setup.exe with password "whatever" to see what is done there, and Au32Exe once installed is in source form and compiled. If you have a better way to find the path of the compiler, I am all ears... Edited July 26, 2004 by this-is-me Who else would I be? 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