View Issue Details

IDProjectCategoryView StatusLast Update
0006174Multi Theft Auto : San AndreasClientpublic2011-06-14 22:17
ReporterTheGTAAssigned Tolil_Toady 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
PlatformOSOS VersionWindows
Product Version 
Target Version1.1Fixed in Version1.1 
Summary0006174: ClipBoard lua functionality
Description

Would be cool to have setClipboard and getClipboard functions in LUA to extend the ways for the user to interact with the environment.

Steps To Reproduce

void setClipboard(text);
string getClipboard();

Just text input.

TagsNo tags attached.

Activities

Remi-X

2011-06-13 20:17

reporter   ~~0013666

http://www.google.com/codesearch#KdIewVX4zdg/trunk/MTA10/mods/shared_logic/lua/CLuaManager.cpp&q=setClipBoard%20package:http://mtasa-blue%5C.googlecode%5C.com&l=277

Set and get both already exists, but only set is usable due to security issues with get. Imagine someone else using get with runcode, to get your password or whatever.

lil_Toady

2011-06-13 20:22

administrator   ~~0013667

I've already added that. But get is disabled in favor of security. This could've been solved, but there's no need for that. You can script get functionality for your needs.

TheGTA

2011-06-14 22:17

updater   ~~0013670

Alright, you guys do not mess around with security :)

Issue History

Date Modified Username Field Change