Fastest way to paste clipboard text in another app?

1,222 views
Skip to first unread message

Oon-Ee Ng

unread,
Jan 23, 2013, 6:04:29 PM1/23/13
to tas...@googlegroups.com

From reading around I can either use Input or the shell "input" command. Both are a bit slow, especially the pausing with spaces. Are there any other ways?

Trying to speed up WhatsApp message sending.

Rich D

unread,
Jan 23, 2013, 6:35:16 PM1/23/13
to tas...@googlegroups.com

>
> Trying to speed up WhatsApp message sending.

I do not have Whatsapp however if it accepts shares you can look at 'Autoshare' plug in.  If yo have Whatsapp selected as the default I think you can share directly with it..

Rich..

Oon-Ee Ng

unread,
Jan 24, 2013, 6:35:31 AM1/24/13
to tas...@googlegroups.com


On Jan 24, 2013 7:35 AM, "Rich D" <ricp...@gmail.com> wrote:
>
> >
> > Trying to speed up WhatsApp message sending.
>
> I do not have Whatsapp however if it accepts shares you can look at 'Autoshare' plug in.  If yo have Whatsapp selected as the default I think you can share directly with it..

Thanks but sharing with WhatsApp requires me to select a contact. Good suggestion, just won't work =(

Oon-Ee Ng

unread,
Jan 28, 2013, 7:35:52 PM1/28/13
to tas...@googlegroups.com
Bump - anyone got any better ideas?

GermainZ

unread,
Jan 29, 2013, 7:24:53 AM1/29/13
to tas...@googlegroups.com
Have Tasker set your clipboard to X then long press the text field / paste manually.

I don't know how WhatsApp works... but considering that it keeps trying to resend when you send a message with a slow connection... maybe INSERTING a new message into the WhatsApp database (using shell commands / sqlite3) could work?
Basically, you:
  1. Insert the message with the appropriate arguments for each of the columns; I think there's one particular column for the message being waiting to be sent.
  2. Open WhatsApp, hopefully making it force refresh from the database and notice there's one message it should send.
Message has been deleted

TomL

unread,
Jan 29, 2013, 7:42:00 AM1/29/13
to tas...@googlegroups.com
You can delve into the whatsapp protocol and construct your own client:

http://en.wikipedia.org/wiki/WhatsApp

As for actually implementing this (in Tasker or JS or Java), I have no idea. Sorry.

Tom

Julio García Muñoz

unread,
Oct 21, 2013, 8:20:07 PM10/21/13
to tas...@googlegroups.com
This is an old thread, but I was facing the same problem and I couldn't find a good solution, so I decided to make myself an app. It's a keyboard that, once enabled, can receive text from Tasker, any text (with spaces or special characters). Just in case someone else finds this thread and decides to give it a try :)

Ctrl-V Keyboard for Tasker

It works best with Secure Settings to automatically switch keyboards (set Ctrl-V as keyboard, open app, paste text, close app, set default keyboard back).

John Sloat

unread,
Jul 24, 2014, 6:52:12 AM7/24/14
to tas...@googlegroups.com
Just set up Ctrl-V and it works great! Came here for the same use case, trying to type faster in WhatsApp messages.

Set this up with Pushbullet; when my phone receives a message from Pushbullet, and the active application is Whatsapp, the message contents are copied to clipboard and pasted in the WhatsApp message entry field.

Was going to set up a profile to also switch keyboards on phone depending on Pushbullet message content received, but need to be rooted to use that feature of Secure Settings, which I'm not.

Still, awesome app, thanks for creating and sharing!
Reply all
Reply to author
Forward
0 new messages