int main()
{
loaddll("C:\\Program Files (x86)\\AutoIt3\\AutoItX\\AutoItX3.dll");
LPCSTR client = "*q.txt - Notepad";
LPCWSTR clientw = (LPCWSTR)(client);
LPCSTR text = "TryTothis..";
LPCWSTR textw = (LPCWSTR)(text);
LPCSTR edit = "Edit1";
LPCWSTR edit1 = (LPCWSTR)(edit);
HWND hwnd =AU3_WinGetHandle(clientw,NULL);
AU3_ControlSend(clientw,NULL,edit1,textw,0);
Sleep(3000);
AU3_Send(textw, 0);
AU3_MouseMove(1920, 1080);
}
i 'm trying functions but wingethandle return 0000 controlsend not working send function working but writing 牔呹瑯楨. japanese character like that
mousemove working perfectly.
i need help why doing this.