Re: App's added to Dock or not
Re: App's added to Dock or not
- Subject: Re: App's added to Dock or not
- From: chinni <email@hidden>
- Date: Wed, 26 Dec 2007 10:40:12 +0530
Thanks for responding...
Ronald thanks for giving the script.But it was showing only the items which were related to system apps.(Terminal,Activity Monitor..)
For example if u find for Finder with below script it will return with non-zero status.
My app was added to Dock.But while i am searching it from Terminal it was returning with non-zero status
defaults read com.apple.dock | grep 'XXXXX'
On Dec 25, 2007 4:27 AM, IMAPRH/privat <
email@hidden> wrote:
Quick and dirty:
set
theDockContents
to
do shell script
"defaults read com.apple.dock | grep 'file-label'"
if
(theDockContents
contains
"Xcode")
then
beep
Merry Xmas, Ronald
---
Am Montag24.12.2007 um 05:30 schrieb chinni:
Hi,
How can we know whether an app was added to dock r not.can we write any apple script to know whether the app was added to doc not by seeing from GUI.
where these stuff was located under mac os x related to doc items.can any one tell me where can i find dock related stuff material.
apple script for knowing whether app was added to dock r not
1.Is By knowing the processes ?
2.By using plist?
Thanks in advance
Cheers,
M.Srikanth Kumar,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
This email sent to email@hidden
--
Cheers,
M.Srikanth Kumar,
Phone no: +91-9866774007
_______________________________________________
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