Re: question
Re: question
- Subject: Re: question
- From: John Delacour <email@hidden>
- Date: Thu, 24 Oct 2002 19:18:40 +0100
- Mac-eudora-version: 5.3a6
At 8:50 am -0400 24/10/02, kevin michael wrote:
why does this not work in OS10 yet works in OS9
tell application "Finder"
activate
select disk "HD_1"
if position of selection is not {-2000, -2000} then
set position of selection to {-2000, -2000}
else
set position of selection to {0, 0}
end if
end tell
This should work in either
tell app "Finder"
activate
tell item (get name of startup disk)
reveal
set {h, v} to its position
set {h, v} to {h - 2000, v - 2000}
set its position to {h, v}
end
end
Then, for fun, try it without the 'get'
JD
_______________________________________________
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.
References: | |
| >question (From: kevin michael <email@hidden>) |