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: Add/Remove from Dock?



On Jun 27, 2006, at 12:08 PM, Laine Lee wrote:

On 6/27/06 12:49 PM, "Christopher Nebel" <email@hidden> wrote:

The problem is that you're one level lower than you think.

Thanks.

This may also explain why I'd rather shop at the strip center than at the
mall.


So, would you consider searching for the desired entry first to be one
valid solution? What might be better?

Given the precise task of adding an item to an array but only if it's not already there, searching for it first is certainly a way to do it. In fact, it's really the *only* way to do it. Since what you're really trying to do is add TextEdit to the Dock, then there are other ways, but yours is probably the cleanest one I've seen yet.



--Chris Nebel AppleScript Engineering

_______________________________________________
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

This email sent to email@hidden
References: 
 >Re: Add/Remove from Dock? (From: Laine Lee <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.