The reason I want this is that I have various keyboard shortcuts that
open Windows folders, but if I've forgotten to move the mouse prior to
running the shortcut, and if the pointer ends up in the middle of the
newly opened folder or Explorer window, it makes the focus jump to the
file icon that it happens to fall on. So for example I open Explorer,
and instead of the focus being in the Explorer pane, it jumps to the
folder pane and then I have to correct it. I want to be able to avoid
this with a keyboard command (maybe running a .vbs file with a Winkey
assignment) without reaching for the mouse. In fact, if such scripting
code exists, I might combine it in my existing .vbs files that I use to
open various folders.
Sub MouseMove()
' This macro operates in conjunction with the
' Public Declare Function SetCursorPos Lib "user32" at the top of this
module.
' moves mouse pointer to place on screen marked by coordinates.
' (0,0) would be the upper left corner of computer screen
ret = SetCursorPos(180, 80)
End Sub
--
Adaware http://www.lavasoft.de
spybot http://security.kolla.de
AVG free antivirus http://www.grisoft.com
Panda online AntiVirus scan http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools http://www.pandasoftware.com/download/utilities/
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use
Grateful thanks to the authors/webmasters
"Larry" <larr...@att.net> wrote in message
news:O5XMbE6W...@TK2MSFTNGP10.phx.gbl...
Larry
(2) See what happens with...
"Control Panel, Mouse, Motion tab, enable Smart Move".
HOWEVER, that drove me NUTS the one/only time I tried it!
--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
should things get worse after this,
PCR
pcr...@netzero.net
"Larry" <larr...@att.net> wrote in message
news:O5XMbE6W...@TK2MSFTNGP10.phx.gbl...
Thanks.
Larry
However, I like it the other way.
--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
should things get worse after this,
PCR
pcr...@netzero.net
"Larry" <larr...@att.net> wrote in message
news:%23m7K%23rIXE...@TK2MSFTNGP10.phx.gbl...
| No "enable smart move" feature in Windows 98.
|
| Thanks.
| Larry
"PCR" <pcr...@netzero.net> wrote in message
news:e8glXi8W...@TK2MSFTNGP09.phx.gbl...