Icon problem - please help?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

peter.s
Posts: 99
Joined: Thu Jul 10, 2008 11:47 am

Re: Icon problem - please help?

Post by peter.s » Thu Jan 20, 2011 10:18 am

Hi Klaus,

Thanks for your kind offer to look at this for me. I have just sent you an e-mail regarding my file - please let me know if you don't get it.

Cheers,


Peter

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

Re: Icon problem - please help?

Post by Klaus » Thu Jan 20, 2011 11:35 am

Hi all,

you might be interested in the solution of Peters icon problem!

Peters standalone was named "Combining HEF&CBHI.app" and compiled without problems.
BUT obviously OS X does NOT like a & in the name of an app/standalone!

Looks like the PLIST file does not get parsed completely, it gets stuck at the first appearance of the &,
which comes BEFORE the icon description in the file and so OS X does not know about the icon and
does not display it.

Stupid OS X! :D


Best

Klaus

peter.s
Posts: 99
Joined: Thu Jul 10, 2008 11:47 am

Re: Icon problem - please help?

Post by peter.s » Thu Jan 20, 2011 10:20 pm

Stupid OS X... maybe. Stupid Peter - more like.

I would like to say "I should have known" but I guess I will get to say that next time - if there is one.

Many thanks Klaus for helping me sort this out!

Peter

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

Re: Icon problem - please help?

Post by Mark » Sat Jan 22, 2011 2:43 am

Hi,

Nor Peter neither OSX is stupid. The fault is in RunRev's (now LiveCode's) Standalone Builder. OSX really has not problem with whatever character you want to have in a file name, but the SB doesn't handle unicode properly when it created plist file, not to mention unicode file names.

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

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

Re: Icon problem - please help?

Post by Klaus » Sat Jan 22, 2011 12:31 pm

Hi Mark,

ah, that makes sense, thanks for the info!
So: Stupid LC! :D


Best

Klaus

Post Reply