What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Run programs with javascript

Run programs with javascript
Author: Message:
YottabyteWizard
Senior Member
****

Avatar

Posts: 709
Reputation: 23
37 / Male / Flag
Joined: Mar 2005
O.P. Run programs with javascript
A little help here...

I'm trying to code an HTML/Javascript page, where a link can open, for example, notepad.

using <a href="file:///c:/windows/system32/notepad.exe"> won't work, well at least I don't want the "Run/Save/Cancel" window to popup.

Searching on google I found document.location.href could do the trick, but I cannot get it to work.

code:
<script languaje="javascript">
function notepad() {
document.location.href="c:/windows/system32/notepad.exe";
}
</script>

<a href="javascript:notepad();">Test</a>


Anything will be greatly appreciated.

Thanks.
03-25-2007 05:32 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Run programs with javascript - by YottabyteWizard on 03-25-2007 at 05:32 AM
RE: Run programs with javascript - by -dt- on 03-25-2007 at 05:53 AM
RE: Run programs with javascript - by markee on 03-25-2007 at 06:03 AM
RE: RE: Run programs with javascript - by felipEx on 03-27-2007 at 10:50 PM
RE: Run programs with javascript - by the DtTvB on 03-26-2007 at 03:16 AM
RE: Run programs with javascript - by YottabyteWizard on 03-27-2007 at 07:35 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On