Jump to content

AutoIt3ExecuteScript doesn't work


Recommended Posts

Hey there,

I just discovered that you can't use the flag /AutoIt3ExecuteScript on compiled autoit executables to run non compiled code.

At first I tested using the cmd, but there were no results. Than I wrote it into a script, but still nothing.

#AutoIt3Wrapper_UseUpx=n
$PathToScript = @DesktopDir&"\test.au3"
Run('"'&@AutoItExe&'" /AutoIt3ExecuteScript "'&$PathToScript&'"')

The script definitely exists and just opens a MsgBox.

When running the code not compiled from Scite it works fine. But when compiling the exe and running it, nothing happens. I tried .au3 and .a3x ...

So using a compiled Autoit exe as interpreter seems not to work anymore. Can someone confirm this? Would take the sense out of a3x I think ..

My OS is Windows 10 x64 with all current updates. OS Language is German.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...