AutoHotkey Community

It is currently May 24th, 2012, 6:42 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: January 28th, 2007, 6:51 pm 
Offline

Joined: July 18th, 2006, 12:18 pm
Posts: 403
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 28th, 2007, 11:47 pm 
[Flash Video Player]+[Flash MP3 Player]=[Flash Media Player] :D
Just in case somebody wants to play ... [Samples]


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 30th, 2007, 10:22 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


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

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
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.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 2nd, 2007, 2:12 am 
Offline

Joined: November 12th, 2005, 10:25 pm
Posts: 73
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 ;)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 14th, 2007, 12:37 am 
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...

:wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 17th, 2007, 11:24 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
I almost missed this posting, where Sean (our new Shimanov?) demonstrates incorporating an IE control with COM/OLE, no cwebpage.dll/lbbrowse3.dll needed! 8)

This is definately a step forward, but also a step into a level of coding I cannot hold up with anymore :P

I found these links on the subject:

PowerBasic forum - Code and constants

MSHTML Hosting - Odds & Ends 8)

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.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 18th, 2007, 1:11 pm 
Offline

Joined: February 12th, 2007, 7:54 am
Posts: 2462
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 10:09 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 968
Location: Frisia
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 8)

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. 8)

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?

:)

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2007, 11:19 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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...

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2007, 2:22 am 
Offline

Joined: February 12th, 2007, 7:54 am
Posts: 2462
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2008, 2:06 am 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2008, 12:29 pm 
Yes, I'm down :cry:

But, this is deprecated anyway, use the mentioned script here instead: Embed an Internet Explorer control in your AHK Gui via COM


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: S0und and 11 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