• 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: Getting array of Item names and Positions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting array of Item names and Positions


  • Subject: Re: Getting array of Item names and Positions
  • From: Rob Stott <email@hidden>
  • Date: Mon, 28 Jan 2008 15:26:40 +0000

Hi,

I'd probably do it like this;

tell application "Finder"
set theList to {}
set theProps to properties of items of desktop
repeat with thePropList in theProps
set theList to theList & {{theName:displayed name of item 1 of theProps, thePosition:desktop position of item 1 of theProps}}
end repeat
end tell

...there may well be a better/faster way - I'm sure folks here will shout if there is!

Good luck
Rob


Important: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of the communication is strictly prohibited. If you have received this communication in error, please notify the writer immediately by telephone and return the original message via postal service to the writer's attention at the above address. Thank you.

Watt Gilchrist Limited. Albion Mills, Albion Road. Bradford, BD10 9TQ
Registered in England
873405

 _______________________________________________
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

References: 
 >Getting array of Item names and Positions (From: development2 <email@hidden>)

  • Prev by Date: sending file aliases to iTunes for metadata processing
  • Next by Date: Re: Getting array of Item names and Positions
  • Previous by thread: Re: Getting array of Item names and Positions
  • Next by thread: Re: Getting array of Item names and Positions
  • Index(es):
    • Date
    • Thread