Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving disc icons



tell application "Finder"
activate
set diskCount to (count disks) - 3
set whichDisk to random number of diskCount
set pos to {}
set pos to desktop position of disk whichDisk
set rightMost to item 1 of pos
set topMost to item 2 of pos
set x to rightMost
repeat until x < 100
set x to x - 2
set desktop position of disk whichDisk to {x, topMost}
end repeat
set desktop position of disk whichDisk to pos
end tell
On Nov 5, 2009, at 5:26 PM, Bob Cuilla wrote:

I would like to move a disk volume icon on the desktop.  Can this be done with AS?

Bob Cuilla
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >moving disc icons (From: Bob Cuilla <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.