Sign in to follow this  
Followers 0
motionman95

Getting Started: How do I create a bridge?

3 posts in this topic

I am fully willing to put time, money, etc, into creating a bridge for HTMLayout, to AutoIt. My only problem: I've no idea where to start. Can anyone give me some tips and a push in the right direction?

HTMLayout: http://www.terrainformatica.com/


Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

A little Googling says that's object oriented Java stuff. AutoIt is not Object Oriented (no, COM Objects are not the same thing).

If it doesn't have a COM interface available, I don't know what you expect AutoIt to do with it.

:mellow:

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

http://www.terrainformatica.com/htmlayout/axmain.whtm

Download and install activex

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 454, 193, 115)
$Obj1 = ObjCreate("HtmLayoutAx.HtmLayout.1")
$Obj1_ctrl = GUICtrlCreateObj($Obj1, 64, 40, 498, 140)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$Obj1.LoadFromString('<html><body><h1>Titre</h1><p>Texte</p></body></html>')
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
           Exit
    EndSwitch
WEnd

if you find how to send event to autoit with htmlayout, tell me how :mellow:

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