StrokesPlus.net Forum
»
General Discussion
»
General Discussion
»
In chrome inactive state why PostMessageObj cannot send pagedown pageup
Rank: Newbie
Groups: Approved
Joined: 7/12/2020(UTC) Posts: 6
|
Use the following code can normal send in activation condition Quote:WM_KEYDOWN = 0x100 WM_KEYUP = 0x101 VK_NEXT = 0x22 VK_PRIOR = 0x21
var mouse_control = sp.WindowFromPoint(sp.GetCurrentMousePoint(),false); mouse_control.PostMessageObj(WM_KEYDOWN, VK_PRIOR, 0x140001); sp.Sleep(10); mouse_control.PostMessageObj(WM_KEYUP, VK_PRIOR, 0x140001); but can't work under the activated state,does anyone know why?
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 7/12/2020(UTC) Posts: 6
|
|
|
|
|
StrokesPlus.net Forum
»
General Discussion
»
General Discussion
»
In chrome inactive state why PostMessageObj cannot send pagedown pageup
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close