FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

Logoff current user script?

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
Andreas
Junior Member


Joined: 22 Sep 2006
Posts: 21
Location: Oulu, Finland

PostPosted: Mon Oct 30, 2006 1:13 pm    Post subject: Logoff current user script? Reply with quote

Is there a script to log off current user? This would be useful when my child upstairs is not willing to logg off and come for dinner -- I could just log him off from downstairs. I do not want to use the shut down feature since the PC there is also a file server and a printer server.

EDIT: did this by combining the Shutdown script and the Lock the computer when leaving script ;-)
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Mon Oct 30, 2006 4:25 pm    Post subject: Reply with quote

Glad you got it sorted out, Andreas.

Please note that you're better off not changing any default scripts "in-situ"; instead, copy the script folder into My Documents\My Clicker Scripts\ and make your modifications there.

This way, you shouldn't run into problems when upgrading (later).

Best.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Andreas
Junior Member


Joined: 22 Sep 2006
Posts: 21
Location: Oulu, Finland

PostPosted: Mon Oct 30, 2006 11:26 pm    Post subject: Reply with quote

thanks, i'll do this. btw, what is the id for the script in the xml file? any rules?

also, actually the script just locks the machine, does not logoff - any hints on how to do this on XP?
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Tue Oct 31, 2006 7:24 pm    Post subject: Reply with quote

I think you'd be able to make it log off by passing other parameters to the command line (I do not know which, however).

As for UUID, please see this:

http://www.salling.com/forums/viewtopic.php?t=2930&highlight=uuid

Scroll down to the "The anatomy of a script package" section.

Best.
--
Jonas

[quote="Andreas"]thanks, i'll do this. btw, what is the id for the script in the xml file? any rules?

also, actually the script just locks the machine, does not logoff - any hints on how to do this on XP?[/quote]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KingMario
Newbie


Joined: 02 Nov 2006
Posts: 11

PostPosted: Fri Nov 03, 2006 6:02 am    Post subject: Reply with quote

shutdown -l
for windows 2000/xp or higher.
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group