Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock Icon



Set image to "icon image" of your application. It is so easy.


set a to load image "new_icon_image"  --already added image to your project
tell me
    set icon image to a
end tell

--
Takaaki Naganoya
email@hidden
http://www.appleco.jp/piyomarusoft/


On 05.3.24 2:34 AM, "Jasper Van Proeyen" <email@hidden> wrote:

> Hi List,
> 
> I'm working on a ASS calculation app for children where the user gets
> simple mathematical problems (+,-,*,/).
> The user can also decide which operator(s) he/she wants to practice via
> 4 checkboxes.
> 
> My app icon consists of a "+", a "-", a "x" and a "รท" and they are all
> black. However, I'd like to make the icon correspond with the user
> input, e.g. when the user only checks the "+" checkbox, then I'd like
> to make the "+" in the icon red instead of black.
> 
> I've found some documentation from Apple (
> http://developer.apple.com/documentation/Carbon/Reference/Dock_Manager/
> dockmngr_refchap/chapter_1.2_section_4.html ), but, since I'm just an
> ASS newbie and not familiar with Cocoa, this information doesn't make
> much sense to me.
> 
> Is there any other solution (a shell script or so) via AppleScript or
> can anybody provide me more information how to do this the Cocoa way.
> 
> Regards,
> Jasper.
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-studio mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-studio/email@hidden
> 
> This email sent to email@hidden
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >Dock Icon (From: Jasper Van Proeyen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.