[Request] close or signoff when "winkey + L" is pressed. |
Author: |
Message: |
ezkim0x
Junior Member
Posts: 29
– / / –
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?
|
|
03-06-2007 01:46 AM |
|
|
Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
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 |
|
|
ezkim0x
Junior Member
Posts: 29
– / / –
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
|
|
03-06-2007 10:35 AM |
|
|
Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
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 |
|
|
Cool Fruits
Junior Member
Help Me help YOU <_<
Posts: 42 Reputation: -7
33 / / –
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.
|
|
03-06-2007 10:38 AM |
|
|
ezkim0x
Junior Member
Posts: 29
– / / –
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.
|
|
03-06-2007 10:42 AM |
|
|
Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
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 |
|
|
ezkim0x
Junior Member
Posts: 29
– / / –
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.
|
|
03-06-2007 11:08 AM |
|
|
vaccination
Veteran Member
Posts: 2513 Reputation: 43
32 / / –
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
|
|
03-06-2007 11:27 AM |
|
|
Volv
Skinning Contest Winner
Posts: 1233 Reputation: 31
35 / /
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
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 ) 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 |
|
|
Pages: (4):
« First
[ 1 ]
2
3
4
»
Last »
|
|