Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2001
    Location
    Vernon Hills,IL,USA
    Posts
    33

    Grin Move the mouse pointer?

    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

  2. #2
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244

    Re: Move the mouse pointer?

    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]

  3. #3
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

    Re: Move the mouse pointer?

    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>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts