AnsweredAssumed Answered

How do I use the "GetAVPlayerAttribute(attributeName)" function?

Question asked by mendocinotim on Jun 17, 2015
Latest reply on Jun 18, 2015 by philmodjunk

Title

How do I use the "GetAVPlayerAttribute(attributeName)" function?

Post

 I have read through the description in FM 14's documentation, here..
http://www.filemaker.com/help/14/fmp/en/html/func_ref1.32.187.html

The problem:

I have a container field that uses a file reference to point to an audio file.
I am using GetContainerAttribute ( sourceField ; attributeName ) to determine the total duration.
And I want to trigger a script when the track reaches the end.

I tried using GetAVPlayerAttribute ( attributeName ) but it doesn't return any values.
Can someone tell me how this is supposed to work?
Is the 
GetAVPlayerAttribute function the right way to accomplish this end?

Any suggestions?

Outcomes