Re: scripting code to move mouse pointer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: PCR (pcrrcp_at_netzero.net)
Date: 06/26/04


Date: Sat, 26 Jun 2004 18:00:36 -0400


(1) Try Details View. I never saw anything like that happen in Details
View.

(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
pcrrcp@netzero.net
"Larry" <larry328@att.net> wrote in message
news:O5XMbE6WEHA.2792@TK2MSFTNGP10.phx.gbl...
| Is there a way, from within Windows, to move the mouse pointer to the
| corner of the screen using a keyboard command?  This is possible in
| Word, using the below macro.  But I'd like the same capability in
| Windows.
|
| 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
|
|
|


Relevant Pages

  • Re: a-squared and Trojan Scan
    ... Bring up Windows Explorer / Tools / Folder Options/ select VIEW Tab and look at all of settings listed. ... "CHECK" Display the contents of system folders. ... | 6/15/06 updates from Microsoft have been installed. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Another flaw in Windows XP
    ... It is not the opening of Windows Explorer although that can also show this ... This is a result of Internet Explorer 6. ... notice the folders populate by cascading. ... >> Windows Explorer populates with great rapidity on my computer. ...
    (microsoft.public.windowsxp.general)
  • Re: scripting code to move mouse pointer
    ... | Is there a way, from within Windows, to move the mouse pointer to the ... So for example I open Explorer, ... | this with a keyboard command (maybe running a .vbs file with a Winkey ... | open various folders. ...
    (microsoft.public.scripting.vbscript)
  • Re: directory listing
    ... The TreeView control is designed to let you you create a hierarchical, ... Explorer is based on TreeView controls. ... But if you want to manipulate folders and files, ... you need to do that can't be done in Windows Explorer? ...
    (microsoft.public.access.formscoding)
  • Re: IE TOOLBAR!
    ... You may even have to do more than is in my Spyware section of ... You should also empty your Internet Explorer Temporary Internet ... using Windows XP "prettifications". ... You should at least turn on the built in firewall. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)