Originally posted by herrin
View Post
Announcement
Collapse
No announcement yet.
RichText Redo
Collapse
X
-
Originally posted by herrin View PostGlobal Functions:
Code:function SendKeys(sSendString) sSendString = "\"" ..sSendString.."\"" result = DLL.CallFunction("AutoPlay\\Docs\\KEYSTROKES.DLL", "KEYSTROKE", sSendString, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL) end
On Click Button:
Code:SendKeys("^y")
required:
KEYSTROKES.DLL
credit:
Worm
Leave a comment:
-
-
Global Functions:
Code:function SendKeys(sSendString) sSendString = "\"" ..sSendString.."\"" result = DLL.CallFunction("AutoPlay\\Docs\\KEYSTROKES.DLL", "KEYSTROKE", sSendString, DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL) end
On Click Button:
Code:SendKeys("^y")
required:
KEYSTROKES.DLL
credit:
Worm
Leave a comment:
-
-
I just can’t realize it through SendKeys ... I write:
SendKeys = {}; SendKeysObject = luacom.CreateObject("WScript.Shell"); function SendKeys.Send(Keys) SendKeysObject:SendKeys(Keys); end SendKeys.Send("^y");
Leave a comment:
-
-
-
RichText Redo
Hello everyone and good health!
Please tell me how to call the Redo function in Rich Text? When you press Ctrl+Y keys, it is worked out, but how to call it by pressing a separate button?Tags: None
-
Leave a comment: