clilpboard functions - Printable Version +- MMOMinion (https://www.mmominion.com) +-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87) +--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90) +---- Forum: I Need Help with LUA coding! (https://www.mmominion.com/forumdisplay.php?fid=104) +---- Thread: clilpboard functions (/showthread.php?tid=18502) |
clilpboard functions - tadeus - 04-14-2017 Is there a function that would allow me to place text on the windows clipboard? I have a button on my GUI window that, if clicked, would put text on the clipboard, but I can't figure out how to do it. This is my code snippet: Code: if (GUI:Button("Copy location to clipboard",200,15) ) then I've found an LUA module called clipboard.dll on the interwebs (http://luaforge.net/projects/jaslatrix/), but when I tried to use the require function I got a console error: failed with [string "C:\Games\FFXIV\MinionApp\Bots\FFXIVMinion64\LuaMods\/DataSave/DataSave.lua"]:1: attempt to call global 'require' (a nil value) I even tried to add it to my module.def file: Dependencies=minionlib,clipboard, but I got a console error: [CLuaModuleManager::InitalizeModule] - Module clipboard.dll not found. Is there a specific folder I should put it in? Will this even work? Does Minion already have clipboard functions that I should be using? I would appreciate any help you can give me. |