Jump to content

Recommended Posts

Posted

I have seen another post with the exact same problem. However, the solution (to amend the way the script is called) isn't a goer for me, as I have no control over the way the file is executed. The external application I am using allows me to enter the script into the application, then specify a file extension. The application downloads the script to the desktop temporarily, and uses ShellExecute to process it. It works with VBScript saved as a vbs file, but not AutoIT Scripts saved as au3.

Any ideas ?

Thanks in advance

Jovan

Posted

Hi.

So "Edit" is the default action defined for *.AU3 files.

Have a look at:

Explorer, Extra, Options, File Types -> AU3 -> extended -> default action.

Registry: HKCR\Autoit3Script\Shell, Standard Value.

regards, rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Posted

Hi.

So "Edit" is the default action defined for *.AU3 files.

Have a look at:

Explorer, Extra, Options, File Types -> AU3 -> extended -> default action.

Registry: HKCR\Autoit3Script\Shell, Standard Value.

regards, rudi.

Wish it was that simple. The default is run, and if I create an au3 script on my desktop, and double-click it, it runs fine, it's just when the external application tries to run it that it drops into SciTE to edit it.

regards Jovan

Posted (edited)

You cannot run .au3 script if AutoIt is not installed (or have at least one AutoIt program).

VBS is a different story.

But, let's say you have... then that other application is using "wrong" werb to shellexecute it.

Edited by trancexx

♡♡♡

.

eMyvnE

Posted (edited)

sounds like he has the default action with .Au3 files to run rather then edit. Making him think the .exe is the .au3 and hes pointing the external app to the .au3 file rather then .exe

Answer could be the F7 button, Makes a .exe

Edit. Spelling ^_^

Edited by lordicast
[Cheeky]Comment[/Cheeky]

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
×
×
  • Create New...