Jump to content

Recommended Posts

Posted

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

  • 2 weeks later...
Posted

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

Guest Guidosoft
Posted

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

Posted

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

Posted

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

Posted

@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 ?

  • 2 years later...
  • Developers
Posted

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

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
  • Recently Browsing   0 members

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