What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] close or signoff when "winkey + L" is pressed.

Pages: (4): « First [ 1 ] 2 3 4 » Last »
[Request] close or signoff when "winkey + L" is pressed.
Author: Message:
ezkim0x
Junior Member
**

Avatar

Posts: 29
– / Male / –
Joined: Jun 2006
O.P. [Request] close or signoff when "winkey + L" is pressed.
whenever I leave my computer to go somewhere I always leave my computer on.. but I'm in the habit of pressing the windows key + L to lock my machine while I'm gone.

I know I can simply signoff or close out msn.. but would it be possible to create a script where it automatically logs off or closes msn when I press that key combination?
Jon - Just Take This Time And Think
hp / realpics
03-06-2007 01:46 AM
Profile PM Web Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Request] close or signoff when "winkey + L" is pressed.
You can use Status Key for it ;).

Wait... The script will not perform the function with WinKey+L because the same HotKey is being used by windows which can't be overwritten. But a script can be made which has its own HotKey which signs you off and locks the computer aswell :)

Code for locking the workstation
code:
Interop.Call("User32", "LockWorkStation");

This post was edited on 03-06-2007 at 10:29 AM by Felu.
03-06-2007 10:26 AM
Profile E-Mail PM Web Find Quote Report
ezkim0x
Junior Member
**

Avatar

Posts: 29
– / Male / –
Joined: Jun 2006
O.P. RE: [Request] close or signoff when "winkey + L" is pressed.
I haven't wrote a plus script before, and not real sure how.

do you think you could write a script that would sign off+lock the system like you said?

you could make the new key be alt+L or ctrl+L
Jon - Just Take This Time And Think
hp / realpics
03-06-2007 10:35 AM
Profile PM Web Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [Request] close or signoff when "winkey + L" is pressed.
quote:
Originally posted by ezkim0x
do you think you could write a script that would sign off+lock the system like you said?
I can write a very basic script with no interface or options except for enable and disable... Will that do?
03-06-2007 10:38 AM
Profile E-Mail PM Web Find Quote Report
Cool Fruits
Junior Member
**

Avatar
Help Me help YOU <_<

Posts: 42
Reputation: -7
33 / Male / –
Joined: Mar 2007
RE: [Request] close or signoff when "winkey + L" is pressed.
Download MDL and use the option to click on mousewheel button and move the mouse in a certain direction. Which will sign out messenger. Simple.. Already done.
Here to help =)
03-06-2007 10:38 AM
Profile E-Mail PM Find Quote Report
ezkim0x
Junior Member
**

Avatar

Posts: 29
– / Male / –
Joined: Jun 2006
O.P. RE: RE: [Request] close or signoff when "winkey + L" is pressed.
quote:
Originally posted by Felu
quote:
Originally posted by ezkim0x
do you think you could write a script that would sign off+lock the system like you said?
I can write a very basic script with no interface or options except for enable and disable... Will that do?


yeah that would be great.
Jon - Just Take This Time And Think
hp / realpics
03-06-2007 10:42 AM
Profile PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [Request] close or signoff when "winkey + L" is pressed.
I made a script a while back that changes my status when I lock Windows, but I never released it.
I'm going to work on this script now and I will add a preferences window to it to change what happens when you lock/unlock windows.

----------
I'm planning to just have a few options for each:
Lock:
  Sign out
  Change status to x
Unlock:
  Sign in
  Change status to x (previous status by default)
  Nothing

If you want any more options, just post here and I'll see what I can do...
03-06-2007 11:04 AM
Profile PM Find Quote Report
ezkim0x
Junior Member
**

Avatar

Posts: 29
– / Male / –
Joined: Jun 2006
O.P. RE: RE: [Request] close or signoff when "winkey + L" is pressed.
quote:
Originally posted by Eljay
I made a script a while back that changes my status when I lock Windows, but I never released it.
I'm going to work on this script now and I will add a preferences window to it to change what happens when you lock/unlock windows.

----------
I'm planning to just have a few options for each:
Lock:
  Sign out
  Change status to x
Unlock:
  Sign in
  Change status to x (previous status by default)
  Nothing

If you want any more options, just post here and I'll see what I can do...



that would be sweet as well.

have an option to disable the unlock though.. although I do like the idea.
Jon - Just Take This Time And Think
hp / realpics
03-06-2007 11:08 AM
Profile PM Web Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: [Request] close or signoff when "winkey + L" is pressed.
quote:
Originally posted by Eljay
I made a script a while back that changes my status when I lock Windows, but I never released it.
I'm going to work on this script now and I will add a preferences window to it to change what happens when you lock/unlock windows.

----------
I'm planning to just have a few options for each:
Lock:
  Sign out
  Change status to x
Unlock:
  Sign in
  Change status to x (previous status by default)
  Nothing

If you want any more options, just post here and I'll see what I can do...


I like the sound of that too, would be a lot easier than changing statuses everytime I lock/unlock (Y)
[Image: jumbled.png]
03-06-2007 11:27 AM
Profile PM Find Quote Report
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
RE: [Request] close or signoff when "winkey + L" is pressed.
quote:
Originally posted by ezkim0x

have an option to disable the unlock though.. although I do like the idea.
I think the option 'Nothing' (in the Unlock menu) which Eljay mentions is exactly that :p

quote:
Originally posted by Eljay
Lock:
  Sign out
  Change status to x
Unlock:
  Sign in
  Change status to x (previous status by default)
  Nothing
It would be good to have 'Nothing' for Lock/Logout as well because for example a user may want to change their status to 'phone' and log out while they go and take the call in another room, or they may want to change their status to 'lunch' while they have their lunch etc. so they do not want something to overwrite this status (and obviously it would be annoying if you have to configure it each time - especially in the case of a phone call where there isnt much time :P) whereas when they come back and login they want their status to be online again.

This post was edited on 03-06-2007 at 11:35 AM by Volv.
03-06-2007 11:34 AM
Profile PM Find Quote Report
Pages: (4): « First [ 1 ] 2 3 4 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On