I've got a VLC player playing a loop video (loop.mp4) in repeat mode. This can go on and on.
But after certain keypresses (by in this case a visitor) another video's starts, also in repeat mode of course, because the player is..
Now I need to check the length of the other video and if it's at the end, restart the loop.mp4 video.
So far I've got this to check the duration:
Code: Select all
ControlGet, hCtl, Hwnd, , QWidget5, ahk_class QWidget ahk_exe vlc.exe
oAcc := Acc_Get("Object", "4", 0, "ahk_id " hCtl)
duration := oAcc.accChild(3).accName(0)
Hope someone can help me out,
Thnx