kramed Posted March 22, 2008 Posted March 22, 2008 Hello, Great piece of software you have here, very impressive. Anyways I would like to know if it is possible to execute regular .au3 scripts via the AutoItX .dll ? I need to automate several simple tasks in many different ways (each requiring a seperate script) on machines that will not have AutoIt. I know it is possible to use compiled scripts but was hoping that I could include the support to run the script in my program. What are my other options if this is not possible? Compiling each script? Reading through the license it appears that distributing the Autoit3.exe is legal as long as the help chm is included. Am I clear on that issue? Thanks, Mark
Richard Robertson Posted March 23, 2008 Posted March 23, 2008 No. If you want to execute scripts though, you can compile a single blank script and distribute that, then use the command line to execute a script from it. I forget the syntax, but it's in the help file.
JustinReno Posted March 23, 2008 Posted March 23, 2008 I'm not sure if this is correct... $ScriptPath = @ScriptDir & "\Hello.au3") Run(@AutoItEXE & " " & $ScriptPath)
Moderators SmOke_N Posted March 23, 2008 Moderators Posted March 23, 2008 (edited) I'm not sure if this is correct... $ScriptPath = @ScriptDir & "\Hello.au3") Run(@AutoItEXE & " " & $ScriptPath)It's not. Edit: look for /AutoIt3ExecuteScript Edited March 23, 2008 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Moderators SmOke_N Posted March 23, 2008 Moderators Posted March 23, 2008 It still works for me though... Because you have autoit installed on that machine Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Richard Robertson Posted March 24, 2008 Posted March 24, 2008 Yes, a compiled script won't be able to run a script that way, it'll need the extra parameter.
Melloware Posted April 18, 2008 Posted April 18, 2008 This tip works great. I now advise my Intelliremote users who need more functionality than AutoITX can provide to just execute the full scripts this way. Very cool! ----------------------------------------------------------------------------------------Melloware Inchttp://www.melloware.comHome of Intelliremote, take back control of your HTPC!www.intelliremote.com-----------------------------------------------------------------------------------------
GHOSTSKIKDA Posted May 1, 2008 Posted May 1, 2008 OOOOOOOOOOOOOOOOOOh! [center]I LOVE ALGERIA .... ;-)[/center]
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