Launch Exe From Hta?

Oct 4, 2010

Code:
shell = new ActiveXObject("WScript.shell");
shell.run("sketchup.exe");

[code]....

View 3 Replies


ADVERTISEMENT

Launch Scripts Without It Being In Tag?

Sep 14, 2009

I've recently come across something I didn't think was possible. Let me just write the sample code....

Somehow, clicking on "Whatever" or "Whatever2" actually calls a specific JavaScript script (in the real case, it pops up a window). But of course, the actual script isn't defined at all in the tag - just an ID. I'm guessing that an external script is somehow applied to all hrefs, reads the id, and the acts accordingly. There are many, many external scripts on the particular page I'm using, so it's hard to pinpoint exactly what's causing the action.

Can someone show me how you would allow the links above to pass a javascript (could use going to a new URL as an example).

View 5 Replies View Related

Get A VBS To Launch From A Button Click?

Jan 26, 2009

I am trying to get a VBS to launch from a button click. I have had some help from a colleague but so far no luck, so far all that happens when the button is clicked is it switches from being highlighted "click me..." to a depressed "installing" my Vbs path is correct,

</head>
<body>
<script type="text/javascript">

[code]...

View 5 Replies View Related

Launch An Application In Script?

Mar 25, 2010

If I want to launch an application in DOS it is START notepad.exe

How do I launch the application in Javascript?

View 3 Replies View Related

Add A Button To Launch Script?

Feb 16, 2010

I put together a little script to calculate and list a Fibonacci sequence (with javascript: The Definitive Guide 5th edition). It works fine when left as a plain script to run when the page loads, but if I try to turn it into a function to execute on the push of a button the script appears to do nothing.Here is the plain Fibonacci code:

Code:

document.write("<h2>Table of Fibonacci Numbers</h2>");
for (i=0, j=1, k=0, fib =0; i<50; i++, fib=j+k, j=k, k=fib){
document.write("Fibonacci (" + i + ") = " + fib);
document.write("<br />");
}

I then turned it into a function so that it would not run until I clicked an HTML form button. I tried two different methods, one with function containing only the code above and the other as follows:

Code:

<form>
<input type="button" value="Fibonacci" onlcick="javascript: Fib();" />
</form>
<script>

[code]....

View 8 Replies View Related

Way To Launch Application In Script

Mar 25, 2010

In DOS, if I write a batch file to launch notepad it is START notepad.exe

How do I launch an application using javascript?

View 5 Replies View Related

Launch A Desktop App From Script?

Nov 14, 2010

You'll see I'm a gamer as well as a web/desktop developer and I have built so many application in both technologies.

But yesterday I was amused by something I saw. I like to play this Combat Arms game from Nexon a very well developed FPS online action game, scince I downloaded the update I noticed that when I double click on the game icon it actually open a browser where I login (in the past I log in from the game itself) when I login I press a button IN THE SITE where it says "START GAME" and the game automatically starts.

now the question is "HOW THE HECK DID THEY DO THAT?" [code]...

View 1 Replies View Related

Launch An Exe File From A Web Page...I Use Jsp And I Cannot Use VBScript...

May 10, 2006

Could you help me in this problem:

I want to launch an exe file(executable jar file) from a web page. I use jsp...and i cannot use vbScript...? could u tell me how should i do it?

View 7 Replies View Related

Launch Additional Popups From The First Popup?

Jul 18, 2009

I'd like to learn how to make a popup window, launched from a button, that allows additional instances of itself to be launched from the resulting popup. here's what I have so far:In the head:

