• 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: Remove icon from dock after adding it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove icon from dock after adding it


  • Subject: Re: Remove icon from dock after adding it
  • From: Luther Fuller <email@hidden>
  • Date: Thu, 23 Jul 2009 13:17:29 -0500

On Jul 23, 2009, at 12:21 PM, Laine Lee wrote:

On 7/23/09 12:01 PM, "Luther Fuller" <email@hidden> wrote:

...

Thanks. That's good, but I think it requires Leopard, no? I want to make use of it in Tiger, too. Anyway, I kept looking and also found this (http://forums.macosxhints.com/showthread.php?t=39428):

Well ... sort of. I am running Leopard. But the technique also works in Tiger. What is different is the format of the preference file "com.apple.dock.plist". If you want to do this in Tiger, you will of course use Property List Editor to see the format of the file in Tiger and write code in response to what you find. But, the technique is the same ... and it works in Tiger, too!

In one of my applications, I have this code ...

if sysIsTiger then
set newTileData to {|file-data|:newFileData, |file-label|:the result, |file-type|:2}
else -- system is Leopard
set newTileData to {arrangement:0, displayas:1, |file-data|:newFileData, |file-label|:the result, |file-type|:2, showas:3}
end if

which accounts for the differing Tiger and Leopard formats.

 _______________________________________________
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: 
 >Re: Remove icon from dock after adding it (From: Laine Lee <email@hidden>)

  • Prev by Date: Simulate click on a button in a flash object
  • Next by Date: Re: Photoshop Action
  • Previous by thread: Re: Remove icon from dock after adding it
  • Next by thread: Re: Remove icon from dock after adding it
  • Index(es):
    • Date
    • Thread