Re: desktop picture
Re: desktop picture
- Subject: Re: desktop picture
- From: "Nigel Garvey" <email@hidden>
- Date: Fri, 13 Jan 2006 00:37:45 +0000
Martin Orpen wrote on Thu, 12 Jan 2006 19:25:36 +0000:
>> Is there a reliable way to _get_ the current desktop picture?
>
>My lazy way uses the last line of this script:
>
>
>tell application "Finder"
> set foo to folder "Desktop Pictures" of folder "Caches" of folder
>"Library" of startup disk
> set bar to POSIX path of (first item of (get files of foo) as alias)
>end tell
>do shell script "strings " & quoted form of bar
>
>-->"/Library/Desktop Pictures/ideaDesktop01.pdf"
That doesn't work here, Martin. It returns a lot of interesting
information about the inside of the wrong file.
NG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden