Can I make a Shortcut that changes lid closing function?
-
Uncletoad
- Freshman Member
- Posts: 96
- Joined: Wed Sep 22, 2004 7:27 pm
- Location: Columbus, Ohio
- Contact:
Can I make a Shortcut that changes lid closing function?
My workshop is quite dusty and a known computer killer. As such I like to close the lid on my T42 when I'm at work but leave it running Outlook so I can get my email and apointment notices when they occur. So I set it for "do nothing" when closing the lid at the shop.
When I'm elsewhere I'd prefer it was in standby when I open and close the lid. So I change that setting when I leave.
Any quicky shortcut configuration ideas so I could change that back and forth on the fly?
When I'm elsewhere I'd prefer it was in standby when I open and close the lid. So I change that setting when I leave.
Any quicky shortcut configuration ideas so I could change that back and forth on the fly?
Salutations from the Land of Cows
Phil Maneri
T42p 2373KXU 15” UXGA
T42 2373K9U 14.1 XGA x2
T42 2373B21 14.1 XGA
Looking for a T42p 2373Q1U UXGA
Phil Maneri
T42p 2373KXU 15” UXGA
T42 2373K9U 14.1 XGA x2
T42 2373B21 14.1 XGA
Looking for a T42p 2373Q1U UXGA
This might get you started. Basically you are going to need to send a command line call to the program, here is one that does suspend:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
http://www.fixup.net/tips/suspend/suspend.htm
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
http://www.fixup.net/tips/suspend/suspend.htm

T61p (6459CTO)|T9500|15.4" WUXGA-4GB|200GB FDE|256MB nVidia FX570M|Atheros|Cingular WWAN|openSuSE 11.0
T42p (2373GVU)|PentiumM 1.8GHz|2GB|100GB|ATI FireGL T2|Atheros|openSuSE 10.3
WaterField Designs Cargo + Sleeve
-
Uncletoad
- Freshman Member
- Posts: 96
- Joined: Wed Sep 22, 2004 7:27 pm
- Location: Columbus, Ohio
- Contact:
Excellent. The reg file sounds like the thing. I'm not entirely sure how to do that being a guitar player and all but I'll figure it out. Thanks for the tips.
Salutations from the Land of Cows
Phil Maneri
T42p 2373KXU 15” UXGA
T42 2373K9U 14.1 XGA x2
T42 2373B21 14.1 XGA
Looking for a T42p 2373Q1U UXGA
Phil Maneri
T42p 2373KXU 15” UXGA
T42 2373K9U 14.1 XGA x2
T42 2373B21 14.1 XGA
Looking for a T42p 2373Q1U UXGA
Hmmm...
This opens up some interesting possibilities.
Old Triumphs (the car) used to have a failure mode where a blocking diode in the dashboard would short. When that happened putting on the parking brake would cause the brake light to illuminate, which would then energize the starting circuit through the shorted diode, which would cause the motor to start. Very clever, those Lucas engineers.
How about a hack that plays the "You've got mail!" wav file every time the lid is closed...
Ed Gibbs
This opens up some interesting possibilities.
Old Triumphs (the car) used to have a failure mode where a blocking diode in the dashboard would short. When that happened putting on the parking brake would cause the brake light to illuminate, which would then energize the starting circuit through the shorted diode, which would cause the motor to start. Very clever, those Lucas engineers.
How about a hack that plays the "You've got mail!" wav file every time the lid is closed...
Ed Gibbs
-
Uncletoad
- Freshman Member
- Posts: 96
- Joined: Wed Sep 22, 2004 7:27 pm
- Location: Columbus, Ohio
- Contact:
Are registry imports only available to the Administrator user or can any identity use them? I can't seem to make those take and I suspect it's because I've been running as a "user".
Salutations from the Land of Cows
Phil Maneri
T42p 2373KXU 15” UXGA
T42 2373K9U 14.1 XGA x2
T42 2373B21 14.1 XGA
Looking for a T42p 2373Q1U UXGA
Phil Maneri
T42p 2373KXU 15” UXGA
T42 2373K9U 14.1 XGA x2
T42 2373B21 14.1 XGA
Looking for a T42p 2373Q1U UXGA
Power Users should be able to do it too, as they can install software which implies access to the registry. (in essence it does these days, unfortunately) Anyone who can install should be able to mess with registry.
Quick overview of perms I found:
http://www.wellesley.edu/Computing/WinXP/wxpgroups.html
Quick overview of perms I found:
http://www.wellesley.edu/Computing/WinXP/wxpgroups.html

