Hi,
Im using PushKey(#VK_R), per example, to type in webgadget, but dont know how to sellect all, cut and paste.
Any help are welcome
Best Regards
Using PushKey() in webgadget how to select all, cut paste?
Using PushKey() in webgadget how to select all, cut paste?
ARGENTINA WORLD CHAMPION
-
rory-games
- User

- Posts: 39
- Joined: Sun Feb 02, 2020 9:14 am
- Contact:
Re: Using PushKey() in webgadget how to select all, cut past
try this, win API only, sorry
Code: Select all
keybd_event_(#vk_a,0,#keyeventf_keyup,0)
-
rory-games
- User

- Posts: 39
- Joined: Sun Feb 02, 2020 9:14 am
- Contact:
Re: Using PushKey() in webgadget how to select all, cut past
oh, and I forgot to say, just replace the #vk_a with #vk_c for copy, #vk_x for cut, and #vk_v for paste, #vk_z for undo if you need that too.
-
rory-games
- User

- Posts: 39
- Joined: Sun Feb 02, 2020 9:14 am
- Contact:
Re: Using PushKey() in webgadget how to select all, cut past
sorry, that last post didn't work properly
Code: Select all
keybd_event_(#VK_LCONTROL,0,0,0)
keybd_event_(#VK_A,0,0,0)
keybd_event_(#VK_LCONTROL,0,#KEYEVENTF_KEYUP,0)
keybd_event_(#VK_A,0,#KEYEVENTF_KEYUP,0)
