N
Nak
Hi there,
I know this isn't 100% relevant in this newsgroup, but maybe someone
knows the answer or knows where to point me in the right direction.
I am making my appliction add an item to the toolbar and to the menu in
Internet Explorer. What I want to happen is when you press the item or
button for my application to launch and to be passed the current URL in the
browser via the command line. I have the application launching perfectly,
but am unsure how to get and pass the current URL.
There were 2 possible ways that I can think of,
1. There may be a variable that IE uses to pass to the application.
So the registry key "Exec" that specifies the location of the executable to
launch when the item is processed could contain the URL variable, i.e.
c:\myapplication.exe %currenturl
2. Launch a script instead of an executable and have the script
obtain the current url and launch the application from there. But I have no
experience of Java script to do this, Just from looking at other scripts
that work very similarly I presume I would be possible to do. Does anyone
know if this is possible?
Basically I'm sure that it must be possible to do this simple task, but
have yet to find a working example anywhere. If anyone has any pointers I
would be most appreciative. Thanks again.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I know this isn't 100% relevant in this newsgroup, but maybe someone
knows the answer or knows where to point me in the right direction.
I am making my appliction add an item to the toolbar and to the menu in
Internet Explorer. What I want to happen is when you press the item or
button for my application to launch and to be passed the current URL in the
browser via the command line. I have the application launching perfectly,
but am unsure how to get and pass the current URL.
There were 2 possible ways that I can think of,
1. There may be a variable that IE uses to pass to the application.
So the registry key "Exec" that specifies the location of the executable to
launch when the item is processed could contain the URL variable, i.e.
c:\myapplication.exe %currenturl
2. Launch a script instead of an executable and have the script
obtain the current url and launch the application from there. But I have no
experience of Java script to do this, Just from looking at other scripts
that work very similarly I presume I would be possible to do. Does anyone
know if this is possible?
Basically I'm sure that it must be possible to do this simple task, but
have yet to find a working example anywhere. If anyone has any pointers I
would be most appreciative. Thanks again.
Nick.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\