Re: Change the Position of an disk icon on the desktop
Re: Change the Position of an disk icon on the desktop
- Subject: Re: Change the Position of an disk icon on the desktop
- From: John Baltutis <email@hidden>
- Date: Sat, 4 Oct 2003 12:52:40 -0700
On 10/3/03, Paul Skinner <email@hidden> wrote:
>
On Friday, October 3, 2003, at 12:26 PM, Andrew Oliver wrote:
>
> On 10/3/03 8:37 AM, "Walter Ian Kaye" <email@hidden>
>
> wrote:
>
>> At 12:13p +0200 10/03/2003, Michael Slomski didst inscribe upon an
>
>> electronic papyrus:
>
>>
>
>>> Does anybody know how to get the position of the disk icons and how
>
>>> to move
>
>>> them around
>
>>
>
>> In Mac OS (7/8/9), yes. In 10.x, no -- the X Finder is stupid, so you
>
>> can't.
>
>>
>
> Hmm... You SURE about that, boo? Seems to work for me:
>
>
>
> tell application "Finder"
>
> set thePos to position of disk 1
>
> end tell
>
>
>
> -->{ 240, 39 }
>
>
>
> also:
>
>
>
> tell application "Finder"
>
> set position of disk 1 to { 200, 100}
>
> end tell
>
>
>
> The only issue with setting the icon position is that the Finder takes
>
> a while to notice, even if you issue an 'update' command.
>
>
It works here too. However, I don't allow disks to show up on the
>
desktop. Nice!
AFAICT, these only change the disk icon's position within its parent window
(can only be set for an item in a window viewed as icons or buttons), not
WRT to the desktop in OS X. In OS 9 and earlier, it was its position on the
desktop.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.