T61p (6459CTO)|T9500|15.4" WUXGA-4GB|200GB FDE|256MB nVidia FX570M|Atheros|Cingular WWAN|openSuSE 11.0
T42p (2373GVU)|PentiumM 1.8GHz|2GB|100GB|ATI FireGL T2|Atheros|openSuSE 10.3
WaterField Designs Cargo + Sleeve
-
Uncletoad
- Freshman Member
- Posts: 96
- Joined: Wed Sep 22, 2004 7:27 pm
- Location: Columbus, Ohio
- Contact:
As far as I can tell on XP version I'm using there are Computer Administrators, Limited Users and Guests.
I've been using an account I created that is a Computer Administrator account ("Uncletoad") so it should have all the permissions of the one called "Administrator". But "Adminstrator" seems to be in some higher spot than "Uncletoad" because Administrator can delete Uncletoad but Uncletoad cannot delete administrator.
I know this is stupid stuff.
Should I just start using "Adminstrator" and migrate all my stuff over?
Or just go back to fixing guitars....
I've been using an account I created that is a Computer Administrator account ("Uncletoad") so it should have all the permissions of the one called "Administrator". But "Adminstrator" seems to be in some higher spot than "Uncletoad" because Administrator can delete Uncletoad but Uncletoad cannot delete administrator.
I know this is stupid stuff.
Should I just start using "Adminstrator" and migrate all my stuff over?
Or just go back to fixing guitars....
Salutations from the Land of Cows
Phil Maneri
T42p 2373KXU 15” UXGA
T42 2373K9U 14.1 XGA x2
T42 2373B21 14.1 XGA
Looking for a T42p 2373Q1U UXGA
Phil Maneri
T42p 2373KXU 15” UXGA
T42 2373K9U 14.1 XGA x2
T42 2373B21 14.1 XGA
Looking for a T42p 2373Q1U UXGA
You can't delete the Administrator account. Rename it yes, but not delete it.
IMHO, best practice is to rename Administrator to something else, give it a nasty password, and then don't use it at all. If you need Admin, make your own account and use a good password there too. Really though, you should use a normal user account and only become admin for admin tasks. You can make shortcuts that use "runas" to run a program with different credentials - let you launch regedit as administrator, even though your account is a normal user, for instance. This way you can do admin tasks without having to logout and back in. It's a pain in the [censored] to set it all up that way though, which is why I'm lazy and I just make my own account an Administrator and leave it at that.
If you're trying to figure out what registry key you need to change, go get a tool called "regmon", start it up, and then make the change, and then look at regmon's output. You should be able to find the section in the registry you need to modify to change the lid action...
IMHO, best practice is to rename Administrator to something else, give it a nasty password, and then don't use it at all. If you need Admin, make your own account and use a good password there too. Really though, you should use a normal user account and only become admin for admin tasks. You can make shortcuts that use "runas" to run a program with different credentials - let you launch regedit as administrator, even though your account is a normal user, for instance. This way you can do admin tasks without having to logout and back in. It's a pain in the [censored] to set it all up that way though, which is why I'm lazy and I just make my own account an Administrator and leave it at that.
If you're trying to figure out what registry key you need to change, go get a tool called "regmon", start it up, and then make the change, and then look at regmon's output. You should be able to find the section in the registry you need to modify to change the lid action...
New Biz: 4062-27U - W500 C2D T9600, 15.4" 1920x1200 (FireGL V5700), 160G 7200rpm, 4G PC3-8500, DVDRW, Intel 5100, BT, TurboMem, T60p KBD 
Old Biz: 2613-CTO - T60p Core 2 T7200, 14" 1400x1050 (FireGL V5250), 100G 7200rpm, 3G PC2 5300, DVDRW, Intel a/g , BT
Old Biz: 2613-CTO - T60p Core 2 T7200, 14" 1400x1050 (FireGL V5250), 100G 7200rpm, 3G PC2 5300, DVDRW, Intel a/g , BT
-
- Similar Topics
- Replies
- Views
- Last post
-
-
x230 compatible fans (want to upgrade and make it quieter)
by blueredcat123 » Sun Jan 01, 2017 5:41 pm » in ThinkPad X200/201/220 and X300/301 Series - 4 Replies
- 982 Views
-
Last post by mj0
Wed Jan 04, 2017 4:52 pm
-
-
-
Camera LED does not work? Make sure it's not taped over. :)
by dr_st » Sat Feb 18, 2017 12:00 pm » in ThinkPad X200/201/220 and X300/301 Series - 0 Replies
- 802 Views
-
Last post by dr_st
Sat Feb 18, 2017 12:00 pm
-
-
-
Does it make sense to use mSATA SSD for data partition?
by serpico » Wed Apr 19, 2017 9:14 am » in ThinkPad T430/T530 and later Series - 11 Replies
- 621 Views
-
Last post by axur-delmeria
Thu Apr 20, 2017 12:36 pm
-
-
-
Frankenpad T60p T9300 UXGA 9 cell 3GB RAM MAKE OFFER
by j.harris » Mon May 08, 2017 6:50 pm » in Marketplace - Forum Members only - 0 Replies
- 333 Views
-
Last post by j.harris
Mon May 08, 2017 6:50 pm
-
Who is online
Users browsing this forum: No registered users and 38 guests







