SendKeys

Plugins y todo lo relacionado para Autoplay Media Studio.
As i see this old plugin doesnt have a post (maybe was posted on the old forum)

USAGE: Put the dll on scripts folder and put on globals
require("SendKeys")


Example of use (on focus of textfield)
SendKeys("KkK ^A^C^V^V^V")

Imagen

DOC: https://msdn.microsoft.com/es-es/librar ... .110).aspx (SEE COMMENTS)

HIDE: ON
Hidebb Message Hidden Description


Source code (needs Lua.cs previously posted 1000 times)
using LuaVM.Utilities.Lua;
using RGiesecke.DllExport;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;

namespace SendKeys
{
public class SendKeysModule
{
[DllExport("luaopen_SendKeys", CallingConvention.Cdecl)]
public static int luaopen_SendKeys(IntPtr L)
{
Lua.lua_register(L, "SendKeys", luaSendKeys);
return 0;
}

public static int luaSendKeys(IntPtr L)
{
System.Windows.Forms.SendKeys.SendWait(Lua.lua_tostring(L, 1));
return 0;
}
}
}
Thakns for sharing!
Excelente Pablo :yes: gracias por compartir, me está sirviendo de maravilla en un proyecto en el que ando. :friends:
pegando obrigado
Top very good
Estupendo, muchas gracias!
thankkkksss
Thanks for sharing.. i will study it how can i apply to my future project.. God Bless
what real world app would u use this for?
patch escribió:
05 Nov 2017 19:32
what real world app would u use this for?
automation