• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: desktop picture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: desktop picture
  • Next by Date: Warning dialog without buttons
  • Previous by thread: Re: desktop picture
  • Next by thread: [SUL] Two sided printing BUG
  • Index(es):
    • Date
    • Thread