hartmut Posted July 17, 2012 Posted July 17, 2012 HELLO This i a real hard one. I have a movie that plays on a webpage and I VIEW it in filemaker via the web viewer. When the movie finishes playing on the web page it automatically goes to another URL that i will call www.abc.com. I would like to know if there is a way for filemaker to detect the change in the url and could move to another layout i will call 'FEATURED" when the web viewer changes to the url "www.abc.com ? THANK YOU
No_access Posted July 18, 2012 Posted July 18, 2012 you could set up a calc field like this GetAsText ( GetLayoutObjectAttribute ( "web1" ; "content") ) do not store results, calculate as needed... then the check script would be if( not patterncount("unique to first web page";calcfield)) go to layout " whatever" end if you will need something to run a script from a calculation , try http://www.troi.com/...vator26_pr.html
hartmut Posted July 18, 2012 Author Posted July 18, 2012 Is there a way without a plugin to get the url in a web viewer ?
No_access Posted July 19, 2012 Posted July 19, 2012 getting the url from the webiewer isn't the problem, changing layouts in a calculation is the problem, you need to use a script to change the layout. a plugin can fire the script from within the calculation.
Recommended Posts
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