Python + Win32: Cut/Paste w/o GUI

Tim Daneliuk tundra at tundraware.com
Fri Oct 4 16:50:08 EDT 2002


Disclaimer:  I'm *much* more comfortable with Unix innards than Win32, so if
the question I am about to ask is stoopid, please bear with me...


I want to be able to do the following but am unclear if/how it can be done:

1) Write a non-GUI Python script.

2) Create a shortcut in Win32 to that script.

3) Copy text from an arbitrary Win32 application.

4) Paste the copied text to the aforementioned shortcut/python script and
    have that pasted text be somehow available (argv[] ???) for use by that
    script.

Can this be done?
-- 
------------------------------------------------------------------------------
Tim Daneliuk
tundra at tundraware.com




More information about the Python-list mailing list