Matt Malyschko Posted October 22, 2012 Posted October 22, 2012 I have a web viewer that is used to navigate through sites. I want to be able to get the URL that the viewer is on. I saw a suggestion that ScriptMaster could help this, but I cannot figure it out. I'm using the GetURLasText function, but it returns "ERROR" This is my script GetURLasText( GetLayoutObjectAttribute("Video Browser";"Content") ) Am I doing something wrong here? I don't really know how either the GetURL or GetLayoutObjectAttribute work, but the latter returns pretty much all of the html code about the site, but from this, I just want the URL. Edit: Nevermind, I got it!
Matt Malyschko Posted October 22, 2012 Author Posted October 22, 2012 GetLayoutObjectAttribute("Video Browser";"Source") gives what I was looking for.
john renfrew Posted October 23, 2012 Posted October 23, 2012 There are some gotchas with this as internally refreshing pages do not always return where they 'really' are to FM...
Recommended Posts
This topic is 4482 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now