FMPRO-L Archives

March 2010, Week 4

FMPRO-L@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Winfried Huslik <[log in to unmask]>
Reply To:
FileMaker Pro Discussions <[log in to unmask]>
Date:
Fri, 26 Mar 2010 08:27:54 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
Bruce,

Are you sure about the "PHP" code? Do you mean HTML? The text must be there somehow so the Web Viewer or browser can display it.

Depending on what you try to achieve you might be better off using different means (Perl, etc.) to get and parse the returned HTML, but that's on an other level.


Winfried



On 2010-03-26, at 07:51, Bruce Button wrote:

> Thank you for all the helpful suggestions.
> 
> The web page I am trying to work with is a Google search result. The difficulty I'm having is that if I use the GetLayoutAttribute function below, I get the PHP code of the page, which doesn't resemble the displayed text at all. I can copy and paste manually from the web browser, or from the web viewer as Beverley suggests. I'm not too worried about the lack of formatting - just the text is fine - but is there a way of scripting this? (I'm working on Windows, so I can't use the famed Applescript, although Autohotkeys seems to do some similar things for Windows.)
> 
> Thanks again
> Bruce
> 
> On 24/03/2010 11:16 PM, Tim Mansour wrote:
>> On 25 March 2010 08:13, Tim Mansour <[log in to unmask]>
>>  wrote:
>>   
>> 
>>> you can use the function
>>> 
>>> GetLayoutObjectAttribute ( "objectname"; "content" )
>>> 
>>> to return the HTML currently loaded.
>>>     
>>> 
>> btw if you're on a Mac you could strip the HTML code with AppleScript
>> or one of the built-in Unix tools.
>> 
>>   
>> 

ATOM RSS1 RSS2