11-27-2011 09:52 PM
I'm using Camtasia 7 to capture the cursor movement in the screen. I can record the mouse movement but it dousn't record the cursor position when instead of the mouse, I am controling the cursor position with SetCursorPos dll in my vi. Does anybody know why?
Thanks,
Elnaz
11-28-2011 08:28 AM
Why are you asking about an issue with Camtasia 7 on a LabVIEW forum?
11-28-2011 09:47 AM
Because I'm recording the cursor movement on front panel. As I mentioned it captures cursor movement with mouse but not the cursor movements that is caused by my vi (SetCursorposition).
11-28-2011 10:24 AM
I still don't see what this has to do with LabVIEW - you're using a third-party capture tool and you say the tool is not recording the mouse position. Are you saying this happens only with LabVIEW front panels? Perhaps the tool doesn't register changes in mouse movemements when the cursor is moved programmatically, whether it's done from a LabVIEW VI or a C program.
11-28-2011 01:05 PM
I'll try to explain as best as I can. I do have a LabVIEW VI where I get the control of a cursor position using an external device. Inside that VI, I call the "SetCursorPos" dll to get the control of window's cursor position. Then, as a record I want to capture the cursor movement on the screen with that external device; however, the Camtasia software doesn't capture the movement caused by the external device. I thougt other people here may have used the software or other similar software for the same purpose and they may know the trick or the reason for this experience.
Thank you
Elnaz
11-28-2011 01:25 PM
So basically you set the cursor position with SetCursorPos and then try to get the cursor position in LabVIEW using a dll provided by Camtasia and called from the call library function node? It'd probably help if you post your VI or at least a screenshot of it. Also, are you sure that SetCursorPos succeed? Do you check the return value of the function call?
11-28-2011 02:30 PM
The Camtasia software doesn't provide a dll; it is just a screen recording software (like an internal camera) to capture what happens in the screen.
Yes, the SetCursorPos.dll does perfectly work and I can control the cursor position and go and click on some targets.
The problem is that for some reason the cursor movement produced by SetCursorPos.dll inside my VI is invisible to Catasia but Camtasia does capture the real mechanical mouse movements on the screen.
11-28-2011 02:50 PM
More likely than not the Camtasia software is using OS events to track movement of the cursor. When you programmatcally set the position in LabVIEW I doubt any OS event is firing, therefore the movement can't be tracked. I don't thing you can accomplish what you want. Also, as mentioned this is really an issue with the third party software and not a LabVIEW issue.