How to launch programs on my hard disk when URLs are clicked?

How to launch programs on my hard disk when URLs are clicked?

am 07.06.2007 20:03:04 von ChairShot

I'd like to create a webpage on my desktop with a bunch of hyperlinks.
When I click on a hyperlink I'd like to have a program file on my
computer launch. This isn't working.

Here is my example web page. This does not work.







Does anybody know why this does not work, or how it can be made to
work?

dos-man

Re: How to launch programs on my hard disk when URLs are clicked?

am 07.06.2007 20:45:12 von Ben C

On 2007-06-07, dos-man 64 wrote:
> I'd like to create a webpage on my desktop with a bunch of hyperlinks.
> When I click on a hyperlink I'd like to have a program file on my
> computer launch. This isn't working.
>
> Here is my example web page. This does not work.
>
>
>
>
> >
>
>
> Does anybody know why this does not work, or how it can be made to
> work?

I don't think it can be made to work and I hope it can't. It would be a
big security problem-- you could click on a link that erased your hard
disk for example.

Re: How to launch programs on my hard disk when URLs are clicked?

am 07.06.2007 20:55:47 von unknown

Post removed (X-No-Archive: yes)

Re: How to launch programs on my hard disk when URLs are clicked?

am 07.06.2007 21:07:05 von Animesh Kumar

dos-man 64 wrote:
> I'd like to create a webpage on my desktop with a bunch of hyperlinks.
> When I click on a hyperlink I'd like to have a program file on my
> computer launch. This isn't working.
>
> Here is my example web page. This does not work.
>
>
>
>
> >
>
>
> Does anybody know why this does not work, or how it can be made to
> work?
>
> dos-man
>

You need to use PHP with enough server side security implementations to
implement this kind of feature.

Re: How to launch programs on my hard disk when URLs are clicked?

am 07.06.2007 21:14:29 von warm globe

dos-man 64 wrote:
> I'd like to create a webpage on my desktop with a bunch of hyperlinks.
> When I click on a hyperlink I'd like to have a program file on my
> computer launch. This isn't working.
>
> Here is my example web page. This does not work.
>
>
>
>
> >
>
>
> Does anybody know why this does not work, or how it can be made to
> work?
>
> dos-man
>

Open Download can open .exe's from Firefox, but use it with caution. It
actually saves the link to the Temp folder and runs it from there.

https://addons.mozilla.org/en-US/firefox/addon/207?applicati on=firefox&id=207&vid=459

Re: How to launch programs on my hard disk when URLs are clicked?

am 08.06.2007 10:50:50 von Neredbojias

On Thu, 07 Jun 2007 18:03:04 GMT dos-man 64 scribed:

> I'd like to create a webpage on my desktop with a bunch of hyperlinks.
> When I click on a hyperlink I'd like to have a program file on my
> computer launch. This isn't working.
>
> Here is my example web page. This does not work.
>
>
>
>
> >
>
>
> Does anybody know why this does not work, or how it can be made to
> work?
>
> dos-man

When you say 'on your desktop' I assume you mean locally and not online.

In general, it should work if your path is correct although some browsers
may refuse to open the exec and/or not identify the path for support files
like dll's and/or not take arguments correctly. So said, I tried it in ie6
(without arguments) and it opened Opera fine. Btw, most program files are
in a folder called "Program Files".

--
Neredbojias
He who laughs last sounds like an idiot.

Re: How to launch programs on my hard disk when URLs are clicked?

am 08.06.2007 20:13:06 von Kevin Darling

On Jun 7, 2:03 pm, dos-man 64 wrote:
> I'd like to create a webpage on my desktop with a bunch of hyperlinks.
> When I click on a hyperlink I'd like to have a program file on my
> computer launch. This isn't working.

You're asking in the wrong group. You need one of the Microsoft
scripting language groups. Like:

http://groups.google.com/group/microsoft.public.scripting.ws h/topics?hl=en&lr=&ie=UTF-8

In any case, yes, on a PC you can use a .hta file (HTML with a .hta
extension) and the WScript object. For a simple example, see:

