Jump to content
Sign in to follow this  
SecretLanguage

Running your application on start up in your website

Recommended Posts

SecretLanguage

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:


Share this post


Link to post
Share on other sites
SecretLanguage

If there is any suggestions out there please let me know if i am just going about this wrong or if my

question is not worded right for the question above

thanks for your help


Share this post


Link to post
Share on other sites
FlyinRiz

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

Share this post


Link to post
Share on other sites
Tvern

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.

Share this post


Link to post
Share on other sites
SecretLanguage

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")')


Share this post


Link to post
Share on other sites
Bert

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.

Share this post


Link to post
Share on other sites
FlyinRiz

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?

Share this post


Link to post
Share on other sites
SecretLanguage

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


Share this post


Link to post
Share on other sites
SecretLanguage

MPH !

It would be for others to use.


Share this post


Link to post
Share on other sites
SecretLanguage

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


Share this post


Link to post
Share on other sites
somdcomputerguy

This sounds like PHP to me. Maybe MySQL too..


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
SecretLanguage

sounds like good advice

ShellExecute(@ProgramFilesDir & "\AutoIt3\AutoIt.chm")


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  

×