On 2019-12-05 05:08, Ni Va wrote: > Is it possible to send keyboard's keys combination to Windows OS > system from within Vim ?
Over in the BSD & Linux world I have "xdotool" which will generate typing as well as mouse motions/clicks, potentially sending them to a given target window. So I occasionally do things like $ sleep $(( 60 * 10 )) ; xdotool click 1 to sleep for 10 minutes and then click the mouse button. Thus you can invoke it from within vim as something like :!sleep 3; xdotool type "This is text to type" So it's not impossible conceptually. However, I don't know of anything like xdotool over in the Windows world, so you'd have to track down something that offers similar functionality. -tim -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20191205073357.2c5d5bce%40bigbox.attlocal.net.
