Hello everyone, Andrea from Italy, beginner in a keyboards Maestro that I have researched and started using for the very task I am asking you for assistance with. My mission: I am a university worker-student, the lessons are recorded and made available on the microsoft team platform, after a certain period they are however removed. The lectures cannot be downloaded but only viewed. I need to create an audio archive of the lectures. I need this archive to 'create itself' because I do not have the time to keep up with the recording process. With keyboards maestro I have theoretically completed the first phase of automation (start and begin audacity recording, start Teams, lesson selection, begin playback, end playback, stop recording, save file). I'm experiencing problems: The automation doesn't always work and above all it fails 90% of the time to recognise the end of the video lesson. In particular on the recognition of the end of the lesson I ask for your help. The found image method does not convince me at all. I have chosen an image with great contrast to the background (fluorescent purple on black) which appears at the end of the video, but it almost always fails to recognise it.
Here is my question .. for which I kindly ask you for help, an idea ... a suggestion:
Is there a way to trigger Audacity's stop recording with some other signal, dependent on the end of the video?
Is that the "If" condition at the end of the macro? What you probably want to do instead is "Pause Until..." that image can be detected, then follow on with doing your save in Audacity.
(At the moment it looks like your macro starts the playback, then immediately checks for the image -- it doesn't find the image, pauses for one second, and exits.)
Thank you very much for the suggestion, I will try it as soon as I can and then let you know if it worked!
Pause untill ... I understand where my error could be, in the meantime I had also made a javascript to monitor the end of the video, but honestly neither yesterday nor today did I have time to try it.Thanks also for the updated macro!
I wouldn't even bother with that! Make sure you always put a longer time than needed in the opening dialog, so you don't miss anything. If you are at your computer and the video ends, cancel the macro. If you aren't at your computer then, unless they auto-play the next lecture, the screen will remain unchanged and you won't capture any more screen shots.
Thank you very much, the javascript didn't work, but thanks to your suggestion and to having abandoned safari for firefox... now it works! I am very happy with this first result. I added several pauses of a few seconds here and there and everything is OK! Now I'm trying to proceed with the next parts and I'll almost certainly be back here asking for help! thanks and have a good day or night!
Lesson archive from ms teams 3.0 (copy for the forum) Macro (v11.0.3)
Good evening everyone, here to thank you for the public and private help you have given me. I managed to complete ‘my first assignment’ with keyboard maestro! I like this app a lot, really glad I found it and thanks to the developers! I share the finished automation, as you can see it's anything but elegant the second part... a vulgar copy paste for the audio recording instructions from the following videos. I tried to loop this part but only failed and having a limited time to bring the task to a conclusion I opted for the vile but functional repeated copy paste!
With best regards,
AS
Create lesson archive from ms teams Macro (v11.0.3)