Sign in to follow this  
Followers 0
au3scr

Autoit open action

10 posts in this topic

hi

When i do double click on au3 file , it runs script, how i can change it to Edit script when i do double click?


Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Why? It's Better The Way It Is :) Reinstall AutoIt, And Change The Option In The Installer.

Edited by Swift

Share this post


Link to post
Share on other sites

But I am doing unattended instalation.

there must be registery key


Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

But I am doing unattended instalation.

there must be registery key

Go find out... :)

Go look under HKEY_CURRENT_USER\Software\AutoIt3\

I'll look too...just to make you happy :)

Actually...I dont see a key with this kind of info...Not even: .au3...so..wait till a Devolper comes:)

Edited by Swift

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

cant find it there :)

Actually...I dont see a key with this kind of info...Not even: .au3...so..wait till a Devolper comes:)

ok

Edited by au3scr

Share this post


Link to post
Share on other sites

On my computer, HKCR\AutoIt3Script\Shell

Change the value of (Default) from "Run" to "Edit"

Generally, you can change file associations by looking for the extension under HKCR. The (default) value under the extension will be a string that you now need to find under HKCR (in this case, the (default) value of HKCR\.au3 was "AutoIt3Script").

Now once you find that string under HKCR, go down to shell. The (default) value under shell is the action it will take when double-click a file of that extension. The sub-keys under Shell are the different options available (their default values are the options that will actually be shown in the context menu of the file of that extension). Each of those options has a Command sub-key under than, whose (default) value is the actual command that will be called when that option is selected.

FYI, I DID try this on my machine before I posted this, and it works perfectly.


"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110

Share this post


Link to post
Share on other sites

You can also change it in SciTe. Look under Tools/SciTe Config.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

thank you

Edit :

hey, i cant find HKCR

Edited by au3scr

Share this post


Link to post
Share on other sites

thank you

Edit :

hey, i cant find HKCR

HKCR is an abbreviation for HKEY_CLASSES_ROOT.

Can you not find HKEY_CLASSES_ROOT?


"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110

Share this post


Link to post
Share on other sites

thank you

Edit :

hey, i cant find HKCR

If you do not know what that is you should stay away from the registry


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
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
Sign in to follow this  
Followers 0