Jump to content

Recommended Posts

Posted

does anyone know how to get au3 application to run as html or java in a browser to combine with a website?

thanks

Jeff :blink:

Are you hosting the website or hosting it on another computer? Most hosting companies won't let you run exe's on their machines for security reasons. If you just need to call a certain webpage, you could look into Cron jobs.

-Aaron

Posted

I'm not sure what you want to do and I don't know how this works, but it might be relevant to what you are looking for.

I'd advise you to use a something more mainstream like java, or flash though.

Posted

this is the project i am working on

#include <IE.au3>

$oIE = _IECreate ()

$sHTML = ""

$sHTML &= "<HTML>" & @CR

$sHTML &= "<HEAD>" & @CR

$sHTML &= "<TITLE>Tab Forcast help</TITLE>" & @CR

$sHTML &= "</HEAD>" & @CR

$sHTML &= "<FRAMESET rows='390,200'>" & @CR

$sHTML &= " <FRAME NAME=Top SRC=http://tabforcast.com/>" & @CR

$sHTML &= " <FRAMESET cols='870,500'>" & @CR

$sHTML &= " <FRAME NAME=Menu SRC=http://www.help.net84.net/>" & @CR

$sHTML &= " <FRAME NAME=Main SRC=http://tabforcast.com" & @CR

$sHTML &= " </FRAMESET>"

$sHTML &= "</FRAMESET>" & @CR

$sHTML &= "</HTML>"

_IEDocWriteHTML ($oIE, $sHTML)

_IEAction ($oIE, "refresh")

Local $oFrameTop = _IEFrameGetObjByName ($oIE, "Top")

Local $oFrameMenu = _IEFrameGetObjByName ($oIE, "Menu")

Local $oFrameMain = _IEFrameGetObjByName ($oIE, "Main")

_IEBodyWriteHTML ($oFrameTop, '$oFrameTop = _IEFrameGetObjByName($oIE, "Top")')

_IEBodyWriteHTML ($oFrameMenu, '$oFrameMenu = _IEFrameGetObjByName($oIE, "Menu")')

_IEBodyWriteHTML ($oFrameMain, '$oFrameMain = _IEFrameGetObjByName($oIE, "Main")')

Posted

I just read your code. I still do not see what you have in mind. I see you are trying to get AutoIt to create a web page then populate it. Are you trying to make a website for just you or for others to see? If it is for others to see, then you shouldn't use AutoIt. It isn't meant for that. You would be better served looking here: http://www.w3schools.com/default.asp

This site will help you to learn how to do web development.

Posted

this is the project i am working on

#include <IE.au3>

$oIE = _IECreate ()

$sHTML = ""

$sHTML &= "<HTML>" & @CR

$sHTML &= "<HEAD>" & @CR

$sHTML &= "<TITLE>Tab Forcast help</TITLE>" & @CR

$sHTML &= "</HEAD>" & @CR

$sHTML &= "<FRAMESET rows='390,200'>" & @CR

$sHTML &= " <FRAME NAME=Top SRC=http://tabforcast.com/>" & @CR

$sHTML &= " <FRAMESET cols='870,500'>" & @CR

$sHTML &= " <FRAME NAME=Menu SRC=http://www.help.net84.net/>" & @CR

$sHTML &= " <FRAME NAME=Main SRC=http://tabforcast.com" & @CR

$sHTML &= " </FRAMESET>"

$sHTML &= "</FRAMESET>" & @CR

$sHTML &= "</HTML>"

_IEDocWriteHTML ($oIE, $sHTML)

_IEAction ($oIE, "refresh")

Local $oFrameTop = _IEFrameGetObjByName ($oIE, "Top")

Local $oFrameMenu = _IEFrameGetObjByName ($oIE, "Menu")

Local $oFrameMain = _IEFrameGetObjByName ($oIE, "Main")

_IEBodyWriteHTML ($oFrameTop, '$oFrameTop = _IEFrameGetObjByName($oIE, "Top")')

_IEBodyWriteHTML ($oFrameMenu, '$oFrameMenu = _IEFrameGetObjByName($oIE, "Menu")')

_IEBodyWriteHTML ($oFrameMain, '$oFrameMain = _IEFrameGetObjByName($oIE, "Main")')

So you are just trying to create a local HTML file with frames that are referencing a couple external sites?

Posted

I would like to do it all when it comes to code but still practicing and dont know much.

however, i use hosting 24 for my web site and they have some realy good tools such as

(ruby on rails that will run your exe on start up but i dont know if this is a different language

sorry if this is not clear. to be simple i would just like to add a small auto it program to

my website that may also be aplied to auto it's _IEDocWriteHTML help file

i will probly just have to re write the program using auto it.

thanks for your replies

Posted

MPH

What i would like to see my program do, is help in the construction zone where directional drilling is used

to do this the program will need to be able to calculate distances and use variables and probly much more to be useful

alot of this is greak to me so i may have to study up a little more

  • 5 months later...

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
×
×
  • Create New...