Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Get info from web viewer

Featured Replies

Hi all

I want to extract information from the web viewer. Stock prices to be exact. Following info from previous posts I've used GetLayoutObjectAttribute ("Webviewer" ; "Content") to put the content into a calc field (text).

I was hoping to find and extract the numbers I wanted with another calc. like a filter or something.

Any suggestions for how to get the 58.29 out of this...

......'>CBA

58.290

and into my field?

Thanks, Phil

It may depend on what comes before. Is there anything in the quoted string that uniquely identifies the "58.290" value as the one you want?

  • Author

Yes, the three letter code (in this case CBA) is the variable that should identify it as the right number.

In this case I want to extract the 27th to 32nd characters following the occurrence of the unique three letter stock code.

Well, if you can count on the website keeping it always in the exact same format, it can be simply:

Let ( [

HTML = GetLayoutObjectAttribute ( "Webviewer" ; "Content" ) ;

pos = Position ( HTML ; "CBA" ; 1 ; 1 )

] ;

Middle ( HTML ; pos + 30 ; 6 )

)

  • Author

Thanks for that - I'll give it a go!

Phil

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.