moving cursor with .vbs file?

L

Larry

I have code in Word 97 that moves the cursor to a given point on
the screen. It works in conjunction with a Public Declaration at the
top of the module.

The public declaration:

Public Declare Function SetCursorPos Lib "user32" _
(ByVal X As Long, ByVal Y As Long) As Long


The code used in the macro:

ret = SetCursorPos(180, 80)


Is it possible to make the same kind of thing happen with a .vbs file?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top