[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luajit/ffi snippet to print the clipboard on windows
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 3 Feb 2011 09:18:53 +0200
On Thu, Feb 3, 2011 at 3:35 AM, malkia <malkia@gmail.com> wrote:
> The following winclip.lua would print the clipboard. There is not much
> check going on, but it shows how quickly one can do the things without
> recompiling.
Useful and entertaining! It would be cool to collect the hundred or
so most-used Win API calls together with some higher-level functions
for using them, such as this get-clipboard-text.
Would make a good little library.
(The lack of callbacks would be a problem for things like enumerating
top-level windows, etc)
steve d.