Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Change user picture via script?

Change user picture via script?
Thread Tools
Professional Poster
Join Date: Jan 2001
Location: Between Sydney and Melbourne
Status: Offline
Reply With Quote
Jun 5, 2003, 07:20 PM
 
Does anyone know how to change the user (login) picture (automaticaly).

When you select your picture it seems to copy it somwhere, so modifying the original does not change the actual one on the login panel.

I want to be able to run an Applescript or Terminal script to change my user icon.

Is this possible???

$10 for the genius.
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jun 5, 2003, 10:45 PM
 
You can always use AppleScript for GUI scripting. It'll go through the motions for you so you don't have to.

I'm sure there is an easier, and much better way, but I don't know what it is.
     
Professional Poster
Join Date: Jan 2001
Location: Between Sydney and Melbourne
Status: Offline
Reply With Quote
Jun 5, 2003, 11:15 PM
 
Originally posted by Xeo:
You can always use AppleScript for GUI scripting. It'll go through the motions for you so you don't have to.

I'm sure there is an easier, and much better way, but I don't know what it is.
I though of that, I want to do it transparently in the background.

Thanks anyway!
     
Grizzled Veteran
Join Date: Feb 2001
Location: Germany
Status: Offline
Reply With Quote
Jun 6, 2003, 06:21 AM
 
Originally posted by moonmonkey:
I want to be able to run an Applescript or Terminal script to change my user icon.
Have a look at "niutil" in /usr/bin. The user picture is just a property in the netinfo database.
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jun 7, 2003, 03:59 PM
 
Originally posted by seb2:
Have a look at "niutil" in /usr/bin. The user picture is just a property in the netinfo database.
I didn't think of that. I suppose it doesn't need to be live since it only loads when you log out or boot.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:39 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2