October 22, 201213 yr 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!
October 22, 201213 yr Author GetLayoutObjectAttribute("Video Browser";"Source") gives what I was looking for.
October 23, 201213 yr There are some gotchas with this as internally refreshing pages do not always return where they 'really' are to FM...
Create an account or sign in to comment