I am wondering if Python could be used to write a program that allows:
1. Highlight some text
2. Ctl+HOTKEY1 stores the string of text somewhere as COPIEDTEXT1
3. Highlight another string of text
4. Ctl+HOTKEY1 stores another string of text somewhere as COPIEDTEXT2
THEN
5. Ctl+HOTKEY2 pastes COP
Couple of questions:
On 10/27/2018 07:17 AM, Musatov wrote:
> I am wondering if Python could be used to write a program that allows:
>
> 1. Highlight some text
> 2. Ctl+HOTKEY1 stores the string of text somewhere as COPIEDTEXT1
This text comes from where? Another application?
> 3. Highlight ano
Michael Torrie :
> As far as I know it's not possible for an application to directly yank
> highlighted text from another application.
That's an age-old pattern in X11. I don't know if Wayland supports it.
Application 1 holds a selection (usually highlighted) and Application 2
wants to copy the s
On Oct 27, 2018 9:20 AM, "Musatov" wrote:
>
> I am wondering if Python could be used to write a program that allows:
>
> 1. Highlight some text
> 2. Ctl+HOTKEY1 stores the string of text somewhere as COPIEDTEXT1
> 3. Highlight another string of text
> 4. Ctl+HOTKEY1 stores another string of text s
On Saturday, October 27, 2018 at 10:28:00 AM UTC-5, Michael Torrie wrote:
> Couple of questions:
> On 10/27/2018 07:17 AM, Musatov wrote:
> > I am wondering if Python could be used to write a program that allows:
> >
> > 1. Highlight some text
> > 2. Ctl+HOTKEY1 stores the string of text somewhere
On Saturday, October 27, 2018 at 11:12:35 AM UTC-5, Marko Rauhamaa wrote:
> Michael Torrie :
> > As far as I know it's not possible for an application to directly yank
> > highlighted text from another application.
>
> That's an age-old pattern in X11. I don't know if Wayland supports it.
>
> App
On Saturday, October 27, 2018 at 11:40:57 AM UTC-5, Bob Gailer wrote:
> On Oct 27, 2018 9:20 AM, "Musatov" wrote:
> >
> > I am wondering if Python could be used to write a program that allows:
> >
> > 1. Highlight some text
> > 2. Ctl+HOTKEY1 stores the string of text somewhere as COPIEDTEXT1
> >
Musatov :
> I work from a web database of users and I continually have to copy email
> address and user ID to two separate fields on a Salesforce.com page.
>
> I go to the webpage, highlight email address then copy.
> Then go to Salesforce page, and paste.
> Then go back to the webpage, then copy
Musatov wrote:
From a webpage.
Does it always come from the same web site? If so, you may be able
to scrape the web page to get the username and address, and then
have hot keys for pasting them.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
Yes, same site every time.
--
https://mail.python.org/mailman/listinfo/python-list
I’m using asyncio and I’d like to add an item to an object that others
can wait on immediately and which eventually I will want to use to track a
coroutine. In other words I want something like:
class Info:
def __init__(self):
self.done_task = asyncio.Future()
info = Info()
# do other stuff, b
11 matches
Mail list logo