• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem Adding an Application to the Dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem Adding an Application to the Dock


  • Subject: Re: Problem Adding an Application to the Dock
  • From: Laine Lee <email@hidden>
  • Date: Wed, 18 Jun 2008 11:30:48 -0500
  • Thread-topic: Problem Adding an Application to the Dock

On 6/17/08 11:10 AM, "Dave" <email@hidden> wrote:

> Hi All,
>
> I use the following handler to add a file to the dock. This works really well
> except if the file is already in the dock, it add it again! I'm having trouble
> figuring out the shell command to remove the file from the dock.
>

Can you use

do shell script "defaults find \"[your item]\""

to check for your item in the dock before deciding about adding it? That's
more complicated, of course, if your item might exist elsewhere in the
defaults.

--
Laine Lee


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Problem Adding an Application to the Dock (From: Dave <email@hidden>)

  • Prev by Date: Re: Shorhand for HD location
  • Next by Date: Strange Finder behaviour...
  • Previous by thread: Problem Adding an Application to the Dock
  • Next by thread: Re: Problem Adding an Application to the Dock
  • Index(es):
    • Date
    • Thread