Jump to content

start a exe from Internet Explorer


nobby
 Share

Recommended Posts

I am trying to create a local page that can be used to launch applications avoiding the prompting to save the exe.

There is a nice util called launchinIE which does just that: Whirlywiryweb

Could you help me with the use of autoitX as well as the scripting necessary in the HTML side of things.

I know I am asking a lot, but any help is appreciated.

CheersNobby

Link to comment
Share on other sites

  • 2 weeks later...

I am trying to create a local page that can be used to launch applications avoiding the prompting to save the exe.

There is a nice util called launchinIE which does just that: Whirlywiryweb

Could you help me with the use of autoitX as well as the scripting necessary in the HTML side of things.

I know I am asking a lot, but any help is appreciated.

<{POST_SNAPBACK}>

Not sure why autoitX is needed for what you are asking. All the HTML examples are noted on the link you provided, just download the "Launch-in-IE" DLL then follow the instructions noted. Seems pretty simple.

You're not planning on using this bad purposes are you ?

:lmao: Sounds kind of fishy o:)

Link to comment
Share on other sites

Guest Guidosoft

Not sure why autoitX is needed for what you are asking. All the HTML examples are noted on the link you provided, just download the "Launch-in-IE" DLL then follow the instructions noted. Seems pretty simple.

You're not planning on using this bad purposes are you ?

:lmao: Sounds kind of fishy  o:)

<{POST_SNAPBACK}>

He is on the dark side of the force.

The digital force. Are ways are not to be used for evil but for good. You should have never learned them. :)

Link to comment
Share on other sites

No, I am not planning on using for bad purposes. In any case, the autoitx DLL has to be registered on each PC's

Yes, I am already using LaunchinIE to achieve what I want, which is running Internet Explorer in kiosk mode as the shell and have hyperlinks to applications.

The aim here is to learn more about autoitX and I thought that was a good way to get my teeth into it.

Thanks for the replies

CheersNobby

Link to comment
Share on other sites

Thanks for the links. From there I have found the answer to my question. If you are interested, here is the solution.

First of course register the AutoItX3.dll

And here is the HTML code:

<HTML>
<HEAD>
</HEAD>
<BODY>
<input type="BUTTON" name="Exec1" value="Notepad" language="vbs" onclick="notepad">
<script language="vbs">
Sub notepad
  Dim oAutoIt
  Set oAutoIt = CreateObject("AutoItX3.Control")
  oAutoit.run "Notepad.exe", "", oAutoIt.SW_MAXIMIZE
End Sub
</SCRIPT>
</BODY></HTML>

:lmao:

CheersNobby

Link to comment
Share on other sites

  • 2 years later...
  • Developers

i don't think this is possible

if you are wanting autoit to open a program with administrators rights (if required) on vista, you have to use the shellexecute function

I am sure he was still waiting for this answer :rolleyes:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...