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: Walter Ian Kaye <email@hidden>
- Date: Fri, 3 Oct 2003 10:34:27 -0700
At 09:26a -0700 10/03/2003, Andrew Oliver didst inscribe upon an
electronic papyrus:
Hmm... You SURE about that, boo?
OMM, yes.
Seems to work for me:
tell application "Finder"
set thePos to position of disk 1
end tell
-->{ 240, 39 }
Is your disk really that far to the left? Wouldn't 740 be truer than 240?
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.
The issue I had is this:
When I tried to set the position over here--------------->*
it was placed *<--------------over there.
Although... I think I had only tried it in 10.1, so maybe it was
fixed in Jaguar?
-boo
_______________________________________________
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.