Removing an OSX dock icon

Scott Morrow scott at
Fri Jul 18 07:44:13 EDT 2008

With the following I'm able to add an icon to the OSX dock.  I'm  
wondering if anyone knows (or would care to guess) how to remove an  
icon from the dock... besides dragging it off  :  )

-- line 1 is really long
put "defaults write persistent-apps -array-add  
integer></dict></dict></dict>';" into tCmd

-- line 2
put shell(tCmd)

-- line 3
  get shell("killall Dock")

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
email     scott at

More information about the use-livecode mailing list