Current Desktop Picture
Current Desktop Picture
- Subject: Current Desktop Picture
- From: Neil Laubenthal <email@hidden>
- Date: Tue, 29 Nov 2011 16:23:01 -0500
I've got the following that gives the name of the current desktop picture.
tell application "System Events"
set my_desktop to value of (property list item "LastName" of ¬
property list item "default" of property list item ¬
"Background" of property list file ¬
((path to preferences as Unicode text) & ¬
"com.apple.desktop.plist"))
display dialog my_desktop
end tell
Under Lion it tells me only the name for the picture on Desktop 1. Does anybody know how to modify it so that it either tells me the name of all active Desktop pictures or or the desktop I"m currently looking at? Unfortunately, this is beyond my limited scripting skills:-)
-----------------------------------------------
There are only three kinds of stress; your basic nuclear stress, cooking stress, and A$$hole stress. The key to their relationship is Jello.
neil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden