Date
1 - 5 of 5
a request for an example
Han Solo
Hello and welcome!
Could someone write an add-on that would play sound for particular file extensions in Explorer when navigating the files? For example: When the focus is on a file with the .mp3 extension, beep_tone1 is played and the full path to the file is spoken. when beep_tone2 is playing on a .jpg file etc. I'd like to know better how you can get focus. Thank you and best regards. |
|
Rui Fontes
That could have some difficulties...
toggle quoted message
Show quoted text
1 - If you have the file extensions hidden, you must first get the file full path in order to get the name and extension of the file. Doing that for every file in the list while you are arrowing can slower the NVDA performance... 2 - If the extensions are shown, it will be easier, since obtaining the full path will be only performed if the file extension is one we want... 3 - It will be better to get a way to break the process if a keystroke is issued, or only starting the process x miliseconds after a key press... 4 - To start working with getFocus and object properties, I think it will better you start binding different sounds to different objects, like a beep for buttons, two beeps for lists and so on... Rui Fontes Às 10:09 de 29/07/2022, Han Solo escreveu: Hello and welcome! |
|
Stefan Moisei
toggle quoted message
Show quoted text
------ Original Message ------
From: "Han Solo" <skydreamer2112@...> To: nvda-addons@nvda-addons.groups.io Sent: 29.07.2022 12:09:13 Subject: [nvda-addons] a request for an example Hello and welcome! |
|
Han Solo
Thank you!
toggle quoted message
Show quoted text
It's very helpful. greetings W dniu 31.07.2022 o 23:13, Stefan Moisei via groups.io pisze: https://github.com/ilyapashuk/SoundFile-nvda-addon |
|
Han Solo
Hello again!
toggle quoted message
Show quoted text
I can't imagine working without this addon anymore. It is very useful when working with audio files, I have another request / suggestion. I wish the add-on could also play an audio file. For example, when the focus is on an audio file, the first press of the hotkey starts audio playback, a second press pauses playback. Such additional functionality will greatly speed up working with audio. Thank you and best regards W dniu 31.07.2022 o 23:13, Stefan Moisei via groups.io pisze: https://github.com/ilyapashuk/SoundFile-nvda-addon |
|