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. RE: Run programs with javascript
quote:
Originally posted by markee
It is possible but only with an ActiveXObject.  This means that you will have to accept the ActiveXObject for it to work.

code:
<script languaje="javascript">
function notepad() {
new ActiveXObject("WScript.Shell").Run("notepad");
}
</script>

<a href="javascript://" onclick="notepad()">Test</a>
This works in IE but not FF.  Furthermore you can use any run command as well ;)
Allright! Just what I needed! Thanks!

quote:
Originally posted by the DtTvB
I have an alternative that doesn't even use JavaScript.
Also, this only applies for IE with HTML Editor set to notepad.
Notepad is just one of the programs I'm trying to launch, but thanks anyways :)
03-27-2007 07:35 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