In the latest release of xdotool, this will work:
xdotool keydown shift click 1 keyup shift
Otherwise, in older versions:
xdotool keydown shift
xdotool click 1
xdotool keydown shift
It's probably worth adding modifier support to 'click' like this:
xdotool click shift+left, or click shift+1
I'll put it on my todo list, but the above examples should help until then :)
-Jordan
> --
> You received this message because you are subscribed to the Google Groups
> "xdotool-users" group.
> To post to this group, send email to xdotoo...@googlegroups.com.
> To unsubscribe from this group, send email to
> xdotool-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/xdotool-users?hl=en.
>
In the latest release of xdotool, this will work:On Fri, Aug 6, 2010 at 4:39 PM, Melvin Carvalho
<melvinc...@gmail.com> wrote:
> I was wondering if it's possible to send Shift + (Left Mouse) Click to a
> window?
>
> I've tried xdotool an xvkbd but I've got neither to work.
>
> I use my number pad to simulate a click so sending
>
> key KP_5
>
> works fine to send a left click.
>
> But
>
> shift+KP_5
>
> Doesnt add the shift.
>
> Any ideas how to get both shift and click into an app?
>
> Thanks in advance.
>
xdotool keydown shift click 1 keyup shift
Otherwise, in older versions:
xdotool keydown shift
xdotool click 1
xdotool keydown shift
It's probably worth adding modifier support to 'click' like this:
xdotool click shift+left, or click shift+1
I'll put it on my todo list, but the above examples should help until then :)