Jump to content

Recommended Posts

Posted

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()                             

Posted

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. :thumbsup:

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()                             

Posted

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()                             

Posted (edited)

@Jos Thanks. Works perfect. :thumbsup:

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 by Exit

App: Au3toCmd              UDF: _SingleScript()                             

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...