<script type="text/javascript">
<!--
function MyPopup() {[code]....

This code is on the page that launches the popup the first time, and also the resulting popup. When I click the "Launch Another Window" from the popup, though, it just reloads inside itself and clicking the first button does the same thing (keeps "refreshing" the already launched popup). Any thoughts?

View 5 Replies View Related

Test For Quicktime Plugin Launch .mov

Jun 13, 2008

My code tests for existence of Quicktime plugin.If the plugin is installed. A sample .mov should play but does not.The <h2> header does appear on screen, nothing else, no errors.

View 1 Replies View Related

How To Launch A Window's Application From Webpage Using Java?

Jul 20, 2005

I want to use some javascript to launch a windows application (this used on
intranet) but don't know how. It'd be neat if I could not only launch the application but minimize the webpage's browser at the same time, but this is just icing on the cake.

View 7 Replies View Related

JQuery :: Automatically Launch Function Before Going In $.ajax

Oct 19, 2010

what I'm trying to do is to automatically launch a function before going in the $.ajax ({success}); method. I've this:[code]My problem is that I first see "success" and then "ajaxSuccess" or would have the opposite.dataFilter function doesn't help me because I can't detect if query is successfull or not and not have the XMLHttpRequest.

View 1 Replies View Related

JQuery :: Launch Two Ajax Requests At Same Time?

Feb 12, 2010

I'm trying to launch two ajax requests at same time. I'm expecting result from the first later than the second. The problem is, it won't return me any result from the second request untill first one is returned.

Check it out :

$.post("sendMail.php");
getSendInfo();
setTimeout(getSendInfo,5000);

[code]....

I'm getting response from the $.getJSON function only when the $.post is over. Is this a bug or a mistake from me ? My aim is to launch a long request and fire multiple other requests to check how is doing the first one.

View 3 Replies View Related

Launch A JS Script In A Html Page With A Condition?

Jul 13, 2010

I've to launch a script to show my diigo bookmarks in my website in a sidebar. I launch the script with this command in a html page, that works :

HTML Code:
<script type="text/javascript" src="http://www.diigo.com/roll2/linkrolls?v=3&username=thibaudoc&l_type=0&count=10&desc=1&style=standard&title=Trace%20%26%20Internet&tags=usability">
</script>

However, I don't want these script was launched in certain urls. I do that test, for example when I test a url with this parameter "id=trace-libre:auteur:cv" :

HTML Code:
<script type="text/javascript">
var url = String(document.location);
var test = url.replace(/id=trace-libre:auteur:cv/,'');

[Code]....

View 11 Replies View Related

JQuery :: Launch Datepicker From Textbox Based On Dropdown Item Chosen?

Jul 21, 2010

I am working in ASP.NET 4.0 anduse IE8, Firefoxand Chrome for testing. Inside the web page I have a textbox and a drop down with 5 items. If the 4th item is chosen I want the textbox to become a datepicker.

Here is my best attempt thus far.
$(document).ready(
function () {
$(
"#txtSearch").focus(function () {
if ($("#ddlSearch").attr("selectedindex") == 4) {
$("#txtSearch").datepick("enable");
} else {
$("#txtSearch").datepick("disable") .....

View 3 Replies View Related

Launch Parameters - Change The Menu Item Link <a Href.../a> Dynamically?

Oct 1, 2009

I have a website with several pages. Each page having the same menu.I need one of this menu item's text to vary according to each of my customers, where the customer id will be passed from an external link at launch time.I also need to change the menu item link <a href.../a> dynamically.I'm planning to create a redir.html pacge for each client and within that page, I can insert a url with parameters to launch the main page.

View 1 Replies View Related

Launch Function From Radio Buttons - To Display Text Into A Form Textbox

Feb 22, 2011

I see in a book how to use javascript functions from radio buttons to display text into a form textbox, but what I want to do is instead of display text into a textbox, to display images positioned by CSS. My code is below. All I get is the initial display of radio buttons, the chosen one chosen, and that's it. No display of images. I tried even just using text and no. Here's my code:

[Code]...

View 8 Replies View Related

Event Listening In CKEditor - Draft Saver - Onkeypress Will Launch A Function Which Will Check If Timer Is On

Nov 27, 2009

I have problem with event listening in CKEditor. I searched these forums for answer, but I didnt found it.
I need someting like "onkeypress" on textarea for CKEditor. If I think well, I can must use "DOM" of CKEditor, because it is not simple textarea - but I am lost here. I really dont know how to do it. I need simple draft saver - onkeypress will launch a function which will check if timer is on. If yes, return false. If no, use ajax to save content of textarea.

View 2 Replies View Related

Window.location.href ... Flush - Webpage To Launch Setup.exe Then Go To Another Webpage On CD

Aug 10, 2010

It launches in IE and give the user instructions, then at the click of a button, launches my setup.exe. I want my webpage to launch setup.exe then go to another webpage on my CD, congratulations.html, which says "installation is complete etc". Here's what I am trying to do through JAvascript. It doesn't work. Should the first instruction be flushed in order for the 2nd one to work?

[Code]...

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved