Jovan Posted April 23, 2009 Posted April 23, 2009 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
rudi Posted April 23, 2009 Posted April 23, 2009 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!
Jovan Posted April 23, 2009 Author Posted April 23, 2009 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
trancexx Posted April 24, 2009 Posted April 24, 2009 (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 April 24, 2009 by trancexx ♡♡♡ . eMyvnE
FinalVersion Posted April 24, 2009 Posted April 24, 2009 Just compile it then run it. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center]
lordicast Posted April 24, 2009 Posted April 24, 2009 (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 April 24, 2009 by lordicast [Cheeky]Comment[/Cheeky]
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