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:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: 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 ;)


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

:)
03-27-2007 10:50 PM
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