Jump to content

[Sloved] MSN/Steam/Skype Status Change Online/Away


Recommended Posts

Heya,

I after searching the forums a while i quickly learnt i will be a long and very up-hill struggle to make this function proffesional. So i want this little thing which has the same functions but is just messy until i can get something better up

**This is for people who like me want something like this but trying to get it done correctly would be too hard :graduated:

Online

#NoTrayIcon
$CurrentPos = MouseGetPos()
WinSetState("Friends","",@SW_MINIMIZE)

MouseMove(-1790,60,0)
Mouseclick("Left")
MouseMove(-1799,82,0)
Mouseclick("Left")


MouseMove(-1890,605,0)
Mouseclick("Left")
sleep (75)
MouseMove(-1835,631,0)
Mouseclick("Left")

WinSetState("Friends","",@SW_RESTORE)
MouseMove(-1873,513,0)
Mouseclick("Left")

MouseMove(-1803,41,0)
Mouseclick("Left")

MouseMove(-1784,53,0)
Mouseclick("Left")
WinSetState("Friends","",@SW_MINIMIZE)
MouseMove($CurrentPos[0], $CurrentPos[1], 0)

For me MSN/Skype is always active whereas steam is hidden. So first click for drop-down, then click away, click skypes drop-down, click away, Restore steam, click steam to make it active, click steams drop away, click away. Very basic but it works ;)

while 1
    sleep(200)
$Pos = MouseGetPos()
    ToolTip($Pos[0] & ', ' & $Pos[1])
    WEnd
is what i used to find the mouse pos for all the boxes.

Hope this helps some people until i can find or make something better

**EDIT i also wrote a vbs script

dim extra

extra = "user32.dll,LockWorkStation"

Set WshShell = CreateObject("WScript.Shell")

WshShell.Run("""C:\Program Files (x86)\Scripts\00¦ Miscellaneous\Microsoft\OS\MouseMove.exe""")

WshShell.Run("""C:\Program Files (x86)\Scripts\00¦ Miscellaneous\Microsoft\OS\Away.exe""")

wscript.sleep 500

WshShell.Run("""C:\Windows\System32\rundll32.exe""" & extra)

Which moves the mouse middle screen "so left/right can be turned off to save power, runs the away script, waits half a second and then locks the pc"

To set it to online you will need to make a autoit that detects you logged in or using windows 7 task secudle for when u login.

Edited by IanN1990
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...