lua-users home
lua-l archive

Re: luajit/ffi snippet to print the clipboard on windows

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

AltStyle によって変換されたページ (->オリジナル) /