Read Windows clipboard contents into a lua variable?

Announcements, questions
Post Reply
Prooffreader
Posts: 1
Joined: 02 Mar 2017, 15:53

Read Windows clipboard contents into a lua variable?

Post by Prooffreader » 02 Mar 2017, 16:00

Just wondering if it one can read (text) contents of Windows clipboard into a variable, alter them with lua patterns, and then either write them back to the clipboard or simply type them.

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Read Windows clipboard contents into a lua variable?

Post by admin » 03 Mar 2017, 08:58

Not sure if Lua hnadles is itself by some "system" library (would guess no) but should not be difficult to extend luamacros with cliboard management functions.
I like this idea.
Petr Medek
LUAmacros author

password
Posts: 2
Joined: 21 Feb 2022, 12:04

Re: Read Windows clipboard contents into a lua variable?

Post by password » 01 Mar 2022, 15:04

I would really like to play with clipboard access as-well , so I'm Bumping topic to remind myself.

Hope its not an issue if i bump old posts.

password
Posts: 2
Joined: 21 Feb 2022, 12:04

Re: Read Windows clipboard contents into a lua variable?

Post by password » 15 May 2022, 15:08

managed to compiel a version with clipboard support but the icons are missing in the ui

Post Reply