开发者

How do I register a protocol to work with my program?

开发者 https://www.devze.com 2023-01-06 18:02 出处:网络
I\'d like my program to be summoned when a browser tries to open a page with the protocol \"tf2emp://xxxxx\".

I'd like my program to be summoned when a browser tries to open a page with the protocol "tf2emp://xxxxx". The program will then have to download content based on the 5 digit number given in said protocol. My program is written in python, and I'm us开发者_高级运维ing wx for the gui.


This page from Mozilla should help you register protocols for Mozilla Firefox on WIndows and Linux. Similar info exists for other browsers/platforms, Google is your friend. :)


Have a peek at Microsoft's page on the subject:

http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号