http://www.microsoft.com/technet/scriptcenter/resources/qand a/oct05/hey1031.mspx

Kev

Re: How to launch programs on my hard disk when URLs are clicked?

am 08.06.2007 21:38:46 von scripts.contact

On Jun 8, 12:13 pm, Kevin Darling wrote:
> In any case, yes, on a PC you can use a .hta file (HTML with a .hta
> extension) and the WScript object.


The WScript object is only available to WSH scripts not HTA.

Re: How to launch programs on my hard disk when URLs are clicked?

am 11.06.2007 16:47:20 von ChairShot

On Jun 8, 3:38 pm, "scripts.contact"
wrote:
> On Jun 8, 12:13 pm, Kevin Darling wrote:
>
> > In any case, yes, on a PC you can use a .hta file (HTML with a .hta
> > extension) and the WScript object.
>
> The WScript object is only available to WSH scripts not HTA.

Freaks. That's OK, I was really hoping that this could be done
without resorting to programming. How the hell does anybody who can't
program get anything done on PCs I'll never know. Based on what I have
seen, my guess is they don't :D

dos-man

Re: How to launch programs on my hard disk when URLs are clicked?

am 11.06.2007 16:49:19 von ChairShot

On Jun 7, 3:07 pm, Animesh K wrote:
> dos-man 64 wrote:
> > I'd like to create a webpage on my desktop with a bunch of hyperlinks.
> > When I click on a hyperlink I'd like to have a program file on my
> > computer launch. This isn't working.
>
> > Here is my example web page. This does not work.
>
> >
> >
> >
> > > >
>
> > Does anybody know why this does not work, or how it can be made to
> > work?
>
> > dos-man
>
> You need to use PHP with enough server side security implementations to
> implement this kind of feature.- Hide quoted text -
>
> - Show quoted text -

hmm... I briefly studied PHP, but I don't remember much about it. I'll
have to go back through the books and take a look at it. I was really
hoping that this could be done without resorting to programming. Oh,
well.

dos-man

Re: How to launch programs on my hard disk when URLs are clicked?

am 11.06.2007 16:50:18 von lws4art

dos-man 64 wrote:
> On Jun 8, 3:38 pm, "scripts.contact"
> wrote:
>> On Jun 8, 12:13 pm, Kevin Darling wrote:
>>
>>> In any case, yes, on a PC you can use a .hta file (HTML with a .hta
>>> extension) and the WScript object.
>> The WScript object is only available to WSH scripts not HTA.
>
> Freaks. That's OK, I was really hoping that this could be done
> without resorting to programming. How the hell does anybody who can't
> program get anything done on PCs I'll never know. Based on what I have
> seen, my guess is they don't :D

You can do it, just not "easily" from a webpage, thank God! You are just
trying to use the wrong tool. Screwdrivers make lousy hammers.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: How to launch programs on my hard disk when URLs are clicked?

am 11.06.2007 19:57:46 von Bergamot

dos-man 64 wrote:
>
> How the hell does anybody who can't
> program get anything done on PCs I'll never know.

I don't get why you want a web page to run local programs in the first
place. Make plain old shortcuts for these programs and put them in the
Windows quick launch or start menu instead. Make a separate folder for
them if you want them isolated from other programs.

If you do this, they are still just a couple keystrokes or clicks away.
You can even keep the folder open on your desktop all the time, if
that's what you really want.

> Based on what I have
> seen, my guess is they don't :D

Use the right tool for the job. A web page, local or not, shouldn't
launch programs.

--
Berg

Re: How to launch programs on my hard disk when URLs are clicked?

am 11.06.2007 20:51:07 von Animesh Kumar

