FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

OS X Logout/Login Script

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Salling Software Forums Forum Index -> Archives
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Jan 22, 2004 4:39 pm    Post subject: OS X Logout/Login Script Reply with quote

Hello,
A maybe useful script for the clicker i was thinking about would be
to logout the
current user and login to a specific user with password.

Is there a logout action for the finder?

Regards
Ian


Back to top
marook
Hero


Joined: 30 Jul 2004
Posts: 336
Location: Copenhagen

PostPosted: Thu Jan 22, 2004 6:12 pm    Post subject: Re: OS X Logout/Login Script Reply with quote

Hi...

On 22. jan 2004, at 15:39, ianjste wrote:

> A maybe useful script for the clicker i was thinking about would be
> to logout the current user and login to a specific user with password.

Nice idea, but as Clicker is a User Process, it wont be able to log you=20
back in again, once you log out!
The only way I can see, is to script(via GUI?) the Fast User Switching,=20
to change user.

> Is there a logout action for the finder?

Nope!, but you do have a restart, and shutdown command... ;-)


____________________________________________
Jakob Peterh=E4nsel
Network Consultant
Tel: +45 7022 1014
Fax: +45 7022 1013
Mob: +45=A022 68 49 61
jp@n...
www.NetPoint.com



The information contained in this message is confidential or protected=20
by law.
If you are not the intended recipient, please contact the sender and=20
delete this message. Any unauthorised copying of this message or=20
unauthorised distribution of the information contained herein is=20
prohibited.

Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Guest






PostPosted: Thu Jan 22, 2004 6:49 pm    Post subject: Re: OS X Logout/Login Script Reply with quote

Thanks, yes of course i forgot about that, as soon as you've logged out, clicker is now
longer running to log one back in.

Do you know where I can get a list of all the applescript variables, finder etc.?

Ian

>
> > A maybe useful script for the clicker i was thinking about would be
> > to logout the current user and login to a specific user with password.
>
> Nice idea, but as Clicker is a User Process, it wont be able to log you
> back in again, once you log out!
> The only way I can see, is to script(via GUI?) the Fast User Switching,
> to change user.
>
> > Is there a logout action for the finder?
>
> Nope!, but you do have a restart, and shutdown command... ;-)
>



Back to top
Guest






PostPosted: Thu Jan 22, 2004 7:16 pm    Post subject: Re: OS X Logout/Login Script Reply with quote

Hi

System Events has the logout function.

---------

tell application "System Events"
log out
keystroke return
end tell

--------

Commands:

Open Script Editor goto dictionary then choose app.

Best M.


Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Salling Software Forums Forum Index -> Archives 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