Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

txmt://open?url= links in Windows

branch: master
README.md

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.

Something went wrong with that request. Please try again.