Re: Remove icon from dock after adding it
Re: Remove icon from dock after adding it
- Subject: Re: Remove icon from dock after adding it
- From: Chris Page <email@hidden>
- Date: Thu, 23 Jul 2009 23:05:00 -0700
On Jul 23, 2009, at 10:21 AM, Laine Lee wrote: killall Dock
Two notes:
1. Don't use "killall Dock". That unilaterally kills the Dock process without giving Dock a chance to commit any unsaved changes. Instead, send the Dock a "quit" event.
2. Before you modify the preferences, quit the Dock so it will commit any unsaved changes. Then modify the preferences, then quit the Dock again to ensure it sees the new preferences—because it automatically relaunches and may do so before your preferences changes are committed.
-- Chris Page
The other, other AppleScript Chris
|
_______________________________________________
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