SuperMemoAssistant icon indicating copy to clipboard operation
SuperMemoAssistant copied to clipboard

Request: Better way to get recorded audio clips into SM

Open Svennerin opened this issue 5 years ago • 2 comments

When pasting an image, SM will automatically create an image component. It makes adding screenshots to items a painless process.

I would like some sort of equivalent for audio and sound components.

The utility ShareX can record an audio file and save the URL's filepath to the clipboard. Currently there is no way to take advantage of this or things like it in Supermemo.

https://streamable.com/e80pl

Svennerin avatar Mar 17 '20 13:03 Svennerin

I think I have an idea for this:

  1. Create a special directory for screenshots / audio files etc that you want in SM.
  2. Create a set of hotkeys in Sharex for importing into SM which save files to that directory.
  3. Have an SMA plugin that uses FileSystemWatcher to watch the directory for new files.
  4. When the 'new file added to directory' event fires, open a window in SM with some options so you can decide what to do with it, eg. create new extract containing this file, or add to existing element etc.

bjsi avatar Mar 19 '20 17:03 bjsi

Tested this with a simple prototype. I was able to get it working, though not on the latest version of SMA. I'll continue to work on this some more.

bjsi avatar Mar 19 '20 22:03 bjsi