A script that I can hook up to a picture to launch an application?
2 posters
Page 1 of 1
A script that I can hook up to a picture to launch an application?
Hello everyone!
I have a mouse over mouse out button that I want to use to launch an application.
The website I have is a clan forums and I feel like including a button to start the game that we have a clan on.
Can you please tell me what the script is? thanks forumotion
I have a mouse over mouse out button that I want to use to launch an application.
The website I have is a clan forums and I feel like including a button to start the game that we have a clan on.
Can you please tell me what the script is? thanks forumotion
LAPDCLANLEADER- New Member
- Posts : 20
Reputation : 0
Language : English
Help!
Hey guys I think you are having some problems understanding this, which explains why I have no answers yet. Here is exactly what I want to do.
I have a button (on mouse over on mouse out button) which looks like this and you you bring the mouse over it, the button turns like this. I am trying to hook it up to a launch an application javacode, which I think it suppose to be
I tried so many things trying to mix those two codes together and failed! please help
I have a button (on mouse over on mouse out button) which looks like this and you you bring the mouse over it, the button turns like this. I am trying to hook it up to a launch an application javacode, which I think it suppose to be
- Code:
<A href="#" onClick="runcmd(); return false;">Run CMD.exe</A>
I tried so many things trying to mix those two codes together and failed! please help
LAPDCLANLEADER- New Member
- Posts : 20
Reputation : 0
Language : English
Re: A script that I can hook up to a picture to launch an application?
It seems a rather straightforward question. I suspect it's the potential for holes in security that has this question unanswered so far.
But what you ask for can be done, you are even on the right track.
Try:
But what you ask for can be done, you are even on the right track.
Try:
- Code:
<SCRIPT Language="JScript">
function runcmd() {
File="cmd.exe";
WSH=new ActiveXObject("WScript.Shell");
WSH.run(File);
}
</SCRIPT>
<A href="#" onClick="runcmd(); return false;">Run CMD.exe</A>
harvengure- Forumember
- Posts : 86
Reputation : 0
Language : English
Re: A script that I can hook up to a picture to launch an application?
harvengure wrote:It seems a rather straightforward question. I suspect it's the potential for holes in security that has this question unanswered so far.
But what you ask for can be done, you are even on the right track.
Try:
- Code:
<SCRIPT Language="JScript">
function runcmd() {
File="cmd.exe";
WSH=new ActiveXObject("WScript.Shell");
WSH.run(File);
}
</SCRIPT>
<A href="#" onClick="runcmd(); return false;">Run CMD.exe</A>
Ok I had this code but how do I hook it up to the picture?
LAPDCLANLEADER- New Member
- Posts : 20
Reputation : 0
Language : English
Re: A script that I can hook up to a picture to launch an application?
lol...I'm not sure if that's a serious question or not. xD
Just change the Run CMD in the link html to the html required for an image.
Just change the Run CMD in the link html to the html required for an image.
harvengure- Forumember
- Posts : 86
Reputation : 0
Language : English
Similar topics
» picture scroll script
» Picture and Script on one Line?
» embed Script code in forum? (<script </script>)
» [JAVA script]How to set a countdown script to forum/portal?
» #1269 Mismatch between thumbnail upload picture and actual picture in user galleries - 2
» Picture and Script on one Line?
» embed Script code in forum? (<script </script>)
» [JAVA script]How to set a countdown script to forum/portal?
» #1269 Mismatch between thumbnail upload picture and actual picture in user galleries - 2
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum