MCT Posted August 31, 2004 Posted August 31, 2004 just thought i would post this inf & maybe it would come in handy for someone..if u rightclick a *.au3 file (autoit 3 script file) this adds a context menu entry executing the file autoit3.exe Note: change the path (inf default path = %programfiles%\AutoIT)%16422% = %programfiles% if anyone wasnt sure what it means.. rest is straight forward Autoit.inf[VERSION]Signature=$CHICAGO$[DefaultInstall]AddReg = autoit3[DefaultUninstall]DelReg = autoit3_Delete[autoit3]HKCR,".au3\shell\Open With AutoIT3\command",,,"%16422%\AutoIt\Autoit3.exe %1"HKCR,".au3\shell\Compile AutoIT Script\command",,,"%16422%\AutoIT\Aut2Exe\Aut2exe.exe /in "%1" /out "%1".exe"[autoit3_Delete]HKCR,".au3"you can execute this via cmdline by placing the following command:Installrundll32 setupapi,InstallHinfSection DefaultInstall 128 .\Autoit.infUninstallrundll32 setupapi,InstallHinfSection DefaultUnInstall 128 .\Autoit.infthe above code works if your batch file is in the same directory as the .inf fileOnly Bug: when u compile the script.. the name of the script turns out to be <name>.au3.exe Workaround: Rename it if u wish.. its still fully funtional tho
MHz Posted August 31, 2004 Posted August 31, 2004 Cool,If you add a zip version of Autoit3, then this would be helpful.Thanks
MCT Posted August 31, 2004 Author Posted August 31, 2004 add a zip version? why u can download it from there site i install it using INNO Setup & have this executed during setup
MHz Posted August 31, 2004 Posted August 31, 2004 You can get the zip or installer. The zip would not have context execute?I,ve only used the installer.
MCT Posted August 31, 2004 Author Posted August 31, 2004 huh :confused:neither have a context menu execute entry.. thats why i made this Update: Added "Compile AutoIT Script" to inf file
MHz Posted August 31, 2004 Posted August 31, 2004 Oh, I also use Scite modified for Autoit. That must add context in for me. Did not notice that fact.Can get Scite for Autoit from Autoit forum, if you like. It is fabulous.
MHz Posted August 31, 2004 Posted August 31, 2004 @MCTJust install Autoit v3.102 into VPC.It has complie, edit and run script in context.Maybe you have an earlier version.
MCT Posted August 31, 2004 Author Posted August 31, 2004 ya, i may have.. its been probly 6 months since i updated it
MCT Posted August 31, 2004 Author Posted August 31, 2004 ive got it downloaded thanks no 1 has ever said anything about an update.. i never thought 2 check
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