Thanks Klaus, your reply had me have another go at this. One thing I forgot to mention before is that I'm running under OSX Mountain Lion.
Anyway, I now have gRevAppIcon working. I'm setting the variable in my openStack. As well as importing the jpgs through an Image Area, I'm also listing them in the Copy Files page of the standalone settings. I didn't read that anywhere (perhaps I missed it!) but I thought I'd try it. Seems to be crucial. I'm having this thought that its something to do with sandboxing but I don't know.
gRevSmallAppIcon isn't working. Would you still expect it to on Mountain Lion? Or has that way of presenting a message been changed? I'm trying to think of an app I could run to test that out by seeing what message the app gives me. Preferably an apple app. Can't think of one that does messages...
Thanks, Nishok
specifying an iconType
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: specifying an iconType
Hi nishok,
??? Sorry, don't get this.
An image file on disk is not neccessary, after you "imported" an image!
And the gRevIcon thing is an internal Livecode thing and does have nothing to do with "Sandboxing"
Create a new stack with only these two images yiou use for gRevIcons and try it.
I am sure it will work, so there may be another issue on your side, but I can only guess...
Best
Klaus
Well, I am on ML!nishok wrote:Thanks Klaus, your reply had me have another go at this. One thing I forgot to mention before is that I'm running under OSX Mountain Lion.
### As well as importing the jpgs through an Image Areanishok wrote:Anyway, I now have gRevAppIcon working. I'm setting the variable in my openStack. As well as importing the jpgs through an Image Area, I'm also listing them in the Copy Files page of the standalone settings. I didn't read that anywhere (perhaps I missed it!) but I thought I'd try it. Seems to be crucial. I'm having this thought that its something to do with sandboxing but I don't know.
??? Sorry, don't get this.
An image file on disk is not neccessary, after you "imported" an image!
And the gRevIcon thing is an internal Livecode thing and does have nothing to do with "Sandboxing"

Create a new stack with only these two images yiou use for gRevIcons and try it.
I am sure it will work, so there may be another issue on your side, but I can only guess...
Best
Klaus
Re: specifying an iconType
Hi Klaus
Thanks, Nishok
...I meant, I dragged an image area from the tools palette onto my stack, clicked on the folder pic after the Source field and chose my jpg file.### As well as importing the jpgs through an Image Area
??? Sorry, don't get this.
Yup, see that now.An image file on disk is not neccessary, after you "imported" an image!
And the gRevIcon thing is an internal Livecode thing and does have nothing to do with "Sandboxing"![]()
Done that. No need for copy files or anything so that was a red herring. But the standalone still only displays an icon for an answer command with no iconType. Answers with information, error etc as the iconType just show the standard error, info etc icon not badged by my gRevSmallAppIcon. Here's my little livecode test file as per your suggestion...Create a new stack with only these two images yiou use for gRevIcons and try it.
I am sure it will work, so there may be another issue on your side, but I can only guess...
Thanks, Nishok
Re: specifying an iconType
Hi Nishok,
well you REFERENCED these images, so these files:
/Users/ishok/Shoxville/SYC/newsletter/typoMaster ƒ/icons stuff/Lorem4at64.jpg
/Users/ishok/Shoxville/SYC/newsletter/typoMaster ƒ/icons stuff/Lorem4at32.jpg
are not available in a standalone and e.g. on MY harddisk!
Import(!) them and all should be fine!
Best
Klaus
well you REFERENCED these images, so these files:
/Users/ishok/Shoxville/SYC/newsletter/typoMaster ƒ/icons stuff/Lorem4at64.jpg
/Users/ishok/Shoxville/SYC/newsletter/typoMaster ƒ/icons stuff/Lorem4at32.jpg
are not available in a standalone and e.g. on MY harddisk!

Import(!) them and all should be fine!
Best
Klaus