Re: Adding a doc icon flag
Re: Adding a doc icon flag
- Subject: Re: Adding a doc icon flag
- From: Joshua See <email@hidden>
- Date: Thu, 15 Apr 2004 10:31:15 -0500
On Apr 14, 2004, at 6:43 PM, Andrew Oliver wrote:
I don't know about it ever being non-public. Handling the dock icon,
including sample code on how to change the dock icon during program
execution (using Mail.app as an example) is pretty well documented in
the Carbon documentation... Unfortunately, it's at a much lower level
that AppleScript and I don't know of any way of doing in in an
AppleScript-based app, only a Carbon app.
Apple docs sometimes refer to the icons on icons as badges, search on
that. There are Cocoa calls for this, so a Studio app should be able to
set them, but I doubt you make an applescript directly set the badge
for another application. You might also want to check the archives of
the AppleScript Studio list.
Good luck having this survive the list server:
<
http://developer.apple.com/documentation/UserExperience/Conceptual/
OSXHIGuidelines/XHIGHowEnvAffects/chapter_7_section_3.html#//apple_ref/
doc/uid/20000957-CH294-TPXREF102>
From the URL above:
Cocoa: To modify an application or document Dock tile, use the
setApplicationIcon: method of the NSApplication class or the
setMiniWindowImage: method of the NSWindow class.
I recall seeing far more detailed documentation in the past, but not
the specific URLs.
--
Sincerely,
Joshua See
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.