Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

shtuceron

macrumors newbie
Original poster
Dec 22, 2009
16
0
Hi all.
I have some problem with WebView component, i want get html content from some sites to use it but i dont no how can it make.
thanks.


Excuse me, but i have more one question...
Can i catch message from mouse then mouse end selected some text???
 
HTML content et al..

Hi,

no need to use webkit. Just do something like:
NSString *pageSourceString = [NSString stringWithContentsOfURL:[NSURL urlWithString:mad:"http://yoursite.com"] usedEncoding:nil error:nil];

What to you want do achieve by detecting mouse over text?

regards
Les
 
You can use do javascript with applescript. Write the javascript to isolate the elements you need and the command can pass it back to applescript to paste to the clipboard.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.