![]() Set currentPic_path to text 2 thru end of 2nd paragraph of (do shell script "dscl. A developer seed version of Photos is being distributed to developers today. some minor jumping thru hoops to get actual path Photos for OS X, the modern photo library that Apple built from the ground up for Mac computers, is making its debut. must read current value in order to change it iPhoto Buddy allows you to use more than one photo library with Apples iPhoto as well as with its companion programs, iMovie and iDVD. note: I think that in 10.4 you had to use the value in kMDItemContentType for 'type' Set newPic to choose file default location alias pic_container of type with prompt "Select picture:" Set pic_container to (path to library folder from local domain as text) & "User Pictures:" Tell application "System Events" to set theUser to name of current user Note that transparency is a property of the picture itself, so this won't always yield the desired result. Sadly, the picture's path cannot be read from JPEGPhoto. So, when you delete JPEGPhoto to get transparency respected, the actual picture reverts to Picture. When you set a new user picture thru System Preferences it is stored in 'JPEGPhoto', but 'Picture' is not changed. The JPEGPhoto attribute ignores transparency, so the picture displays in a white rectangle. I just got iPhoto 9.61 downloaded & set up & its just so great to be able to use that again rather than Photos. Ě new user has an attribute 'Picture', but not 'JPEGPhoto'. Thanks SO MUCH for the heads up re iPhoto working on Sierra/High Sierra, guys. You will need to enter an administrator’s password when prompted. ![]() As written it will ask you to select the picture you want to use, but it is easily changed to use a hard-coded file reference. It uses the shell command dscl to change the picture. Does anyone know a simple way to set the profile pic of the current user?Ī bit late perhaps, but here is a script that should do what you want.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |