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: Michael Slomski <email@hidden>
- Date: Fri, 03 Oct 2003 21:25:31 +0200
Hi all,
How long is 'takes a while to notice'?
set thePos to position of disk 1
will get values which are not the position of items on my desktop but of the
window of the desktop folder in users.
Changing positions will change the location of the items in that window, but
not on the desktop itself (OS X 10.2.8). Perhaps it is fixed in Panther or
broken with the .8 Update?
Michael
>
>
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.
>
>
Andrew
_______________________________________________
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.