Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 5th, 2024, 6:42 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Move mouse to cursor problem
PostPosted: January 12th, 2013, 6:30 pm 
Offline

Joined: April 29th, 2007, 11:45 am
Posts: 34
Location: England - Wales border
Opus: 9.02 Pro
OS: Windows 7
System: i5 2.27 4gb
I want a frame to follow the cursor, which I've done several times before on other publications ( I've used mouse move and move frame to cursor), but with my present one I'm working on I have a much larger page-1750 by 1024 (Plexus pub) than the standard 800 by 600.This seems to be causing the frame to lag behind the cursor as it moves progressively further right and down the page, so much so that it is a completely unusable function! Am I missing something or is this a bug?

Nick :(


For this message Nick Collins has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Move mouse to cursor problem
PostPosted: January 12th, 2013, 10:53 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
If this is what you're trying to do, it seems smooth enough here:

http://sandbox.interaktiv.co.uk/mouse.htm

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Move mouse to cursor problem
PostPosted: January 13th, 2013, 11:23 am 
Offline

Joined: April 29th, 2007, 11:45 am
Posts: 34
Location: England - Wales border
Opus: 9.02 Pro
OS: Windows 7
System: i5 2.27 4gb
Thanks Mack, thats exactly what I'm trying to do. The fact that you've got it to work easily got me investigating more thoroughly. I think I've cracked it. The object following cursor problem seems to happen when you choose 'Page resize' in chapter properties (no selection of limits) and also in publication properties when one chooses to display in a window. Either of these by themselves seems fine but together they cause the problem. I would be grateful if you could try the same and confirm.
I don't think this is a great problem to me because I think I'll just choose to'Display Fullscreen'for this publication unless you can easily see a way round it.

Thanks again,

Nick


For this message Nick Collins has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Move mouse to cursor problem
PostPosted: January 13th, 2013, 1:31 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Nick,

Just the resize option seems to kill it here. Must be a redraw of the screen issue. If you're happy to use scripting, you can control the update better.

Code:
while (true)
{
mp = GetMousePosition()

F1.SetPosition(mp.x,mp.y)
wait()

}


This is an endless loop (true) - you'd need to use a variable in-place of 'true' that toggles the bool value to false to break the loop if you want to control it.

'F1' is the frame following the mouse.

Have play and post back if it doesn't work.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Move mouse to cursor problem
PostPosted: January 14th, 2013, 8:07 pm 
Offline

Joined: April 29th, 2007, 11:45 am
Posts: 34
Location: England - Wales border
Opus: 9.02 Pro
OS: Windows 7
System: i5 2.27 4gb
Thanks Mack for your time on this. I'm now happy with my solution on this. I will simply publish as full screen which I think I prefer anyway in this case. You have however been very helpful. :D

Till next time,

Nick


For this message Nick Collins has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group