dos-man 64 wrote:
> On Jun 7, 3:07 pm, Animesh K wrote:
>> dos-man 64 wrote:
>>> I'd like to create a webpage on my desktop with a bunch of hyperlinks.
>>> When I click on a hyperlink I'd like to have a program file on my
>>> computer launch. This isn't working.
>>> Here is my example web page. This does not work.
>>>
>>>
>>>
>>> >>>
>>> Does anybody know why this does not work, or how it can be made to
>>> work?
>>> dos-man
>> You need to use PHP with enough server side security implementations to
>> implement this kind of feature.- Hide quoted text -
>>
>> - Show quoted text -
>
> hmm... I briefly studied PHP, but I don't remember much about it. I'll
> have to go back through the books and take a look at it. I was really
> hoping that this could be done without resorting to programming. Oh,
> well.
>
> dos-man
>

By the way, I am unsure if php will run your windows applications. They
do run simple applications like mail, calendar, date, time, etc from
Linux. They also work well in handling database queries. But my
experience is limited to linux servers.

Re: How to launch programs on my hard disk when URLs are clicked?

am 12.06.2007 20:02:17 von ChairShot

On Jun 11, 1:57 pm, Bergamot wrote:
> dos-man 64 wrote:
>
> > How the hell does anybody who can't
> > program get anything done on PCs I'll never know.
>
> I don't get why you want a web page to run local programs in the first
> place. Make plain old shortcuts for these programs and put them in the
> Windows quick launch or start menu instead. Make a separate folder for
> them if you want them isolated from other programs.
>
> If you do this, they are still just a couple keystrokes or clicks away.
> You can even keep the folder open on your desktop all the time, if
> that's what you really want.
>
> > Based on what I have
> > seen, my guess is they don't :D
>
> Use the right tool for the job. A web page, local or not, shouldn't
> launch programs.
>
> --
> Berg

I've really outgrown the standard methods of launching programs. I
just have too many programs and too many different sets of parameters
to pass to them at this point. The list will not be shrinking any time
soon. I created a killer launch pad quite a few years ago, but I've
outgrown even that. Right now I'm using an army of ms-dos batch files.
And they are all spread out in different folders all over the hard
drive. This is unacceptable.

I may not be able to use HTML for this, but I can simulate a web page
with Delphi. Labels can be used to simumlate hyperlinks. I started
working on it last night. No problems. I hate to have to resort to
programming every time I try to do something, but oh well that's
computers.

My thanks to the people in here for helping me out.

dos-man

Re: How to launch programs on my hard disk when URLs are clicked?

am 13.06.2007 02:28:26 von Kevin Darling

On Jun 11, 1:57 pm, Bergamot wrote:
> Use the right tool for the job. A web page, local or not, shouldn't
> launch programs.

Sometimes it is the right tool.

Before taking my three year old daughter on a trip overseas, I created
a set of HTML pages with large icons for playing movies, launching her
favorite games, etc. She was easily able to entertain herself.

Suggestions of using directories, etc, just wouldn't have had the same
ease of use.

Re: How to launch programs on my hard disk when URLs are clicked?

am 13.06.2007 02:41:56 von Kevin Darling

On Jun 8, 3:38 pm, "scripts.contact"
wrote:
> On Jun 8, 12:13 pm, Kevin Darling wrote:
>
> > In any case, yes, on a PC you can use a .hta file (HTML with a .hta
> > extension) and the WScript object.
>
> The WScript object is only available to WSH scripts not HTA.

You're incorrect. You can instantiate it. Save the following as
an .hta file and start it with IE:








Cheers - Kev

Re: How to launch programs on my hard disk when URLs are clicked?

am 14.06.2007 08:30:11 von scripts.contact

On Jun 12, 6:41 pm, Kevin Darling wrote:
> On Jun 8, 3:38 pm, "scripts.contact"
> wrote:
>
> > On Jun 8, 12:13 pm, Kevin Darling wrote:
>
> > > In any case, yes, on a PC you can use a .hta file (HTML with a .hta
> > > extension) and the WScript object.
>
> > The WScript object is only available to WSH scripts not HTA.
>
> You're incorrect. You can instantiate it. Save the following as
> an .hta file and start it with IE:

....
> var oShell = new ActiveXObject("WScript.Shell");
....

WScript != WScript.Shell

WScript > http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_ crve.mspx
WScript.Shell > http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_ grmi.mspx