Hi all!
Anyone have a way to move the mouse pointer on the screen?
Like mouse click will jump to a page and move the right 2 inches.
Thanks,
Tom
Professional Software Development Tools
Hi all!
Anyone have a way to move the mouse pointer on the screen?
Like mouse click will jump to a page and move the right 2 inches.
Thanks,
Tom
The only way I know how to do this is click the 'link' that will jump page, then grab the mouse and shift it so the pointer moves to the right about 2 inches! [img]/ubbthreads/images/icons/wink.gif[/img]
((Seriously, I would advise against such things tho ... may well upset the end user too much [img]/ubbthreads/images/icons/smile.gif[/img] ))
-
= Derek
["All glory comes from daring to begin" - fortune cookie]
This will move it to the upper left corner. I don't know how to get the X/Y position from AMS to move the mouse X number of pixels/twips, but play with this and I'm sure you can achieve what you want.
%DLLResult% = File.CallDLLFunction ( "%SysDir%\User32.dll", "SetCursorPos", "0,0")
<IR_ACTIONS_LIST>
<Action name="Call DLL Function">
<Type>143</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<FileName>%SysDir%\User32.dll</FileName>
<FunctionName>SetCursorPos</FunctionName>
<FunctionParameters>0,0</FunctionParameters>
<ReturnType>1</ReturnType>
<CallingConvention>1</CallingConvention>
<Variable>%DLLResult%</Variable>
</Action>
</IR_ACTIONS_LIST>