Sign in to follow this  
Followers 0
JLogan3o13

Compiling Script w/ Options

1 post in this topic

This is very basic, and I'm always open to suggestions for improvement. I find myself compiling a lot, with different icons for the different customers I serve. This script allows me to choose from different directories, as well as different icon files.

$script = FileOpenDialog( "Select script to compile", "C:\Scripts", "All (*.*)", 4 )
$exe = InputBox( "Executable name", "What would you like the executable to be named?" )
$icon = FileOpenDialog( "Select an icon", "C:\Documents and Settings\%USERNAME%\My Documents", "Icons (*.ico)", 4 )
RunWait( '"C:\Program Files\AutoIt3\Aut2Exe\Aut2exe.exe" /in "' & $script & '" /out "C:\Documents and Settings\%USERNAME%\Desktop\' & $exe & '.exe" /icon "' & $icon & '" /comp 4', "", @SW_HIDE )

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0