Re: scripting code to move mouse pointer

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

From: AlmostBob (anonymous1_at_discussions.microsoft.com)
Date: 06/26/04


Date: Sat, 26 Jun 2004 15:10:54 -0300

search for a dowload, called mouseaway deigned to move the mouse cursor out of
focus, may be what you require, cant remember the url

-- 
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" <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
    ... But I'd like the same capability in | Windows. ... 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. ...
    (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: Option compact all folders fails and loses contents of folder
    ... > I've used 'compact all folders' many times without incident. ... Turn off email scanning in your antivirus software. ... Windows 2000 and Windows XP. ... Windows XP Service Pack 2 Resources for IT Professionals ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)