Re: Bullet • Mac/Win

2016-05-19 Thread Klaus major-k
Hi Mike,

> Am 19.05.2016 um 15:38 schrieb Mike Bonner :
> 
> nevermind. Lead with 0x so it knows its hex.

AHA! :-D
Thanks a bunch!

> On Thu, May 19, 2016 at 7:37 AM, Mike Bonner  wrote:
> 
>> put numtocodepoint(baseconvert("26BD",16,10)) should put your socker ball.
>> numtocodepoint seems to want only a base 10, so convert from hex first.
>> 
>> On Thu, May 19, 2016 at 7:33 AM, Klaus major-k  wrote:
>> 
>>> Hi all,
>>> 
>>> on my Mac I have this wonderfull little system palette in the menubar
>>> showing me
>>> „Emojis and Symbols“ and give me somethong like this for e.g. „Soccer
>>> ball“:
>>> Unicode U+26BD
>>> UTF8 E2 9A BD

Best

Klaus


--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bullet • Mac/Win

2016-05-19 Thread Mike Bonner
nevermind. Lead with 0x so it knows its hex.

On Thu, May 19, 2016 at 7:37 AM, Mike Bonner  wrote:

> put numtocodepoint(baseconvert("26BD",16,10)) should put your socker ball.
>
> numtocodepoint seems to want only a base 10, so convert from hex first.
>
> On Thu, May 19, 2016 at 7:33 AM, Klaus major-k  wrote:
>
>> Hi all,
>>
>> on my Mac I have this wonderfull little system palette in the menubar
>> showing me
>> „Emojis and Symbols“ and give me somethong like this for e.g. „Soccer
>> ball“:
>> Unicode U+26BD
>> UTF8 E2 9A BD
>>
>> How can I use this information with numtocodepoint() or codepointtonum(),
>> if at all?
>> Tried several combinations with and without quotes, but no success. :-/
>>
>> Thanks for any hints!
>>
>>
>> Best
>>
>> Klaus
>> --
>> Klaus Major
>> http://www.major-k.de
>> kl...@major-k.de
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bullet • Mac/Win

2016-05-19 Thread Mike Bonner
put numtocodepoint(baseconvert("26BD",16,10)) should put your socker ball.

numtocodepoint seems to want only a base 10, so convert from hex first.

On Thu, May 19, 2016 at 7:33 AM, Klaus major-k  wrote:

> Hi all,
>
> on my Mac I have this wonderfull little system palette in the menubar
> showing me
> „Emojis and Symbols“ and give me somethong like this for e.g. „Soccer
> ball“:
> Unicode U+26BD
> UTF8 E2 9A BD
>
> How can I use this information with numtocodepoint() or codepointtonum(),
> if at all?
> Tried several combinations with and without quotes, but no success. :-/
>
> Thanks for any hints!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bullet • Mac/Win

2016-05-19 Thread Klaus major-k
Hi all,

on my Mac I have this wonderfull little system palette in the menubar showing me
„Emojis and Symbols“ and give me somethong like this for e.g. „Soccer ball“:
Unicode U+26BD
UTF8 E2 9A BD
 
How can I use this information with numtocodepoint() or codepointtonum(), if at 
all?
Tried several combinations with and without quotes, but no success. :-/

Thanks for any hints!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bullet • Mac/Win

2016-05-18 Thread RM
If you are working with any version from 7.0 upwards you should be able 
to "just" do this:


put whatever & TAB & *numToCodePoint(8226)* & anothervar & CR after tDGText

give it a try and revert to me :)

Best, Richmond.

On 18.05.2016 18:55, Klaus major-k wrote:

Hi Richmond,


Am 18.05.2016 um 17:45 schrieb RM :

Dear Klaus,

As Macintosh and Windows versions of Livecode, and the 2 operating systems, are 
Unicode compliant
as long as you use the Unicode compliant bullet-point symbol [Hex 2022, Decimal 
8226] there should
be no reason why it should not cross from Mac to Windows without going "funny".

http://www.unicode.org/charts/PDF/U2000.pdf

OK, thank you!

Please pardon my ignorance, but how can I create a tab delimited text list
(for a datagrid) that contains this bullet?
...
put whatever & TAB & XXX & anothervar & CR after tDGText
## Where XXX should be the bullet...
...

Any pointer appreciated :-)


Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Mike,

> Am 18.05.2016 um 18:06 schrieb Mike Bonner :
> 
> You can set it up in your script as a constant to avoid some typing.
> 
> Do the numtocodepoint in the text box then paste the thing into your
> constant declaration.

thanks, will keep this in mind for future uses :-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bullet • Mac/Win

2016-05-18 Thread Mike Bonner
You can set it up in your script as a constant to avoid some typing.

Do the numtocodepoint in the text box then paste the thing into your
constant declaration.

On Wed, May 18, 2016 at 10:03 AM, Klaus major-k  wrote:

