Skip to content

dolzenko/windows_protocol_handlers

Repository files navigation

Windows Protocol Handlers

All the crazy plumbing code you need to get txmt://open?url=file:////dir/file.rb links working on Windows. Can run GVim, Notepad++, Notepad2, Notepad.

Such links are generated by different debugging related plugins like Rails Footnotes and others.

Example

Register the ruby executable to open protocol_handler.rb to handle protocol txmt, automating procedure described in http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx

> ruby register_protocol_handler.rb txmt RUBY protocol_handler.rb

THe registered protocol uses the same Ruby version used to execute the script above. You may hack protocol_handler.rb to change editor, customize paths, or add logic for other protocols.

About

txmt://open?url= links in Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages