GG! Glad my tests were helpful.
Mesen - Emulator
Moderator: Moderators
-
- Posts: 200
- Joined: Wed Jun 15, 2016 11:49 am
Re: Mesen - Emulator
Re: Mesen - Emulator
Hi Sour,Sour wrote: Sun Jun 08, 2025 7:51 amThis is probably not something I can easily do. I might be able to add a UI option to copy new logs to the clipboard, but that might not be very reliable due to the way the logs are updated currently. I'll add this as an idea on the todo list, but I can't say when I'll find the time to look into it.yeerk16 wrote: Sat Jun 07, 2025 6:43 pm Could you add a new Lua API function:
emu.copyToClipboard(text)
Ahh, what I was hoping was that emu.copyToClipboard(text) could be used to copy the given text to the clipboard. (I have a screen reader addon here that monitors the clipboard and automatically reads anything copied to the clipboard. So e.g. in Punchout, when I attack or get hit, I could copy damage values onto the clipboard from Mesen's Lua, and I would then hear those damage values immediately read to me.)
If there was a UI option "automatically copy most recent log string to clipboard", that would work too (I hadn't thought of that) but I guess I'd be worried about cluttering an option in there that not many people would use (compared to a new Lua API function that people wouldn't see unless they really wanted it).
Totally understand this cannot be prioritized... thank you for thinking through it!