spudw2k Posted March 12, 2008 Posted March 12, 2008 What is the nature of the "one thing" you want to recompile for each machine? Can't you make a dynamic function instead? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
daslick Posted March 12, 2008 Author Posted March 12, 2008 I want the end user to be able to edit the same exe with the variable $name changed, so they can plug their name into the my program, without external regs, ini, etc. The fileinstall of au3toexe would be a good alternate solution... but I'll keep looking.
SkinnyWhiteGuy Posted March 12, 2008 Posted March 12, 2008 I want the end user to be able to edit the same exe with the variable $name changed, so they can plug their name into the my program, without external regs, ini, etc. The fileinstall of au3toexe would be a good alternate solution... but I'll keep looking.Try looking here. Using the info in the link provided, you can give your users a way to "recompile" the script with their name. The technique above is basically doing the same as others said with reg/ini's, but instead of storing that info in another variable, these are stored in the header section of the program.Now, if you want the user to be able to modify this type of info from the program to contain it, you'll have to do some tricks to emulate that behavior. If you want some help with that, I'd be glad to work you up an example later (I'm currently away from my main box with my tools on it, and it'll be the weekend before I'm back at it).I'm sure someone else here can help you figure out how to use it, however, so I hope this helps you in your programming.
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