AutoHotkey Community

It is currently May 24th, 2012, 2:52 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: January 19th, 2007, 1:28 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
Deprecated! Use this instead: Embed an Internet Explorer control in your AHK Gui via COM

My homesite is offline atm, sorry.

--------------------------------------------------------------------------------------

Moved from the original thread Embed an HTML control in your own window ... [Dll] on request...

Embed an Internet Explorer control in your AHK Gui

Uses lbbrowse3.dll instead of cwebpage.dll. Download from here (contains all you need).

Thanks:

- Chris for AutoHotkey 8) ++, and the script snippets used
- Alyce Watson for lbbrowse3.dll 8)
- PhiLho, corrupt and majkinetor for their respective snippets


History:

2007-01-21 Maintenance, About
- Second incomplete version
- Updated screenshot
- (Hopefully) fixed all ©®™ legalese...
- Added the first version of the About file
- Added new About menu items

2007-01-19 Maintenance
- Copied the posting in the original thread to a new thread in the AutoHotkey Scripts & Functions forum. requested by Skan

2007-01-18 First release
- First incomplete version
- Used a lot of eye-candy for the Gui (just for looks). This is ofcourse all optional (avi, menu icons, tab icons, button icons).
- Created a custom resize routine to simulate how a browser would resize
- Added tabs, their visibility can be toggled (resize adapts)
- Most lbbrowse3.dll commands added

Wishlist/To do:

- Get element data from page
- Cut/Copy/Paste/SelectAll from menu
- Favorites edit in Tab
- History edit in Tab
- Custom settings in Tab
- etc. etc.


Image

---

More information: (some of the info from about.htm, on request)

- IE4AHK.ahk + inc\Gui_IE.ahk + inc\Gui_IEJS.ahk + res\*.*
These scripts and the resources were created by myself. The graphics are quite ugly, I'm no graphics artist.

I did use some system icons and the four-leaf clover avi I found somewhere, cannot find the source. If you oppose this, please contact me. If MS opposes, I do promote your browser with this project ;-), though I must admit I would trade using it for an alternative at any time.

- lbbrowse3.dll
http://www.alycesrestaurant.com/lbbrowse.htm by Alyce Watson.

Legalese:
"lbbrowse3.dll is copyright Alyce Watson, 2005.

lbbrowse3.dll is freeware. You may use it in any application, including commercial products. A credit to the author and a link to the website must be included in your program's documentation or readme file, and in any source code released to the public.

Use this dll at your own risk. The author bears no responsibility for errors that may occur as the result of its use. You may not reverse-engineer this dll. You may not claim it as your own work.

lbbrowse3.dll requires Internet Explorer version 4 or better."

- inc\Data_Integer.ahk
AutoHotkey Documentation: DLLCall() by Chris.

- inc\Gui_Avi.ahk
http://www.autohotkey.com/forum/topic13588.html by daonlyfreez & PhiLho.
http://www.autohotkey.com/forum/viewtopic.php?p=89418#89418 by PhiLho.

Legalese:
http://en.wikipedia.org/wiki/License_of_zlib/libpng

"Parts by Philippe Lhoste <PhiLho(a)GMX.net> http://Phi.Lho.free.fr
File/Project history:
1.00.000 -- 2006/11/13 (PL) -- Creation.
Copyright notice: For details, see the following file:
http://Phi.Lho.free.fr/softwares/PhiLho ... icence.txt
This program is distributed under the zlib/libpng license.
Copyright (c) 2006 Philippe Lhoste / PhiLhoSoft"

- inc\Gui_GraphicButton.ahk
http://www.autohotkey.com/forum/topic4047.html by corrupt.

- inc\Gui_GraphicMenu.ahk
http://www.autohotkey.com/forum/topic12412.html by majkinetor.

- inc\Gui_GraphicTab.ahk
http://www.autohotkey.com/forum/topic6060.html by Chris.

- inc\Gui_Tooltip4Controls.ahk
http://www.autohotkey.com/forum/topic10317.html by Chris.

---

IE4AHK was coded by daonlyfreez

... but would not have been possible without the enormous efforts of all involved! A big thanks to you all!

And even better:

Unless otherwise stated, all software contained and mentioned and all scripts are free - open source, freeware or free for personal use...
Why pay? ... Enjoy!

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Last edited by daonlyfreez on June 7th, 2008, 6:09 pm, edited 9 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2007, 2:00 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Very nice.

Excellent programming style, the code is easy to follow.
Thank you for work, I imagine it will be very useful.


btw, where did you find this lib ? :)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2007, 2:10 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
Thanks! 8)

majkinetor wrote:
btw, where did you find this lib ? :)


PhiLho mentioned it in the original thread somewhere. I overlooked it at first too...

Oh, and thank you for the graphic-menu code :wink:

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2007, 2:12 pm 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
Google doesn't give so much pages for lbbrowse3 search...
LBBROWSE DLL

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2007, 2:13 pm 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
daonlyfreez wrote:
PhiLho mentioned it in the original thread somewhere.
Who, me? I completely forgot about it, I suppose I found it with some searches...

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2007, 2:23 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
Yes, you :P

Found it, it was in another thread, ok: Add an AVI to your AHK Gui - CreateWindow_AVI.ahk [LIB]

:wink:

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2007, 2:23 pm 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
I tested and I am impressed! Small control, good capabilities, the answer to many requests...
The code is small, it is a good demonstration that you can do great things in AHK in a few lines. Good GUI.

I see: All files were stripped of their comments, and variable names were replaced with small names, for speed.
You are free to code the way you want, but frankly I doubt this will gain you anything. After the initial loading and parsing time (which is very small in all cases), AHK will have forgotten all comments, and length of variable names is probably irrelevant to speed.

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2007, 2:27 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
PhiLho wrote:
I see: All files were stripped of their comments, and variable names were replaced with small names, for speed.
You are free to code the way you want, but frankly I doubt this will gain you anything. After the initial loading and parsing time (which is very small in all cases), AHK will have forgotten all comments, and length of variable names is probably irrelevant to speed.


I see. I didn't know that, I simply assumed less code -> more speed...

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2007, 8:28 pm 
I sense short code camp again in the background :) :) :D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 20th, 2007, 2:01 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 772
Location: Texas, USA
This code will serve as an excellent catalyst of ideas for a few minor projects I've been working on. Thanks to all who contributed. :D

Now if we could only put in support for tabbed browsing...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 20th, 2007, 8:40 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2537
Great start and useful code :) . Thanks for sharing.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2007, 12:44 am 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
Edited, see first posting...

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2007, 9:24 am 
Offline

Joined: January 19th, 2007, 9:09 pm
Posts: 147
nice program daonlyfreez :P


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 26th, 2007, 9:32 am 
Offline

Joined: July 15th, 2005, 3:19 pm
Posts: 140
Location: Denmark
Very nice daonlyfreez!

I have a small bug to report. The program sometimes does not show the full webpage. This for example happens after I have searched for something on google, I push next 10 results and get to a page like:
http://www.google.dk/search?q=autohotke ... rt=10&sa=N

What happens is that I can only scroll down a part of the page using the scroll-wheel or the scrollbar. What I have to do to get down to the bottom of the page is to mark the text and move the mouse down to the bottom of the screen while holding down the mouse button, then it suddenly scrolls down the whole length of the page. To push refresh on the page is another work-around...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 26th, 2007, 1:25 pm 
Offline

Joined: July 12th, 2005, 1:21 pm
Posts: 633
I have just started it, but it's very impressive!
Thank you for it!

Thalon

_________________
AHK-Icon-Changer
AHK-IRC
deutsches Forum


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], Google Feedfetcher and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group