OS X minimized icon

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

OS X minimized icon

Post by teacherguy » Mon Jan 09, 2012 9:57 pm

I saw a few discussion regarding the tray in Windows, but didn't see anything about OS X. When I minimize my standalone app it is choosing a (seemingly) random icon to represent the app while in the dock. Is there a way to specify?

Thanks

~Brian

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: OS X minimized icon

Post by Mark » Tue Jan 10, 2012 11:55 am

Hi Brian,

It should use the icon of your standalone. I have never seen random icon in the docs.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: OS X minimized icon

Post by teacherguy » Tue Jan 10, 2012 2:38 pm

Well that's not good news for me then! It looks like it is trying to, but it has one of my button icons over the top. :cry:
Attachments
Screen shot 2012-01-10 at 7.38.15 AM.png
Screen shot 2012-01-10 at 7.38.15 AM.png (9.83 KiB) Viewed 5041 times

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: OS X minimized icon

Post by Mark » Tue Jan 10, 2012 2:43 pm

Hi,

You really should provide more info if you want help to solve this. What have you tried to get the correct icon to show up in the dock so far?

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: OS X minimized icon

Post by teacherguy » Tue Jan 10, 2012 2:52 pm

I have not tried anything because I am not aware of any way to address it. I see in the standalone settings where I can set the icns and ico, the ask/answer icon (all work fine), but I don't see anything for this situation.

~Brian

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: OS X minimized icon

Post by Klaus » Tue Jan 10, 2012 7:15 pm

Hi Brian,

quick guess, do you have these lines somewhere in your scripts:
...
set the icon of this stack to XXXX
...
## or
set the icon to XXXX
## instead of:
## set the icon of BUTTON X to XXXX
...
that would explain what is happening 8)


Best

Klaus

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7394
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: OS X minimized icon

Post by jacque » Tue Jan 10, 2012 7:17 pm

See the "icon" entry in the dictionary. You can set a global icon that specifies what should be shown in the dock:

set the icon of this stack to "12345"
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: OS X minimized icon

Post by teacherguy » Tue Jan 10, 2012 8:36 pm

Thank you so much everyone. I could not find anything in my scripts, however it's completely possible that I made the error Klaus stated at some point. So I picked something more representative and assigned the stack icon to it.

Thanks again all.

Brian

Post Reply