This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General Discussion
 General Discussion
 Any problem with these script ? please help, thank
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rootstock

21 Posts

Posted - 05/01/2014 :  01:46:44  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
actually, my question is how to define the mouse movement"draw to right mergin"
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000