Skip to content

Commit

Permalink
0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Ohdmire committed Dec 14, 2022
1 parent b8b6833 commit 322f059
Show file tree
Hide file tree
Showing 11 changed files with 599 additions and 596 deletions.
9 changes: 3 additions & 6 deletions Paste.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@
import time

def paste():
time.sleep(0.2)
#按下后间隔0.2s
time.sleep(0.2) #按下后间隔0.2s
i=pyperclip.paste()
keyboard = Controller()
keyboard.type(i)
print("粘贴成功"+"\n"+i+"\n")

def on_release(key):
if key == Key.esc:
# 停止监听
if key == Key.esc: # 停止监听
return False
if key == Key.f2:
if key == Key.f2: # 这里是按f2调用粘贴函数
paste()
# 这里是按f2调用粘贴函数

with Listener(
on_release=on_release) as listener:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## 使用教程
https://ohdmire.github.io/post/superpaste/
404 changes: 202 additions & 202 deletions build/Paste/Analysis-00.toc

Large diffs are not rendered by default.

328 changes: 164 additions & 164 deletions build/Paste/EXE-00.toc

Large diffs are not rendered by default.

326 changes: 163 additions & 163 deletions build/Paste/PKG-00.toc

Large diffs are not rendered by default.

Binary file modified build/Paste/PYZ-00.pyz
Binary file not shown.
78 changes: 39 additions & 39 deletions build/Paste/PYZ-00.toc
Original file line number Diff line number Diff line change
Expand Up @@ -368,27 +368,42 @@
('tracemalloc',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\tracemalloc.py',
'PYMODULE'),
('_py_abc',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\_py_abc.py',
'PYMODULE'),
('stringprep',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\stringprep.py',
'PYMODULE'),
('_py_abc',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\_py_abc.py',
'PYMODULE'),
('pynput.keyboard',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\__init__.py',
'PYMODULE'),
('pynput.keyboard._base',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_base.py',
'PYMODULE'),
('six',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\six.py',
'PYMODULE'),
('pynput',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\__init__.py',
'PYMODULE'),
('pynput._util.uinput',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\uinput.py',
'PYMODULE'),
('pynput._util.xorg',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\xorg.py',
'PYMODULE'),
('pynput.keyboard._xorg',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_xorg.py',
'PYMODULE'),
('pynput._util.win32_vks',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\win32_vks.py',
'PYMODULE'),
('pynput.mouse._xorg',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\_xorg.py',
'PYMODULE'),
('pynput._util.darwin',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\darwin.py',
'PYMODULE'),
('six',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\six.py',
'PYMODULE'),
('ctypes.util',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\ctypes\\util.py',
'PYMODULE'),
Expand All @@ -413,59 +428,44 @@
('ctypes._endian',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\ctypes\\_endian.py',
'PYMODULE'),
('pynput.mouse._base',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\_base.py',
'PYMODULE'),
('pynput.keyboard._uinput',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_uinput.py',
('pynput.keyboard._win32',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_win32.py',
'PYMODULE'),
('pynput._util.xorg',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\xorg.py',
('ctypes.wintypes',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\ctypes\\wintypes.py',
'PYMODULE'),
('pynput._util.xorg_keysyms',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\xorg_keysyms.py',
'PYMODULE'),
('pynput._info',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_info.py',
'PYMODULE'),
('pynput.mouse._win32',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\_win32.py',
'PYMODULE'),
('ctypes.wintypes',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\ctypes\\wintypes.py',
('pynput.keyboard._dummy',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_dummy.py',
'PYMODULE'),
('pynput.keyboard._darwin',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_darwin.py',
'PYMODULE'),
('pynput.mouse._xorg',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\_xorg.py',
('pynput._util.darwin_vks',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\darwin_vks.py',
'PYMODULE'),
('pynput.keyboard._win32',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_win32.py',
('pynput.mouse._darwin',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\_darwin.py',
'PYMODULE'),
('pynput.mouse._dummy',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\_dummy.py',
'PYMODULE'),
('pynput._util.win32',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\win32.py',
'PYMODULE'),
('pynput.keyboard._xorg',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_xorg.py',
'PYMODULE'),
('pynput.mouse._darwin',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\_darwin.py',
'PYMODULE'),
('pynput.keyboard._base',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_base.py',
('pynput.mouse._base',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\_base.py',
'PYMODULE'),
('pynput._util.win32_vks',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\win32_vks.py',
('pynput.keyboard._uinput',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_uinput.py',
'PYMODULE'),
('pynput.keyboard._dummy',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\keyboard\\_dummy.py',
('pynput._info',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_info.py',
'PYMODULE'),
('pynput._util.darwin_vks',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\darwin_vks.py',
('pynput._util.win32',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\_util\\win32.py',
'PYMODULE'),
('pynput.mouse',
'c:\\users\\xiaobing\\appdata\\local\\programs\\python\\python39\\lib\\site-packages\\pynput\\mouse\\__init__.py',
Expand Down
Binary file modified build/Paste/Paste.pkg
Binary file not shown.
28 changes: 14 additions & 14 deletions build/Paste/warn-Paste.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
tracking down the missing module yourself. Thanks!

missing module named _posixsubprocess - imported by subprocess (optional), multiprocessing.util (delayed)
missing module named grp - imported by shutil (optional), tarfile (optional), pathlib (delayed, optional), subprocess (optional)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), pathlib (delayed, conditional, optional), subprocess (optional), http.server (delayed, optional), webbrowser (delayed), netrc (delayed, conditional), getpass (delayed), distutils.util (delayed, conditional, optional)
missing module named grp - imported by subprocess (optional), shutil (optional), tarfile (optional), pathlib (delayed, optional)
missing module named pwd - imported by posixpath (delayed, conditional), subprocess (optional), shutil (optional), tarfile (optional), pathlib (delayed, conditional, optional), http.server (delayed, optional), webbrowser (delayed), netrc (delayed, conditional), getpass (delayed), distutils.util (delayed, conditional, optional)
missing module named posix - imported by os (conditional, optional), shutil (conditional)
missing module named resource - imported by posix (top-level), test.support (delayed, conditional, optional)
missing module named 'org.python' - imported by pickle (optional), xml.sax (delayed, conditional)
missing module named org - imported by copy (optional)
missing module named org - imported by pickle (optional)
missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional)
missing module named 'typing.io' - imported by importlib.resources (top-level)
missing module named toml - imported by pep517.compat (conditional)
missing module named vms_lib - imported by platform (delayed, optional)
Expand All @@ -30,22 +30,22 @@ missing module named _winreg - imported by platform (delayed, optional)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
missing module named pyimod03_importers - imported by C:\Users\xiaobing\AppData\Local\Programs\Python\Python39\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (top-level)
missing module named evdev - imported by pynput.keyboard._uinput (top-level), pynput._util.uinput (top-level)
missing module named Quartz - imported by pynput.mouse._darwin (top-level), pynput._util.darwin (top-level), pynput.keyboard._darwin (top-level)
missing module named HIServices - imported by pynput._util.darwin (top-level)
missing module named CoreFoundation - imported by pynput._util.darwin (top-level)
missing module named objc - imported by pynput._util.darwin (top-level)
missing module named StringIO - imported by six (conditional)
missing module named 'evdev.events' - imported by pynput.keyboard._uinput (top-level)
missing module named evdev - imported by pynput.keyboard._uinput (top-level), pynput._util.uinput (top-level)
missing module named 'Xlib.XK' - imported by pynput._util.xorg (top-level), pynput.keyboard._xorg (top-level)
missing module named 'Xlib.threaded' - imported by pynput._util.xorg (top-level)
missing module named 'Xlib.keysymdef' - imported by pynput._util.xorg (top-level), pynput.keyboard._xorg (top-level)
missing module named Xlib - imported by pynput._util.xorg (top-level)
missing module named 'Xlib.protocol' - imported by pynput.keyboard._xorg (top-level), pynput.mouse._xorg (top-level)
missing module named 'Xlib.X' - imported by pynput.keyboard._xorg (top-level), pynput.mouse._xorg (top-level)
missing module named 'Xlib.ext' - imported by pynput.keyboard._xorg (top-level), pynput.mouse._xorg (top-level)
missing module named 'Xlib.display' - imported by pynput.keyboard._xorg (top-level), pynput.mouse._xorg (top-level)
missing module named 'Xlib.protocol' - imported by pynput.mouse._xorg (top-level), pynput.keyboard._xorg (top-level)
missing module named 'Xlib.X' - imported by pynput.mouse._xorg (top-level), pynput.keyboard._xorg (top-level)
missing module named 'Xlib.ext' - imported by pynput.mouse._xorg (top-level), pynput.keyboard._xorg (top-level)
missing module named 'Xlib.display' - imported by pynput.mouse._xorg (top-level), pynput.keyboard._xorg (top-level)
missing module named Quartz - imported by pynput.mouse._darwin (top-level), pynput._util.darwin (top-level), pynput.keyboard._darwin (top-level)
missing module named HIServices - imported by pynput._util.darwin (top-level)
missing module named CoreFoundation - imported by pynput._util.darwin (top-level)
missing module named objc - imported by pynput._util.darwin (top-level)
missing module named AppKit - imported by pyperclip (delayed, conditional, optional), pynput.mouse._darwin (top-level)
missing module named 'evdev.events' - imported by pynput.keyboard._uinput (top-level)
runtime module named six.moves - imported by pynput._util (top-level)
missing module named Foundation - imported by pyperclip (delayed, conditional, optional)
missing module named PyQt4 - imported by pyperclip (delayed, conditional, optional)
Expand Down
20 changes: 12 additions & 8 deletions build/Paste/xref-Paste.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<a target="code" href="" type="text/plain"><tt>'org.python'</tt></a>
<span class="moduletype">MissingModule</span> <div class="import">
imported by:
<a href="#pickle">pickle</a>
<a href="#copy">copy</a>
&#8226; <a href="#xml.sax">xml.sax</a>

</div>
Expand Down Expand Up @@ -2085,8 +2085,8 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<a target="code" href="///C:/users/xiaobing/appdata/local/programs/python/python39/lib/copy.py" type="text/plain"><tt>copy</tt></a>
<span class="moduletype">SourceModule</span> <div class="import">
imports:
<a href="#copyreg">copyreg</a>
&#8226; <a href="#org">org</a>
<a href="#'org.python'">'org.python'</a>
&#8226; <a href="#copyreg">copyreg</a>
&#8226; <a href="#types">types</a>
&#8226; <a href="#weakref">weakref</a>

Expand Down Expand Up @@ -6983,7 +6983,7 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<a target="code" href="" type="text/plain"><tt>org</tt></a>
<span class="moduletype">MissingModule</span> <div class="import">
imported by:
<a href="#copy">copy</a>
<a href="#pickle">pickle</a>

</div>

Expand Down Expand Up @@ -7380,14 +7380,14 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<a target="code" href="///C:/users/xiaobing/appdata/local/programs/python/python39/lib/pickle.py" type="text/plain"><tt>pickle</tt></a>
<span class="moduletype">SourceModule</span> <div class="import">
imports:
<a href="#'org.python'">'org.python'</a>
&#8226; <a href="#_compat_pickle">_compat_pickle</a>
<a href="#_compat_pickle">_compat_pickle</a>
&#8226; <a href="#_pickle">_pickle</a>
&#8226; <a href="#codecs">codecs</a>
&#8226; <a href="#copyreg">copyreg</a>
&#8226; <a href="#functools">functools</a>
&#8226; <a href="#io">io</a>
&#8226; <a href="#itertools">itertools</a>
&#8226; <a href="#org">org</a>
&#8226; <a href="#pprint">pprint</a>
&#8226; <a href="#re">re</a>
&#8226; <a href="#struct">struct</a>
Expand Down Expand Up @@ -7683,6 +7683,8 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
&#8226; <a href="#os">os</a>
&#8226; <a href="#pynput">pynput</a>
&#8226; <a href="#pynput._util">pynput._util</a>
&#8226; <a href="#pynput._util.win32_vks">pynput._util.win32_vks</a>
&#8226; <a href="#pynput._util.xorg_keysyms">pynput._util.xorg_keysyms</a>
&#8226; <a href="#queue">queue</a>
&#8226; <a href="#six">six</a>
&#8226; <a href="#six.moves">six.moves</a>
Expand Down Expand Up @@ -7810,6 +7812,7 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<div class="import">
imported by:
<a href="#pynput">pynput</a>
&#8226; <a href="#pynput._util">pynput._util</a>
&#8226; <a href="#pynput._util.win32">pynput._util.win32</a>
&#8226; <a href="#pynput.keyboard._win32">pynput.keyboard._win32</a>

Expand Down Expand Up @@ -7855,6 +7858,7 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<div class="import">
imported by:
<a href="#pynput">pynput</a>
&#8226; <a href="#pynput._util">pynput._util</a>
&#8226; <a href="#pynput._util.xorg">pynput._util.xorg</a>
&#8226; <a href="#pynput.keyboard._uinput">pynput.keyboard._uinput</a>
&#8226; <a href="#pynput.keyboard._xorg">pynput.keyboard._xorg</a>
Expand All @@ -7872,6 +7876,7 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
&#8226; <a href="#pynput">pynput</a>
&#8226; <a href="#pynput._util">pynput._util</a>
&#8226; <a href="#pynput.keyboard">pynput.keyboard</a>
&#8226; <a href="#pynput.keyboard._base">pynput.keyboard._base</a>

</div>
<div class="import">
Expand Down Expand Up @@ -7908,6 +7913,7 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<div class="import">
imported by:
<a href="#pynput">pynput</a>
&#8226; <a href="#pynput.keyboard">pynput.keyboard</a>
&#8226; <a href="#pynput.keyboard._darwin">pynput.keyboard._darwin</a>
&#8226; <a href="#pynput.keyboard._dummy">pynput.keyboard._dummy</a>
&#8226; <a href="#pynput.keyboard._uinput">pynput.keyboard._uinput</a>
Expand Down Expand Up @@ -8045,7 +8051,6 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<a href="#pynput">pynput</a>
&#8226; <a href="#pynput._util">pynput._util</a>
&#8226; <a href="#pynput.mouse">pynput.mouse</a>
&#8226; <a href="#pynput.mouse._base">pynput.mouse._base</a>

</div>
<div class="import">
Expand Down Expand Up @@ -8076,7 +8081,6 @@ <h1>modulegraph cross reference for Paste.py, pyi_rth_inspect.py, pyi_rth_pkguti
<div class="import">
imported by:
<a href="#pynput">pynput</a>
&#8226; <a href="#pynput.mouse">pynput.mouse</a>
&#8226; <a href="#pynput.mouse._darwin">pynput.mouse._darwin</a>
&#8226; <a href="#pynput.mouse._dummy">pynput.mouse._dummy</a>
&#8226; <a href="#pynput.mouse._win32">pynput.mouse._win32</a>
Expand Down
Binary file modified dist/Paste.exe
Binary file not shown.

0 comments on commit 322f059

Please sign in to comment.