Mouse cursor position weirdness
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Mouse cursor position weirdness Expand / Collapse
Author
Message
Posted 10/28/2008 4:20:13 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/29/2008 11:17:35 AM
Posts: 6, Visits: 10
Hi, I'm having trouble with the mouse cursor position in scripting with EP 2.0.8.22. I see in your knowledge base that there's a possibly related issue that's fixed in 2.0.8.23, but of course I don't have access to that build.

I attach an example script that demonstrates the problem. (I ripped out a bunch of stuff that's not relevant to the problem.) The task is to estimate a distance on the screen from memory. The problem is in the part of the script where the mouse is used to increase/decrease the height of a line. I'm using SetCursorPos and SetCursorLimits, but there's a strange jump the first time you move the mouse after the looping starts. You can see it visually, and I also set up the script to dump the mouse position to Debug.Print whenever it changes. It appears as if SetCursorPos isn't really setting the cursor correctly, or something.

Could someone please let me know if I'm doing something wrong, or if this is triggering the bug that's fixed in 2.0.8.23? And if the latter, if I could get access to a more recent build?

Thanks,

-Harlan (paid user of 2.0 Pro)


  Post Attachments 
MouseCursorPosTest.es2 (3 views, 79.25 KB)
Post #2342
Posted 10/29/2008 9:29:01 AM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Forum Members
Last Login: Today @ 3:46:25 PM
Posts: 336, Visits: 894
HarlanHarris (10/28/2008)
... there's a possibly related issue that's fixed in 2.0.8.23, but of course I don't have access to that build.
...
-Harlan (paid user of 2.0 Pro)

Just wondering why you do not have access to EP2 2.0.8.22. As a paid and registered user of EP2, you can download both EP2 "base" and EP2 Pro 2.0.8.22 from the PST Downloads area.

-- David McFarlane, Professional Faultfinder
Post #2347
Posted 10/29/2008 11:19:31 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/29/2008 11:17:35 AM
Posts: 6, Visits: 10
David McFarlane (10/29/2008)
HarlanHarris (10/28/2008)
... there's a possibly related issue that's fixed in 2.0.8.23, but of course I don't have access to that build.
...
-Harlan (paid user of 2.0 Pro)

Just wondering why you do not have access to EP2 2.0.8.22. As a paid and registered user of EP2, you can download both EP2 "base" and EP2 Pro 2.0.8.22 from the PST Downloads area.

-- David McFarlane, Professional Faultfinder


Hi David. You're misreading... This is a problem in 2.0.8.22, which I have, and the Knowledge Base suggests it's maybe fixed in 2.0.8.23 and later versions, but those builds are apparently internal releases only. We haven't had any releases of EP2 from PST in, what, six months?
Post #2349
Posted 10/29/2008 12:15:37 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Forum Members
Last Login: Today @ 3:46:25 PM
Posts: 336, Visits: 894
Oops, thanks, I did misread.

-- David McFarlane, Professional Faultfinder
Post #2350
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 4:43pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.078. 11 queries. Compression Disabled.