> Hi Bob,
>
> > Am 18.05.2016 um 17:58 schrieb Bob Sneidar  >:
> >
> > Hi Klaus.
> >
> > What I did is create a bullet point graphic (could use an SVG path??)
>
> unfortunatley we cannot use SVGs like a“regular“ image object (yet)!
>
> > then set the imageSource of the first character which I insert (like a
> space) to that image. I will preface each line with a space and a tab, then
> set the first tab spacing to enough to make the list pleasing to the eye.
> This way the items of the list are all left aligned.
>
> I did want to use a datagrid of type TABLE with no more scripting ;-)
>
> Thanks anyway!
>
> > Just one way to skin that cat (I apologise to cat lovers for the phrase).
> >
> > Bob S
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Devin,

> Am 18.05.2016 um 18:00 schrieb Devin Asay :
>> ...
>> Please pardon my ignorance, but how can I create a tab delimited text list
>> (for a datagrid) that contains this bullet?
>> ...
>> put whatever & TAB & XXX & anothervar & CR after tDGText
>> ## Where XXX should be the bullet…
> 
> Klaus,
> 
> How about:
> 
> put whatever & TAB & numToCodepoint(8226) & anothervar & CR after tDGText

YES! 
Looks like this is what I was looking for, thanks a lot! :-)

> Devin
> 
> Devin Asay
> Office of Digital Humanities
> Brigham Young University

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Bob,

> Am 18.05.2016 um 17:58 schrieb Bob Sneidar :
> 
> Hi Klaus.
> 
> What I did is create a bullet point graphic (could use an SVG path??)

unfortunatley we cannot use SVGs like a“regular“ image object (yet)!

> then set the imageSource of the first character which I insert (like a space) 
> to that image. I will preface each line with a space and a tab, then set the 
> first tab spacing to enough to make the list pleasing to the eye. This way 
> the items of the list are all left aligned.

I did want to use a datagrid of type TABLE with no more scripting ;-)

Thanks anyway!

> Just one way to skin that cat (I apologise to cat lovers for the phrase).
> 
> Bob S

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bullet • Mac/Win

2016-05-18 Thread Devin Asay

> On May 18, 2016, at 9:55 AM, Klaus major-k  wrote:
> 
> Hi Richmond,
> 
>> Am 18.05.2016 um 17:45 schrieb RM :
>> 
>> Dear Klaus,
>> 
>> As Macintosh and Windows versions of Livecode, and the 2 operating systems, 
>> are Unicode compliant
>> as long as you use the Unicode compliant bullet-point symbol [Hex 2022, 
>> Decimal 8226] there should
>> be no reason why it should not cross from Mac to Windows without going 
>> "funny".
>> 
>> http://www.unicode.org/charts/PDF/U2000.pdf
> 
> OK, thank you!
> 
> Please pardon my ignorance, but how can I create a tab delimited text list
> (for a datagrid) that contains this bullet?
> ...
> put whatever & TAB & XXX & anothervar & CR after tDGText
> ## Where XXX should be the bullet…

Klaus,

How about:

put whatever & TAB & numToCodepoint(8226) & anothervar & CR after tDGText

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Richmond,

> Am 18.05.2016 um 17:45 schrieb RM :
> 
> Dear Klaus,
> 
> As Macintosh and Windows versions of Livecode, and the 2 operating systems, 
> are Unicode compliant
> as long as you use the Unicode compliant bullet-point symbol [Hex 2022, 
> Decimal 8226] there should
> be no reason why it should not cross from Mac to Windows without going 
> "funny".
> 
> http://www.unicode.org/charts/PDF/U2000.pdf

OK, thank you!

Please pardon my ignorance, but how can I create a tab delimited text list
(for a datagrid) that contains this bullet?
...
put whatever & TAB & XXX & anothervar & CR after tDGText
## Where XXX should be the bullet...
...

Any pointer appreciated :-)

> Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Bullet • Mac/Win

2016-05-18 Thread RM

Dear Klaus,

As Macintosh and Windows versions of Livecode, and the 2 operating 
systems, are Unicode compliant
as long as you use the Unicode compliant bullet-point symbol [Hex 2022, 
Decimal 8226] there should
be no reason why it should not cross from Mac to Windows without going 
"funny".


http://www.unicode.org/charts/PDF/U2000.pdf

Richmond.

On 18.05.2016 18:37, Klaus major-k wrote:

Hi friends,

I do not have a Win PC at hand, so my question:
Since version 7.x we have unicode, does that mean
that if I enter a bullet point (see subject) on my Mac into
an LC field, i will also get a bullet point when opening that
stack on Windows?

Know what I mean?

Thanks a lot in advance!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi friends,

I do not have a Win PC at hand, so my question:
Since version 7.x we have unicode, does that mean
that if I enter a bullet point (see subject) on my Mac into 
an LC field, i will also get a bullet point when opening that 
stack on Windows?

Know what I mean?

Thanks a lot in advance!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode