Jump to content

Recommended Posts

Posted (edited)

The title should have read Change default Autoit editor

If MsgBox(4,"AU3 Editor changer","This will change the editor used in the " & @CR & "'Open' and 'Edit' popup menus." & @CR & "Do you want to continue?") == 7 Then Exit 0

$neweditor = FileOpenDialog("Select the editor","","All (*.*)",3)

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AutoIt3Script\Shell\Edit\Command","","REG_SZ",$neweditor & " " & Chr(34) & "%1" & Chr(34) )
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AutoIt3Script\Shell\Open\Command","","REG_SZ",$neweditor & " " & Chr(34) & "%1" & Chr(34) )

This little script changes the editor thats used when you use the popup menu on a .au3 file and select Open or Edit.

NewAU3Editor.au3

Edited by Ejoc
Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs
Posted

This could be useful for people who don't prefer SciTE, good job.

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Posted

I never said it wasn't :)

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Posted

But SciTE is the Best!  :)

<{POST_SNAPBACK}>

No doubt, this from an ex Textpad user for Autoit who was a foot dragger for months before switching to SciTE and not looking back for sure.

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
  • Recently Browsing   0 members

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