Is window.location="skp:" a protocol?
-
So I was looking at my File Types setting in XP and noticed these URL handler types.

So might it be possible to add a SKP: protocol handler for firefox?Not that I have a use at the moment, just wondering.
-
It look seem like a protocol. I have wondered how SU and the webcontrol handles this.
Maybe there are something explained in the documentation for the webcontrol.@jim said:
So might it be possible to add a SKP: protocol handler for firefox?
should be, yes - like Skype does to trigger calls.
-
@thomthom said:
It look seem like a protocol. I have wondered how SU and the webcontrol handles this.
I think it is specifically called a "Ghost Protocol". I'll see if I can find the MSDN page that I read (months ago on the topic.)
-
Links of Interest
- MSDN: [Asynchronous Pluggable Protocols](http://msdn.microsoft.com/en-us/library/aa767743(v)
-
So I found this mozilla article. I was trying to register the protocol in Firefox, but that only works for non-windows. I used the example .reg file from the article - replacing "foo" with "skp" and Firefox then asked me what program to use to open the skp: protocol. I selected TDB's sub.exe to handle the protocol.
And after that, entering the
javascript:window.location="skp:hi"in the address bar did indeed run sub.exe, but sub.exe is looking for a file named skp:hi.I wonder if making sub.exe accept stdin would be better, and if it's possible.
So maybe with a little more trickery it's possible to have (at least one way) comms from Firefox to Sketchup.
Still not sure if this is going anywhere - I just find it interesting.
-
Yup ... but really the better course would be duplex pipes.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement