Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Windows 8 Start screen clicks?


  • Please log in to reply
3 replies to this topic
TheV
  • Members
  • 3 posts
  • Last active: Nov 12 2012 01:53 PM
  • Joined: 02 Nov 2012
Hi,

I'm fairly new to AHK. I've used some scripts for XBMC and Logitech (buggy mouse) in the past, but I've not yet created any of my own.

I'm trying to create a script that will perform mouse clicks on the Windows 8 Start screen.
Is this possible? If yes, how do I go about doing this?
Basically what I want to do is click on the currently logged in user (top right account picture) and from there select a new user from the resulting dropdown list to switch to.

Any assistance would be greatly appreciated.

Regards
V

wrecklass
  • Members
  • 31 posts
  • Last active: Aug 22 2015 10:39 PM
  • Joined: 19 Mar 2007
Try usig the AutoScriptWriter to give you a hand.

There are several problems with doing this, however. The Metro screens are full screen, and addressing them will require absolute coordinates I think. Which means your script may not work on systems with different monitor resolutions. You might find a way to work around it.

I came up with this:

Send, {LWINDOWN}{LWINUP}
MouseClick, left, 1473, 64
Sleep, 100
MouseClick, left, 73, 28
Sleep, 100

On my system this opened the Start screen and clickd on my user picture which opened my user page.

You might be able to work through what you want to do in this way.

TheV
  • Members
  • 3 posts
  • Last active: Nov 12 2012 01:53 PM
  • Joined: 02 Nov 2012
wrecklass, thanks a million for the starting point :)

I'm going to play around with this a bit and see if I can get things going!

TheV
  • Members
  • 3 posts
  • Last active: Nov 12 2012 01:53 PM
  • Joined: 02 Nov 2012
I got this working thanks to wrecklass. Much appreciated sir!