New topic: 

Apple Safari activity monitor on Windows?

<http://forums.realsoftware.com/viewtopic.php?t=26366>

       Page 1 of 1
   [ 7 posts ]                 Previous topic | Next topic         Author  
Message       jorisvervuurt           Post subject: Apple Safari activity 
monitor on Windows?Posted: Sat Feb 07, 2009 5:14 pm                        
Joined: Sun Oct 22, 2006 2:08 am
Posts: 88              Hello all,

I have a question about the Activity Monitor in Apple's browser called Safari.
Is it possible to create an application in REALbasic that does the same thing, 
but then on Windows?

I'd like to get some code if it is possible!

Best regards,
Joris Vervuurt   
                            Top                TomHicks           Post subject: 
Re: Apple Safari activity monitor on Windows?Posted: Sat Feb 07, 2009 5:23 pm   
                     
Joined: Mon Aug 20, 2007 9:42 am
Posts: 76              Yeah, I'm sure someone on here will just write the app 
for you....    
                            Top               tomis           Post subject: Re: 
Apple Safari activity monitor on Windows?Posted: Sat Feb 07, 2009 5:34 pm       
                        
Joined: Thu Jul 27, 2006 6:31 pm
Posts: 1340
Location: Monterey, CA              jorisvervuurt wrote:Is it possible to 
create an application in REALbasic that does the same thing, but then on 
Windows?

I think you need to be a bit more specific about what your needs are. If you're 
talking specific to Safari, there's no need to write anything as Safari is 
available on Windows.

If you're talking specific to your app, then yes. It's entirely possible to 
have all the sockets in your app report their download status and display it in 
one window. Displaying an activity window for the HTMLview however is going to 
be a bit harder as it doesn't directly expose this info to you.     
_________________
ImagePlay Effects Library (40+ image effects in one open source module. No 
plugins, no dependencies, no restrictions.) 
http://imageplay.sourceforge.net/  
                            Top               jorisvervuurt           Post 
subject: Re: Apple Safari activity monitor on Windows?Posted: Sat Feb 07, 2009 
5:51 pm                        
Joined: Sun Oct 22, 2006 2:08 am
Posts: 88              tomis wrote:jorisvervuurt wrote:Is it possible to create 
an application in REALbasic that does the same thing, but then on Windows?

I think you need to be a bit more specific about what your needs are. If you're 
talking specific to Safari, there's no need to write anything as Safari is 
available on Windows.

If you're talking specific to your app, then yes. It's entirely possible to 
have all the sockets in your app report their download status and display it in 
one window. Displaying an activity window for the HTMLview however is going to 
be a bit harder as it doesn't directly expose this info to you.

Hi,

Thank you for your reply.
Well basically what I want is this:

- Load a website in a HTMLViewer (a YouTube page for example)
- Then display all used objects in a listbox

This is what Safari shows me:


Can you tell me how to do it on Windows?

Thanks,
Joris Vervuurt   
                            Top                tomis           Post subject: 
Re: Apple Safari activity monitor on Windows?Posted: Sat Feb 07, 2009 6:02 pm   
                            
Joined: Thu Jul 27, 2006 6:31 pm
Posts: 1340
Location: Monterey, CA              If you're just wanting to build an HTML 
scraper then you can just load the HTML and parse it to extract the linked 
media. This of course won't work in cases where the media is dynamic, for 
example if it's loaded via JavaScript.

So, what's your ultimate goal. Are you wanting to build an activity viewer for 
the HTMLview just to have one? Or are you trying to achieve something else, 
like automatically extract some media-type from a page.     
_________________
ImagePlay Effects Library (40+ image effects in one open source module. No 
plugins, no dependencies, no restrictions.) 
http://imageplay.sourceforge.net/  
                            Top               jorisvervuurt           Post 
subject: Re: Apple Safari activity monitor on Windows?Posted: Sat Feb 07, 2009 
6:15 pm                        
Joined: Sun Oct 22, 2006 2:08 am
Posts: 88              tomis wrote:If you're just wanting to build an HTML 
scraper then you can just load the HTML and parse it to extract the linked 
media. This of course won't work in cases where the media is dynamic, for 
example if it's loaded via JavaScript.

So, what's your ultimate goal. Are you wanting to build an activity viewer for 
the HTMLview just to have one? Or are you trying to achieve something else, 
like automatically extract some media-type from a page.

Hi,

Again, thank you very much for your reply!
I just want to build an activity viewer for the HTMLViewer, that works on 
Windows.
It does not need to automatically extract a specific media-type from a page.

Can you tell me how to build such a "HTML Scraper" or even better, send me an 
example .rb file?

Best regards,
Joris Vervuurt   
                            Top                timhare           Post subject: 
Re: Apple Safari activity monitor on Windows?Posted: Sat Feb 07, 2009 6:24 pm   
                     
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 4348
Location: Portland, OR  USA              If by activity viewer, you mean 
something that will give you visual feedback as each element of the page 
downloads, then no, you cannot do it with an HTMLViewer.  The control doesn't 
expose that kind of information.  You can get close with the 
DocumentProgressChanged and StatusChanged events, but I don't think you can get 
the granularity you want.

Tim   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 7 posts ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to