Mac Icon

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Mac Icon

Post by andyh1234 » Thu Aug 23, 2007 3:35 pm

One other question!

When compiling an application, I can set the icons in the standalone settings, and for Windows they work just fine.

On the mac however, the icon appears in the dock correctly but the 'application icon' shown in the folder is just the default apple (two pieces of paper with a pencil and a ruler) icon appear.

Every so often the correct icon appears, but it is every so often. As an example, I just compiled to write this message and get a description of the icon, and I got the right icon! I compiled again 20 seconds later and got the apple icon. Nothing changed.

Im compiling on OS-X

Any ideas???

Andy

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Post by malte » Thu Aug 23, 2007 4:48 pm

Hi andy.

I think this is just a rendering issue. Try zipping and unzipping the app (or restarting your mac) You should see the icon then.

All the best,

Malte

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

Post by Mark » Thu Aug 23, 2007 4:56 pm

Andy and Malte,

No need to restart your Mac! Choose Get Info from the Finder's File menu, click in the icon on top of the Info window, press backspace.

Best,

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

e-miclo
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9
Joined: Sat Apr 08, 2006 5:04 pm

Post by e-miclo » Thu Aug 23, 2007 9:35 pm

Just drag the icon with the option/alt key down, it will make a copy of your app, rendering the icon in the Finder.

Best,

ÉrIC

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

Post by Klaus » Fri Aug 24, 2007 8:53 am

Hi all,

I have some custom "post-standalone-build-processing" handlers and one of them uses a shell command with "touch", which does what we all wnat, show the icon immediately:

...
get shell("touch" && QUOTE & "path/to/your/standalone.app" & QUOTE)
...


Regards

Klaus

glen930
Posts: 4
Joined: Mon Jul 24, 2006 5:28 pm

Post by glen930 » Sat Aug 25, 2007 6:21 pm

The guys at Sons Of Thunder Software did a primer on this topic.

Its definitely worth taking a look at:

http://www.sonsothunder.com/devres/revo ... ply002.htm

I found it very useful.

Glen

andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Post by andyh1234 » Sat Aug 25, 2007 7:51 pm

Thanks!

It was just a rendering issue, although the get info didnt work on my mac, putting it and then out of an archive did the trick.

Ive been going round in circles trying to figure this one out - thanks everyone!

songe
Posts: 6
Joined: Mon Oct 01, 2007 2:06 am

Post by songe » Mon Oct 22, 2007 3:04 pm

The solution that ended up working for me is somewhat puzzling, but it's works dependably.

1) Make your icns file. You can use any art program to make it. When you're done though, just go to www.versiontracker.com and find some shareware that will take your file and turn it into a icns file. I used img2icns. If you want an icon with a transparent bg, save your graphic out as a gif file with a transparent background.

2) Use the "Standalone Application Settings" menu option in the "file" menu to tell RunRev about it.

3) Compile the standalone.

4) Click on the standalone and choose "Get Info" from the Finder's File menu.

5) Copy some other image from anywhere.

6) In the Get Info window for your standalone, click on the icon and paste the new image in.

7) Close the "Get Info" window. Then reopen it. Click on the icon again and press "delete" or "backspace." Your intended icon should then appear.
Thank You
Songe

Post Reply