Author |
Topic |
|
rootstock
21 Posts |
Posted - 05/01/2014 : 01:46:44
|
local tp = acGetWindowTop(nil, gsx, gsy) local rt = acGetMonitorRight(acGetMonitorFromPoint(gsx, gsy), 1) local bt = acGetMonitorBottom(acGetMonitorFromPoint(gsx, gsy), 1)
if gsy < (bt / 3) then if gsx < (rt / 2) then else
end elseif gey > (bt / 3) and gey < ((bt / 3)*2) then if gsx < (rt / 2) then
elseif gsx > (rt / 2) and gsx < (rt - 50) then gShowScreenMessage("middle right" , 1, gsx, gsy) -- it works, but always shows "middle right" , my purpuse is when the mouse drawing not close the right margin, it shows "middle right" acSendKeys("%{PGDN}") else gShowScreenMessage("Middle Margin", 1, gsx, gsy) -- this one not working, when i draw to edge of right, it should show "Middle Margin" acSendKeys("^{PGDN}") end else end |
Edited by - rootstock on 05/01/2014 01:49:39 |
|
rootstock
21 Posts |
Posted - 05/01/2014 : 02:14:27
|
actually, my question is how to define the mouse movement"draw to right mergin" |
|
|
|
Topic |
|
|
|