Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

WhoPutItOnTheClipboard()


  • Please log in to reply
2 replies to this topic
Zed Gecko
  • Members
  • 149 posts
  • Last active:
  • Joined: 23 Sep 2006
WhoPutItOnTheClipboard() shows what window/program has put the recent data on the clipboard:
code removed due to protest.

http://www.autohotkey.com/forum/viewtopic.php?t=81795


code removed due to protest.
http://www.autohotke...pic.php?t=81795

codybear
  • Members
  • 600 posts
  • Last active: Feb 09 2015 12:41 PM
  • Joined: 15 Sep 2009
Nice, I'm going to play around with this a little more tomorrow, but it's kind of interesting.
Thanks for sharing.

Zed Gecko
  • Members
  • 149 posts
  • Last active:
  • Joined: 23 Sep 2006

Nice, I'm going to play around with this a little more tomorrow, but it's kind of interesting.
Thanks for sharing.

thanks.

Retrieving infos about the window that has put the data in the clipboard is not always what you expect. A lot of programs seem to have a special hidden-window that is referenced instead of the window the Copy is invoked in.
Here is a short list of title-informations returned from several programs on my german Win2k system:

Crimson Editor
----------
Processname = cedt.exe
Title = Crimson Editor - [C]
MainTile =
----------
---
Firefox
----------
Processname = firefox.exe
Title =
MainTile =
----------
---
IE 6
----------
Processname = IEXPLORE.EXE
Title =
MainTile =
----------
---
Notepad
----------
Processname = notepad.exe
Title =
MainTile = Unbenannt - Editor
----------
---
Calc
----------
Processname = calc.exe
Title = CalcMsgPumpWnd
MainTile = Rechner
----------
---
Paint
----------
Processname = MSPAINT.EXE
Title =
MainTile =
----------
---
AutoHotkey Help
----------
Processname = hh.exe
Title =
MainTile = AutoHotkey Help
----------
---
Explorer
----------
Processname = AutoHotkey.exe
Title = C:\Dokumente und Einstellungen\zed\Desktop\test4.ahk - AutoHotkey v1.0.48.05
MainTile = C:\Dokumente und Einstellungen\zed\Desktop\test4.ahk - AutoHotkey v1.0.48.05
----------
---
IrfanView
----------
Processname = i_view32.exe
Title = iss_sunrise.bmp - IrfanView (Selection: 138, 83; 159 x 140; 1.136)
MainTile =
----------
---


code removed due to protest.
http://www.autohotke...pic.php?t=81795