RPM_VR4 Posted June 30, 2005 Posted June 30, 2005 I got AutoIt3X installed in Delphi. I already know how to do most of its functions using the Windows API though. I was hoping I could use the ActiveX to run the .AU3 files. Is this possible? Example: A user of my Delphi program could specify (in an INI) a seperate .AU3 script for different actions inside the program. I was hoping my Delphi code would look like this: AutoIt3X.RunScript('c:\myscript.au3');
SvenP Posted June 30, 2005 Posted June 30, 2005 I got AutoIt3X installed in Delphi. I already know how to do most of its functions using the Windows API though. I was hoping I could use the ActiveX to run the .AU3 files. Is this possible?Example: A user of my Delphi program could specify (in an INI) a seperate .AU3 script for different actions inside the program.I was hoping my Delphi code would look like this:AutoIt3X.RunScript('c:\myscript.au3');<{POST_SNAPBACK}>Hello RPM_VR4,The AutoItX control uses only a subset of the commands available in AutoIt3.exe. So you can't use the control to run .AU3 scripts.Instead you could let Delphi call the Autoit3.exe program to run a script. You can return values from the script to the Delphi program by using the AutoIt3 exit(<number>) statement. That's however limited to integer values. Regards,-Sven
RPM_VR4 Posted July 3, 2005 Author Posted July 3, 2005 If I did that, could I distribute the AutoIt3 executible with my Freeware application?
MSLx Fanboy Posted July 3, 2005 Posted July 3, 2005 Reproduction and Distribution. You may reproduce and distribute anunlimited number of copies of the SOFTWARE PRODUCT; provided thateach copy shall be a true and complete copy, including all copyrightand trademark notices, and shall be accompanied by a copy of thisEULA. Copies of the SOFTWARE PRODUCT may be distributed as astandalone product or included with your own product.Commercial Use. You may sell for profit and freely distribute scriptsand/or compiled scripts that were created with the SOFTWARE PRODUCT.You may not reverse engineer or disassemble the SOFTWARE PRODUCT. Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate())
The_Mega_ZZTer Posted July 3, 2005 Posted July 3, 2005 If I did that, could I distribute the AutoIt3 executible with my Freeware application?<{POST_SNAPBACK}>You can use AUT2EXE to compile your script into an EXE and just distribute that.
RPM_VR4 Posted July 8, 2005 Author Posted July 8, 2005 You can use AUT2EXE to compile your script into an EXE and just distribute that.<{POST_SNAPBACK}>But I want users of my embedder/skining application to be able to create their own AutoIt startup / button press scripts.
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