Woule like to send <WindowsKey>+Left Arrow from within Vim.
Le jeudi 5 décembre 2019 14:34:12 UTC+1, Tim Chase a écrit :
-- Maybe gvimext give vim's user capacity to interact with system calling the good dll on windows (like rundll32) ?
Le jeudi 5 décembre 2019 14:34:12 UTC+1, Tim Chase a écrit :
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/562d02f2-5454-42fe-ad04-73175782bba3%40googlegroups.com.
No comments:
Post a Comment