 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
i3egohan
Joined: 18 Jul 2006 Posts: 401
|
Posted: Sun Jan 28, 2007 6:51 pm Post subject: |
|
|
Thanks Very much, Keep it up
im about to use it now but by looking at previous posts i can rely on this being perfect |
|
| Back to top |
|
 |
BoBo Guest
|
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10667
|
Posted: Tue Jan 30, 2007 10:22 pm Post subject: |
|
|
Great work on this.
A minor suggestion: It might attract more attention if you copy some of the material from your "about.htm" file into the top post of this topic. Otherwise, people have to download the package, extract it, and locate the about.htm file to get a good introduction.
Also, if/when you get to the point where you think it would be useful enough for the general public, I can link to it from the GUI section of the documentation.
Thanks. |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 841 Location: Berlin
|
Posted: Tue Jan 30, 2007 10:44 pm Post subject: |
|
|
Thanks!
I'll try to 'finish' it off soon. I'll edit the first post to include some of the about file, not all, that would be too much. _________________
My AHK stuff on ahk.net / on DropBox (mirror) / @home (if online) |
|
| Back to top |
|
 |
NiJo
Joined: 12 Nov 2005 Posts: 73
|
Posted: Fri Feb 02, 2007 2:12 am Post subject: |
|
|
Great Script. Right what I need!
daonlyfreez, I think the " Gui_IEGetStatusText() " function is not working correctly.
It's allways geting the same as Gui_IEGetTitle(), and not the Status Text.
I tried some things, and I saw no way of getting the status. ( It is the best way to see if a page already finished loading, right? )
And another thing, I was interested in parcing the html Source of the page, searching for Strings I need. What is the best and quickest way? Will exist a function for it, or I have to save the page and parse it as text?
And another thing, Deactivating the "Show Images" in IE Options, Makes the IE not to Download them? I just want the browser to load faster.
Thanks a lot  |
|
| Back to top |
|
 |
n-l-i-d Guest
|
Posted: Wed Feb 14, 2007 12:37 am Post subject: |
|
|
Sorry it took so long to reply.
You found the same problems I encountered. Maybe I'm doing something wrong with the DLLCall...
The source could be obtained via JavaScript, the StatusText too.
The "Show Images" option. I'm quite sure IE downloads them regardless of that setting. You could take a look yourself. Set IE to hide the images, close IE, open the Temporary Files folder of your IE instance, sort on Modified Date, open IE again, open a page with images, check the folder for new images...
 |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 841 Location: Berlin
|
Posted: Sat Feb 17, 2007 11:24 pm Post subject: |
|
|
I almost missed this posting, where Sean (our new Shimanov?) demonstrates incorporating an IE control with COM/OLE, no cwebpage.dll/lbbrowse3.dll needed!
This is definately a step forward, but also a step into a level of coding I cannot hold up with anymore
I found these links on the subject:
PowerBasic forum - Code and constants
MSHTML Hosting - Odds & Ends
| Quote: | In this post I wanted to cover some miscellaneous things you may want to do with your embedded WebBrowser. On its own, the IWebBrowser2 interface does not support doing much more than we already covered in previous posts. However, if you start using the MSHTML DOM interfaces, much more functionality is available. Here is a list of simple things you can implement without too much difficulty:
Retrieving HTML from the WebBrowser.
Retrieving the HTML of the current selection.
Finding text in the HTML and selecting it.
Creating an image of the current HTML. |
He has more code on his blog...
French PureBasic forum - Google Cache (make it transparent, so it could be used to add animated gif or flash to an AHK Gui seamlessly)
Flash GUI for your exe using minimalistic approach
Transparent Flash Control in plain C++
PureBasic forum - Embedded Flash ActiveX
But, ok, the Internet Explorer container first. Sofar, I could not improve Sean's code any more than adding a few constants, for GoSearch and GoHome
So, I hope Sean finds time, or others might be able to implement more control over the IEcontrol, and - hopefully - full interaction with the DOM. _________________
My AHK stuff on ahk.net / on DropBox (mirror) / @home (if online) |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 2222
|
Posted: Sun Feb 18, 2007 1:11 pm Post subject: |
|
|
| I think your script is just great as it is. So, the only things to be done may be replacing the functions dependent on lbbrowse3.dll with COM methods as possible as we can. I may try it myself next weekend, or assist you to do it. |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 841 Location: Berlin
|
Posted: Thu Feb 22, 2007 10:09 pm Post subject: |
|
|
Great! Tho I haven't found the time yet to experiment more...
I found this: Greenbrowser (Source at SourceForge), an IE-based browser (like Maxthon, Avant Browser, Crazy Browser etcet.), with source
The source reveils a lot about the COM/OLE internals, and seems very suited to learn how to create a library for use with AHK.
However, I did started thinking about alternatives, also because of these new COM/OLE possibilities...
Summary:
| Quote: | Portable browsers and possible browser controls for AHK Gui's
Wikipedia - List of web browsers
*** Internet Explorer 4+
Pro's:
+ Is already installed on most Windows OSs.
+ Is already required for many functions of AHK (IE 3+/4+).
+ Can already be added to AHK Gui with cwebpage.dll/lbbrowse3.dll or OLE/COM
Contra's:
- Using Internet Explorer means being vulnerable to exploits.
- Not portable, not everybody has Internet Explorer installed.
- Not portable, user settings can only be fully changed with Administrator priviledges.
- Not portable, user traces can only be fully erased with Administrator priviledges.
*** Mozilla ActiveX Control - 12,5 MB
Pro's:
+ Portable
+ Should be possible to add to AHK Gui with OLE/COM
Contra's:
- Unknown
*** QHTM Control - Non-commercial - 500 k
Pro's:
+ Tiny
+ Portable
+ Can be added to AHK Gui
Contra's:
- Limited to simple HTML or own syntax, more like an advanced RichEdit control
*** Opera Portable - 8 MB (Including Flash 9, 6 MB without)
Pro's:
+ Small
+ Portable
Contra's:
- Cannot directly be added to an AHK Gui as control
*** Firefox Portable - 29 MB
Pro's:
+ Portable
Contra's:
- Huge
- Cannot directly be added to an AHK Gui as control |
What do y'all think?
What should become the preferred way of adding a browser control to an AHK Gui?
Are there possibilities I missed?
 _________________
My AHK stuff on ahk.net / on DropBox (mirror) / @home (if online) |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Thu Feb 22, 2007 11:19 pm Post subject: |
|
|
Either QHTM Control but this one maybe be harder to use cuz it is done using MFC, or IE, I don't see other possibilities...
QHTM is very small and nice and can not be exploited, on the other hand... _________________
 |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 2222
|
Posted: Fri Feb 23, 2007 2:22 am Post subject: |
|
|
| daonlyfreez wrote: | However, I did started thinking about alternatives, also because of these new COM/OLE possibilities...
Summary: |
Let me take a look at them a while. Thanks.
Note from moderator: At Sean's request, his COM version of the Internet Explorer control has been moved to a new topic: http://www.autohotkey.com/forum/viewtopic.php?t=19225 |
|
| Back to top |
|
 |
Guest
|
Posted: Sun May 18, 2008 2:06 am Post subject: |
|
|
hi guys,
I can't download the file(http://www.daonlyfreez.net/scripting/IE4AHK.zip).
could anyone can upload it to easy-share.com for me?
thx |
|
| Back to top |
|
 |
n-l-i-d Guest
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|