Sign in to follow this  
Followers 0
nobby

start a exe from Internet Explorer

12 posts in this topic

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

Share this post


Link to post
Share on other sites



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:)

Share this post


Link to post
Share on other sites

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. :)

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

@Nobby

Since you use: script language="vbs" in your HTML

Wouldn't it be easier to use Vbscript to run Notepad then you would not have to worry about registering or installing AutoItX ?

Share this post


Link to post
Share on other sites

@bshoenhair

Yes, I suppose it would be. I am better at autoit scripting than VBS...


CheersNobby

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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:

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

leet

Share this post


Link to post
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
Sign in to follow this  
Followers 0