| Samurize.com |
Chat
Forum Help
Search
Member List
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| KMDonlon |
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
I posted at Neowin with no answers.... thought someone here might have an answer... I want a way to open the log off/ switch user dialog box via a shortcut just like when you click the log off button on your start menu. I only want ways to show the Windows dialog... I already know all the scripting methods to simply log off.
Any Ideas? Anyone? Attached Image (Click thumbnail to expand)
-------------------- |
| uziq |
Posted: Apr 5 2008, 01:16 PM
|
||
The Pluginator![]() ![]() ![]() ![]() ![]() ![]() Group: Admin
Joined: Sep 25 2003
Posts: 2,599
Offline |
This is the only way I know of to open the built-in "Log Off Windows" dialog. It briefly flashes the Start menu though.
A plugin could potentially be made to allow for a custom dialog which has the same function. http://articles.techrepublic.com.com/5100-22-5030366.html Attached File ( Number of downloads: 260 )
ShutdownPrompt.zip
|
||
| KMDonlon |
Posted: Apr 5 2008, 04:11 PM
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
It opens the start menu on my box only
-------------------- |
| uziq |
Posted: Apr 5 2008, 06:38 PM
|
The Pluginator![]() ![]() ![]() ![]() ![]() ![]() Group: Admin
Joined: Sep 25 2003
Posts: 2,599
Offline |
hmm.. what about manually? Ctrl+ESC, L.
Maybe it needs a brief pause before L is pressed..? |
| KMDonlon |
Posted: Apr 5 2008, 08:02 PM
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
Works manually, how do you add a short pause into the .vbs?
-------------------- |
| uziq |
Posted: Apr 5 2008, 09:22 PM
|
The Pluginator![]() ![]() ![]() ![]() ![]() ![]() Group: Admin
Joined: Sep 25 2003
Posts: 2,599
Offline |
wscript.sleep x
x = milliseconds |
| KMDonlon |
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
That did the trick... 1 millisecond works fine. A small flash of the start menu before the dialog but hell, it does work. You are 'da man
![]() Thanks a bunch -------------------- |
| RobertMB |
Posted: Apr 8 2008, 06:25 PM
|
||
Samurai![]() ![]() ![]() ![]() Group: Member
Joined: Jul 12 2007
Posts: 195
Offline |
-------------------- ![]() USER MIGRATED TO SAMURIZE.US |
||
| KMDonlon |
Posted: Apr 8 2008, 06:31 PM
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
That logs off Robert, I already used that code but I wanted to actually bring up the windows dialog, not simply log off.
-------------------- |
| RobertMB |
Posted: Apr 9 2008, 01:20 AM
|
||
Samurai![]() ![]() ![]() ![]() Group: Member
Joined: Jul 12 2007
Posts: 195
Offline |
you mean this? guess how it's triggered. That's working on XP Professional SP 2, dunno what you have.
>> link input where you'd like: wscript.exe scripts\<yourscriptfile.vbs> logoffthebox *edit: missed the stupid end if at the end This post has been edited by RobertMB on Apr 9 2008, 04:11 AM Attached Image (Click thumbnail to expand)
-------------------- ![]() USER MIGRATED TO SAMURIZE.US |
||
| KMDonlon |
Posted: Apr 9 2008, 07:59 AM
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
XP Pro SP2 here Robert, I want the log off / switch users dialog, not the shutdown dialog. See the first post in this thread.
-------------------- |
| RobertMB |
Posted: Apr 9 2008, 08:54 AM
|
Samurai![]() ![]() ![]() ![]() Group: Member
Joined: Jul 12 2007
Posts: 195
Offline |
I see. Sorry. I could swear I had that Key-Icon to log off the User in there as well at one time, but I can't remember how.
Maybe enabling fast user Switch does the Trick, but I don't know. -------------------- ![]() USER MIGRATED TO SAMURIZE.US |
| GZT |
Posted: Apr 9 2008, 01:40 PM
|
Samurai![]() ![]() ![]() ![]() Group: Samurize VIP
Joined: Jul 13 2004
Posts: 211
Offline |
Don't worry... I missed it as well and gave him my Samurize-powered shutdown dialog and it wasn't what he wanted either (even though he thought it was cool)
-------------------- My feature requests:
------------------------- - Commandline Positioning - Got it! - Config Grouping - Configs appear in Taskbar - Advanced Data in Tooltips - Does this already! - Client and Plugin Broadcasting - (PluginPak) Minibrowser Additions #1 - (PluginPak) Minibrowser Addition #2 - Special Script Inputs ------------------------- |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
|
![]() ![]() ![]() |
Integrated by Koudanshi v1.4E © 2004 Bulletin Board Module.
Powered by Invision Power Board(U) v1.31 Final © 2003 IPS, Inc.
Powered by Invision Power Board(U) v1.31 Final © 2003 IPS, Inc.























