| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Mar 08, 2003 4:36 pm Post subject: URL Protocol |
|
|
Does anyone know if possible/how to create a URL Protocol in which I
can pass a parameter to my program through a URL? For example,
mail:Inbox?
I got the idea from using a mail client (FirstClass) where I work in which
it uses fcp:application_parameter.
I looked in the registry and did a search and came up with a key in
HKEY_CLASSES_ROOT but I don't want to test it without knowing what I'm
doing.
Any info is appreciated.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Sat Mar 08, 2003 4:42 pm Post subject: |
|
|
Multimedia Builder has a feature for this.
By adding this in a webpage:
| Code: | | <a href="script:Script1">Run Script1</a> |
it will run a script named Script1 in the program.
Maybe it's possible using an extension? _________________
 |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Sat Mar 08, 2003 4:56 pm Post subject: |
|
|
That looks interesting  _________________
 |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Sat Mar 08, 2003 5:03 pm Post subject: |
|
|
| I don't remember who made 'URL-Run', but maybe you can ask him? |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Mar 08, 2003 5:07 pm Post subject: |
|
|
This is the structure as it is described in MSDN:
| Quote: | [HKEY_CLASSES_ROOT]
[note]
(Default) = "URL:Note Protocol"
URL Protocol = ""
[DefaultIcon]
(Default) = "notepad.exe"
[shell]
[open]
[command]
(Default) = "c:\windows\notepad.exe %1" |
And I'm not sure what it's like. I have no idea. I've tried things like:
REGISTRY WRITE,ROOT,note, but then I don't know what the rest is.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Mar 08, 2003 5:16 pm Post subject: |
|
|
Here is what I'm reading from your post FF, translated to VDS:
| Code: |
registry write,ROOT,note,,URL:NOTE PROTOCOL
registry write,ROOT,note,URL PROTOCOL,""
registry write,ROOT,note\DefaultIcon,,"Notepad.exe"
registry write,ROOT,note\shell\open\command\,,"C:\Windows\Notepad.exe %1"
|
You should be able @regread() the same values as well.
MSDN may also be using "note" as a place holder for the actual extension
for the note document. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it."
Last edited by ShinobiSoft on Sat Mar 08, 2003 5:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Mar 08, 2003 5:17 pm Post subject: |
|
|
Ahh... Thanks.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Mar 08, 2003 5:18 pm Post subject: |
|
|
And to remove those do I just use the REGISTRY DELETE command with
the same parameters you gave? _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Mar 08, 2003 5:21 pm Post subject: |
|
|
Yes, or you can just registry delete the "ROOT,note" which will also remove
all subkeys benieth it.
| Code: |
registry delete,ROOT,note
|
_________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sat Mar 08, 2003 6:08 pm Post subject: |
|
|
Thanks.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Mar 08, 2003 6:43 pm Post subject: |
|
|
Glad to help FF.  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
|