Protocaller: Create FreeCommander url protocols

Discussion and questions - donor version.
Post Reply
Message
Author
User avatar
BGM
Posts: 594
Joined: 14.10.2008, 23:42
Location: Kansas City, Missouri, USA
Contact:

Protocaller: Create FreeCommander url protocols

#1 Post by BGM » 16.02.2012, 02:40

Salvete!
Ever wanted to open a directory in FC from a hyperlink? Well, I wrote a program called Protocaller which will let you create url protocols that will work for any application. There are some programs that will use url protocols by default, such as MS Word, TreeDBnotes, and html pages (or even hta applications, if you want to make your own launcher).

Some examples of url protocols are "http://", "callto:", and "mailto:".
Some programs have their own - ToDoList has "tdl:"

My Protocaller application lets you make up yoour own, and attach it to any application.
So, in place of your "http://" url, you use your own custom one. I like "run:", but you can use anything. The default is "protocaller:"

Code: Select all

run:fc:"/L=C:\FreeCommanderXE\lng"
There are two parts to this. The "run:" is the real url protocol. Then you specify your "protocol-key" (my terminology), which can also be anything you like.
So, I put "fc:" to tell the protocaller.exe program to launch FreeCommander. I have another one called "np2:" to launch Notepad2.

Finally, the third part is simply the commandline parameter that you want to pass to your application. If I want to open the folder containing FreeCommander's language files, I use

Code: Select all

"/L=C:\FreeCommanderXE\lng"
for the rest of my custom url protocol.

My application comes with a help file, which you should read in its entirety. I have only ever used and tested it on XP Pro 32bit, however. Here is the link (it is free, but you use it at your own risk):
http://www.sspxusa.org/goodies/#protocaller
(Windows 10-1909 Professional 64bit)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 44 guests