Exit Posted February 21, 2013 Share Posted February 21, 2013 I like to edit my *.cmd files in SciTE.Is it possible to enable F5 to run the current file in command processor ?Should save current file and then call Start <current_edit_file> App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Developers Jos Posted February 21, 2013 Developers Share Posted February 21, 2013 Edit Others.properties and at the bottom change it to this: if PLAT_WIN command.go.*.cmd=$(FileNameExt) command.go.*.bat=$(FileNameExt) Exit 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Exit Posted February 21, 2013 Author Share Posted February 21, 2013 Edit Others.properties and at the bottom change it to this: if PLAT_WIN command.go.*.cmd=$(FileNameExt) command.go.*.bat=$(FileNameExt) Jos, you are the king. But I changed it a little bit to create an additional command window. if PLAT_WIN command.go.*.cmd=Start $(FileNameExt) command.go.*.bat=Start $(FileNameExt) App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Developers Jos Posted February 21, 2013 Developers Share Posted February 21, 2013 Was just giving you a pointer where you could find it Exit 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Exit Posted February 22, 2013 Author Share Posted February 22, 2013 And how to add an entry in the explorer file menu right click. For *.AU3 files, there are entries "Edit script","Compile script","Tidy", ..... I would like to have an entry "Edit with SciTE" for *.cmd and *.bat files. I think it would be a registry entry like this one for folder menu CMD open Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd] @="Open CMD prompt" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd\command] @="CMD.EXE /S /K pushd \"%1\"" App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Developers Jos Posted February 22, 2013 Developers Share Posted February 22, 2013 This stuff is defined in the following registry keys: Which points to: Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Exit Posted February 22, 2013 Author Share Posted February 22, 2013 (edited) @Jos Thanks. Works perfect. Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\cmdfile\shell\EditSciTE] @="Edit with SciTE" [HKEY_CLASSES_ROOT\cmdfile\shell\EditSciTE\command] @="\"G:\\Program Files (x86)\\AutoIt3\\SciTE\\SciTE.exe\" \"%1\"" [HKEY_CLASSES_ROOT\batfile\shell\EditSciTE] @="Edit with SciTE" [HKEY_CLASSES_ROOT\batfile\shell\EditSciTE\command] @="\"G:\\Program Files (x86)\\AutoIt3\\SciTE\\SciTE.exe\" \"%1\"" Edited February 22, 2013 by Exit App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
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