AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread Tiemo Hollmann TB
Thanks Hermann and Paul for clarifying this to me. I didn't noticed the
difference to *the keysdown*

You say Apple changed the keyboard mapping. I have no idea, if and how this
could affect now LC 8 concerning backward compatibility with older systems.
Will the keysdown give me on "all" systems (from 10.8-10.12) the same codes,
if Apple changed something in any system? Can I rely on this workaround to
get the correct chars, which have been entered on "all" systems?

Has anybody a best guest on how to handle this?

Tiemo

P.S. yes I filed it in the QC


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von hh
Gesendet: Montag, 5. Dezember 2016 23:27
An: use-livecode@lists.runrev.com
Betreff: Re: Is there a mapping table for all rawKeyUp Codes? No solution
yet with LC 8

Hi all. Yes that's the point:

*The keysDown* return the correct (hardware) keyCode.
Tiemo is right, there is a bug introduced around LC 8. From the dictionary:

"The keycodes returned by the keysDown function are the same as those passed
as parameters with the rawKeyDown and rawKeyUp messages."

That's not true (I tested with all latest versions of LC 8.1.1 and up and
Paul confirmed for some).
Thus we can possibly locate the bug: Apple changed his keyboard mapping
method around the introduction of LC 8 (it is no longer in easy accessible
files but in "layout bundles").

Was _the keysDown_ adjusted by the LC-team and _rawkeyDown/Up_ not?
Tiemo, you should definitely report this!?

___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Kay C Lan
On Tue, Dec 6, 2016 at 4:18 AM, Richmond Mathewson
 wrote:
>
> Of course a clever person might work out a way to concatenate pdf files . .
> .
> or cheat:
>
> http://www.pdfmerge.com/
> http://pdfjoiner.com/
> https://www.maketecheasier.com/combine-multiple-pdf-files-with-pdftk/
> http://www.pdfsam.org/
>
> Richmond.
>
Why waste time and bandwidth doing something online that gives you
less flexibility and takes more time than using free a programe
already on your computer that can do this? On OS X it's Preview but I
know Acrobat Reader can do it and I'm sure there is a Linux equivalent
that will do the same:

https://support.apple.com/en-us/HT202945

___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Sannyasin Brahmanathaswami
You are right… in fact I had set Andre on this a few years ago and he started 
one (robust, complete text/field typesetting layout palette)… 

We are using Git for our new app. It would be fun to try a new repo for this 
and let everyone hammer on it… 
 
BR

On 12/5/16, 10:39 AM, "use-livecode on behalf of Richard Gaskin" 
 
wrote:

Why can't the UI you're describing be a plugin, perhaps liberally 
licensed for all to use, share, and enhance?

___
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: Clone graphic does not respect dimensions

2016-12-05 Thread BNig
Jeanne A. E. DeVoto wrote
> Hmm, I was under the impression that it was scripted using the 
> "clone" command. I'd forgotten about option-drag...
> 
> ...but that's also done with the pointer tool, not the graphic tool. 
> So checking the tool would also exempt that case from auto-resizing 
> small graphics.

I like the idea of checking the tool to allow cloning at sizes below 9 by 9
if it were not for the use case that copying/pasting a graphic smaller than
9 by 9 is possible while the graphic tool is active.
This is where checking for the tool would fail and the graphic would be
pasted at default dimensions.

This leaves changing the "newGraphic" handler wholesale (without considering
the tool) to values smaller than 9 by 9 e.g. smaller 6 by 6 to cover most
common use cases and still let the IDE prevent user mishaps by converting a
new graphic to default 120 by 120 if the newly created graphic is smaller
than 6 by 6. 

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Clone-graphic-does-not-respect-dimensions-tp4710776p4710879.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Devin Asay

> On Dec 5, 2016, at 12:19 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> Our design team here has high expectations for typesetting that are not 
> easily implemented in LC… or were not before.
> 
> But I realize new text styles have been introduced… though I believe thorough 
> docs/tutorials have not been issued so it is a bit opaque.   Where are the 
> new text style command documented?  I just spent 20 minute in the dictionary… 
> not finding what I thought was the "new text formatting stuff"  I could have 
> been mistaken...
> 
> I see a textShift option, but this is from 1.0  so I don't think it is part 
> of the new styles… the entry under "textStyle" talks about an array but this 
> is also from as far back as 5.0.2
> 
> Where are all these defined? Or am I thinking that there is something there 
> is not?

You can filter dictionary listings to only show field properties, and then it’s 
a not-too-long scroll to see almost all of the text properties. 

Also, the htmlText property listing in the dictionary lists pretty much all of 
the field properties, including properties that apply to paragraphs. They are 
pretty much all there, since the htmlText property has to accurately capture 
all text formatting within a field.

(I grant that this is a non-obvious place to look, but it is mostly all there.)

Devin



Devin Asay
Director
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Bob Sneidar
The OS will allow you to search the contents of a folder. Windows and OS X 
allow you to do this. They automatically index most files and directories. 

Bob S


> On Dec 5, 2016, at 12:08 , J. Landman Gay  wrote:
> 
> On 12/5/16 1:19 PM, Sannyasin Brahmanathaswami wrote:
> 
>> Can we now control the line height above and below  the headlines in
>> this example… i.e. control over the baseline of a given line in
>> relation to the baseline of the previous line? i.e. variable spacing
>> between lines in the same field.
> 
> It took me forever to find a definitive list, which I now know is located in 
> the LC 5.5 release notes. There really should be a lesson or summary about 
> this stuff.
> 
> To control line spacing individually, you can set the field's fixedLineHeight 
> to true and its textheight to the smallest spacing you'll need, and then use 
> the "spaceAbove" and/or the "spaceBelow" adjustments to manage specific lines.
> 
> The "new-ish" field and text properties are very, very powerful and I use 
> them a lot. But if you don't know about them, it is almost impossible to 
> discover they exist. I only found them because I remembered some new features 
> were implemented, but I actually had to open and read every release note 
> going to back to 5.5 before I found them.
> 
> I wish there were a way to search all the release notes at once.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> 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: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread hh
Hi all. Yes that's the point:

*The keysDown* return the correct (hardware) keyCode.
Tiemo is right, there is a bug introduced around LC 8. From the dictionary:

"The keycodes returned by the keysDown function are the same as those
passed as parameters with the rawKeyDown and rawKeyUp messages."

That's not true (I tested with all latest versions of LC 8.1.1 and up and
Paul confirmed for some).
Thus we can possibly locate the bug: Apple changed his keyboard mapping
method around the introduction of LC 8 (it is no longer in easy accessible
files but in "layout bundles").

Was _the keysDown_ adjusted by the LC-team and _rawkeyDown/Up_ not?
Tiemo, you should definitely report this!?

___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread J. Landman Gay

On 12/5/16 2:38 PM, Paul Dupuis wrote:


I am not sure what version of LC you are working in, but in LC 6.7.11 if
you go to the dictionary and click on the field object to see all the
properties of the field object, all the new field properties, including
spaceAbove and spaceBelow seem to be there.

In new releases, I often browse object of interest in the dictionary
looking for new properties first rather than the release notes, simply
because the Dictionary is a big convenient button on the IDE toolbar.


I'm in 8.1.2 right now and you can (indirectly) do the same thing to see 
all properties of a field, for instance. But there are so many...


Still, I could have done that I guess. Mainly I remembered there was a 
"change list" and went looking for it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Richard Gaskin

Sannyasin Brahmanathaswami wrote:

> "  I wish there were a way to search all the release notes at once."
>
> ditto that!
>
> And it goes back to an older request I had (of course someone will
> say "you can build that yourself"

In an ideal world it would be great for the team to have time to do that.

In the world we live in, they'd have to take time away from other things 
we ask them to do.


Which of the stuff they're working on would you like them to set aside 
to do that?


Can you get enough other people to agree with such priorities so that 
suspending the other work doesn't result in a lot of complaints the 
other direction?


If enough people see value in such a search index, why would they not 
make one and let the engine team continue to work on the engine?


While we ponder that, here's the link to the v5.5 Release Notes, which 
I've found to be the best one-stop-shopping for info on the new field 
features added in that version:



And yes, I'd like to write the new manual section that incorporates that 
and submit a pull request to have it become part of the manual that 
ships with LC.  But like the team and the other community members, I 
have other obligations as well, so like the team and the other community 
members I haven't done that yet.


But anyone sufficiently motivated with a few spare hours could do it.

Same with:

> that the IDE should have a very robust text/layout/typsetting
> palette… so that newbies coming on board don’t feel this platform
> is unusable for "real classy" design work..

One of the great things about a toolkit like LC is that it goes so very 
far beyond any other Xtalk, light years beyond HC, that it's completely 
redefined our expectations.


In HC folks were happily clicking away without even any vector graphics 
at all, very limited typography, and the only support for color was done 
in an overlay through an external.


LC has done such a great job in delivering an engine so far more 
capable, and for so many more platforms, and the team's done such a good 
job with it that we take for granted that all that's somehow easy, and 
that it should be equally easy to build UIs for the sorts of feature 
sets commonly found only in drawing programs, page layout programs, and 
many other categories far beyond a humble coder's IDE.


The team size at LC Ltd. may be finite, the our community need not be.

If we need scripted UIs for these sorts of enhancements, as scripters 
we're well equipped to deliver them.


Why can't the UI you're describing be a plugin, perhaps liberally 
licensed for all to use, share, and enhance?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Paul Dupuis
On 12/5/2016 3:08 PM, J. Landman Gay wrote:
> On 12/5/16 1:19 PM, Sannyasin Brahmanathaswami wrote:
>
>> Can we now control the line height above and below  the headlines in
>> this example… i.e. control over the baseline of a given line in
>> relation to the baseline of the previous line? i.e. variable spacing
>> between lines in the same field.
>
> It took me forever to find a definitive list, which I now know is
> located in the LC 5.5 release notes. There really should be a lesson
> or summary about this stuff.
>
> To control line spacing individually, you can set the field's
> fixedLineHeight to true and its textheight to the smallest spacing
> you'll need, and then use the "spaceAbove" and/or the "spaceBelow"
> adjustments to manage specific lines.
>
> The "new-ish" field and text properties are very, very powerful and I
> use them a lot. But if you don't know about them, it is almost
> impossible to discover they exist. I only found them because I
> remembered some new features were implemented, but I actually had to
> open and read every release note going to back to 5.5 before I found
> them.
>
> I wish there were a way to search all the release notes at once.
>

I am not sure what version of LC you are working in, but in LC 6.7.11 if
you go to the dictionary and click on the field object to see all the
properties of the field object, all the new field properties, including
spaceAbove and spaceBelow seem to be there.

In new releases, I often browse object of interest in the dictionary
looking for new properties first rather than the release notes, simply
because the Dictionary is a big convenient button on the IDE toolbar.



___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Peter Bogdanoff
As far as I can tell, you only have 2 choices for a field: fixed and non-fixed 
line height.

Fixed—uses, of course, your input setting.

Not-fixed—uses a default based on the size of the text within a particular 
line, or the size of an image referenced in the htmlText "img src" tag (the 
imageSource property of a character). And if there is no larger text or image, 
then it seems to set the line height to the default used by fixed line height.

You could try to fake it by setting the field to not fixed line height, and 
then force-adjust particular lines by setting the text size of an invisible 
character like a space, or using a transparent (or not noticeable) image source.

However, this last solution may not give you your desired default height for 
the main body of text (unless you set  the spaces to a larger size).

Peter Bogdanoff




On Dec 5, 2016, at 11:19 AM, Sannyasin Brahmanathaswami  
wrote:

> Our design team here has high expectations for typesetting that are not 
> easily implemented in LC… or were not before.
> 
> But I realize new text styles have been introduced… though I believe thorough 
> docs/tutorials have not been issued so it is a bit opaque.   Where are the 
> new text style command documented?  I just spent 20 minute in the dictionary… 
> not finding what I thought was the "new text formatting stuff"  I could have 
> been mistaken...
> 
> I see a textShift option, but this is from 1.0  so I don't think it is part 
> of the new styles… the entry under "textStyle" talks about an array but this 
> is also from as far back as 5.0.2
> 
> Where are all these defined? Or am I thinking that there is something there 
> is not?
> 
> USE CASE:
> 
> There are times  where you want to tighten the spacing between lines, aka 
> "change the leading"  because the default gives way too much space…same 
> problem in browsers where a default of 1.5 over X height is a common leading 
> default that you have to override with some tedious CSS…  but then when you 
> get into running, wrapping text you do want to keep more open line-height for 
> readability.
> 
> Given the following text in a field
> 
> ---
> 
> Headline   # at font size 2X
> 
> Sub-head# at font size 1.5 X
> 
> blank line
> 
> body text# at font size 1 X
> 
> --
> 
> Can we now control the line height above and below  the headlines in this 
> example… i.e. control over the baseline of a given line in relation to the 
> baseline of the previous line? i.e. variable spacing between lines in the 
> same field.
> 
> BR
> 
> 
> 
> ___
> 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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Sannyasin Brahmanathaswami
Wow!  If you go to the download page there is this awesome little stack 
included in the 5.5.0 release called 

field_features.livecode

Message to HQ: You need to bring this forward somehow!  at just 96 K why don't 
you just package it with the other resources and documentation in every distro?

BR

 

On 12/5/16, 10:08 AM, "use-livecode on behalf of J. Landman Gay" 
 
wrote:

The "new-ish" field and text properties are very, very powerful and I 
use them a lot. But if you don't know about them, it is almost 
impossible to discover they exist. I only found them because I 
remembered some new features were implemented, but I actually had to 
open and read every release note going to back to 5.5 before I found them.

___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Richmond Mathewson



On 12/5/16 10:08 pm, J. Landman Gay wrote:

On 12/5/16 1:19 PM, Sannyasin Brahmanathaswami wrote:


Can we now control the line height above and below  the headlines in
this example… i.e. control over the baseline of a given line in
relation to the baseline of the previous line? i.e. variable spacing
between lines in the same field.


It took me forever to find a definitive list, which I now know is 
located in the LC 5.5 release notes. There really should be a lesson 
or summary about this stuff.


To control line spacing individually, you can set the field's 
fixedLineHeight to true and its textheight to the smallest spacing 
you'll need, and then use the "spaceAbove" and/or the "spaceBelow" 
adjustments to manage specific lines.


The "new-ish" field and text properties are very, very powerful and I 
use them a lot. But if you don't know about them, it is almost 
impossible to discover they exist. I only found them because I 
remembered some new features were implemented, but I actually had to 
open and read every release note going to back to 5.5 before I found 
them.


I wish there were a way to search all the release notes at once.



Surely one way to search all the release notes at once would be to
download them, copy the text out of them (all) into a socking greta text 
file

and . . .

Of course a clever person might work out a way to concatenate pdf files 
. . .


or cheat:

http://www.pdfmerge.com/

http://pdfjoiner.com/

https://www.maketecheasier.com/combine-multiple-pdf-files-with-pdftk/

http://www.pdfsam.org/

Richmond.

___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread Sannyasin Brahmanathaswami
"  I wish there were a way to search all the release notes at once."

ditto that! 

And it goes back to an older request I had (of course someone will say "you can 
build that yourself"

that the IDE should have a very robust text/layout/typsetting palette… so that 
newbies coming on board don’t feel this platform is unusable for "real classy" 
design work..

BR


On 12/5/16, 10:08 AM, "use-livecode on behalf of J. Landman Gay" 
 
wrote:

It took me forever to find a definitive list, which I now know is 
located in the LC 5.5 release notes. There really should be a lesson or 
summary about this stuff.

To control line spacing individually, you can set the field's 
fixedLineHeight to true and its textheight to the smallest spacing 
you'll need, and then use the "spaceAbove" and/or the "spaceBelow" 
adjustments to manage specific lines.

The "new-ish" field and text properties are very, very powerful and I 
use them a lot. But if you don't know about them, it is almost 
impossible to discover they exist. I only found them because I 
remembered some new features were implemented, but I actually had to 
open and read every release note going to back to 5.5 before I found them.


___
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: Typesetting in LC -- Line Spacing

2016-12-05 Thread J. Landman Gay

On 12/5/16 1:19 PM, Sannyasin Brahmanathaswami wrote:


Can we now control the line height above and below  the headlines in
this example… i.e. control over the baseline of a given line in
relation to the baseline of the previous line? i.e. variable spacing
between lines in the same field.


It took me forever to find a definitive list, which I now know is 
located in the LC 5.5 release notes. There really should be a lesson or 
summary about this stuff.


To control line spacing individually, you can set the field's 
fixedLineHeight to true and its textheight to the smallest spacing 
you'll need, and then use the "spaceAbove" and/or the "spaceBelow" 
adjustments to manage specific lines.


The "new-ish" field and text properties are very, very powerful and I 
use them a lot. But if you don't know about them, it is almost 
impossible to discover they exist. I only found them because I 
remembered some new features were implemented, but I actually had to 
open and read every release note going to back to 5.5 before I found them.


I wish there were a way to search all the release notes at once.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
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: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread Paul Hibbert
On Mac OS Sierra 10.12.1 with LC 8.1.2(rc2) and German Keyboard layout I see:

Shift + dot (":") the keyname = 58
Shift + ö ("Ö") the keyname = 58

But if you add to these 'the keysDown' as Herman suggested I see:

Shift + dot (":") the keyname = 58 and the keysDown = 46,65505 (46 is the : key 
and 65505 is the shift key)
Shift + ö ("Ö") the keyname = 58 and the keysDown = 59,65505 (59 is the ö key 
and 65505 is the shift key)

So you should be able to use the first item of the keysDown to differentiate 
which key was pressed. Maybe not ideal, but it should work.

e.g.
   put keyname and item 1 of the keysDown

Paul

> On Dec 5, 2016, at 8:18 AM, Tiemo Hollmann TB  wrote:
> 
> Hallo Hermann,
> 
> shift + ö and shift + dot both return 58, anyhow if I give the output tot he 
> message box or a field. I can't see a script error. For me it's an engine 
> error.
> 
> Same with "-" and "ß", both return 45.
> I don't see a chance on how I could differentiate between "-" and "ß", when 
> getting 45.
> 
> Perhaps I didn't understood, what you meant to workaround this issue.
> 
> Tiemo
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag 
> von hh
> Gesendet: Montag, 5. Dezember 2016 14:55
> An: use-livecode@lists.runrev.com
> Betreff: Re: AW: Is there a mapping table for all rawKeyUp Codes? No solution 
> yet with LC 8
> 
> The '58-example' is obviously a script error:
> the message box has always display bugs, you may better use a field for the 
> display.
> 
> If I understand right, then you want now the keyCode (an event, depending on 
> _hardware_) and NOT the characterCode (a number representation of the char).
> Some Mac apps show, with an abuse of the name, the characterCode and not the 
> hardware keycode.
> 
> On a german keyboard from Apple the keycodes are on MacOS 10.12.1/LC 
> 9.0.0-dp2 (65505=shift)
> 
> ö = 59
> Ö = 59,65505
> . = 46
> : = 46,65505
> 
> This is not contradicting your results if your hardware is different.
> 
> You could think about using ___the keysdown___, for example this works for 
> me, using a locked field 1 and the following card script (just to see the 
> difference):
> 
> on idle ; put the keysDown into fld 1 ; end idle
> 
> p.s. For the LC table (Mark's link) you could use:
> put baseConvert(hexValue,16,10) into decValue
> 
>> Since the keyup handler is broken, I am still trying to build a table for 
>> mapping the rawkeyup key to a char. When testing a prototype it seemed to be 
>> easy, but now there are some pitfalls I don't get over. On Mac OS X 10.11, 
>> German system, German keyboard I get with some different char the same 
>> keyname.
>> 
>> When putting the following code into a field:
>> *On rawkeyup keyname*
>> *put keyname*
>> *end rawkeyup*
>> 
>> e.g.
>> Entering shift + dot (":") I get the keyname: 58 Entering shift + ö 
>> ("Ö") I also get the keyname: 58
>> 
>> ... and others...
>> How can I map these keynames back to the char?
>> 
>> Anttis kecode app shows for the first example the keycode 47 and for the 
>> second example 41. But that’s not what I get from rawkeyup.
>> 
>> And with Marks link to the source code I couldn't find a solution either. 
>> Because there is only a hex value table included.
>> 
>> Can anybody confirm these doubled codes from rawkeyup (with a German 
>> keyboard)?
>> 
>> I am stuck with LiveCode 8
>> 
>> Thanks for any ideas
> 
> ___
> 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

___
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

AW: AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread Tiemo Hollmann TB
Hello Richmond,

an essential feature of my main programs, which I just wanted to release in a 
new Quicktime free version is to enter text.
As I have pointed out in my thread "LC 8: no keyUp at fast enter" you can't 
enter fast text in LC anymore, because the keyup handler (the engine?) swallows 
chars.

Now I wanted to workaround with rawkeyup, catching the codes and mapping them 
back into the current chars. But now I find that there are duplicate codes in 
rawkeyup, which prevent me to map the codes back to the current chars.

Perhaps my English is too bad, to explain this correct.

And I am sure, that it is not an issue of indy, it's an issue of LC 8 (what I 
need because of working without QT)

Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Richmond Mathewson
Gesendet: Montag, 5. Dezember 2016 19:28
An: How to use LiveCode 
Betreff: Re: AW: Is there a mapping table for all rawKeyUp Codes? No solution 
yet with LC 8

Why are you stuck with LiveCode 8?

1. My Indy licence lets me go on downloading commercial versions until it 
expires (sometime in 2018).

2. If this is not possible, you can, at least, download the Community version 
of later builds and fiddle around to see what happens there.

Richmond.

On 12/5/16 1:58 pm, Tiemo Hollmann TB wrote:
> Since the keyup handler is broken, I am still trying to build a table for 
> mapping the rawkeyup key to a char. When testing a prototype it seemed to be 
> easy, but now there are some pitfalls I don't get over. On Mac OS X 10.11, 
> German system, German keyboard I get with some different char the same 
> keyname.
>
> When putting the following code into a field:
> *On rawkeyup keyname*
> *put keyname*
> *end rawkeyup*
>
> e.g.
> Entering shift + dot (":") I get the keyname: 58 Entering shift + ö 
> ("Ö") I also get the keyname: 58
>
> ... and others...
> How can I map these keynames back to the char?
>
> Anttis kecode app shows for the first example the keycode 47 and for the 
> second example 41. But that’s not what I get from rawkeyup.
>
> And with Marks link to the source code I couldn't find a solution either. 
> Because there is only a hex value table included.
>
> Can anybody confirm these doubled codes from rawkeyup (with a German 
> keyboard)?
>
> I am stuck with LiveCode 8
>
> Thanks for any ideas
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von Antti Ilola
> Gesendet: Sonntag, 27. November 2016 13:55
> An: How to use LiveCode 
> Betreff: Re: Is there a mapping table for all rawKeyUp Codes?
>
> I found this program, maybe useful.
>
> https://manytricks.com/keycodes/
>
>
> Antti
>
> -- Edelleenlähetetty viesti --
>> From: Richmond 
>> To: How to use LiveCode 
>> Cc:
>> Date: Sat, 26 Nov 2016 17:17:23 +0200
>> Subject: Re: Is there a mapping table for all rawKeyUp Codes?
>> http://forums.livecode.com/viewtopic.php?f=7=28395
>>
>> Better than nothing . . . but a long, long way from ideal.
>>
>> Richmond.
>>
>> On 24.11.2016 20:31, Mark Waddingham wrote:
>>
>>> Hi Tiemo,
>>>
>>> If you search for 'PlatformKeyCode' in this file:
>>>
>>> https://github.com/livecode/livecode/blob/develop/engine/src/platfor
>>> m
>>> .h
>>>
>>> It should give you what you need.
>>>
>>> Warmest Regards,
>>>
>>> Mark.
>>>
>>> Sent from my iPhone
>>>
>>> On 24 Nov 2016, at 16:31, Tiemo Hollmann TB  wrote:
 Hello,

 since keyUp doesn't works anymore  as it should on windows in LC 
 7/8 (see my previous post) I have to workaround with rawKeyUp.

 Does anybody has a togo mapping table of the rawkeyup codes to the 
 real chars? If not I have to build it myself by testing each char.

 Thanks

 Tiemo





 ___
 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
>>>
>> Am I missing something? Should I expect otherwise?
>>> Peter Bogdanoff
>>> ___
>>> 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
> 

Typesetting in LC -- Line Spacing

2016-12-05 Thread Sannyasin Brahmanathaswami
Our design team here has high expectations for typesetting that are not easily 
implemented in LC… or were not before.

But I realize new text styles have been introduced… though I believe thorough 
docs/tutorials have not been issued so it is a bit opaque.   Where are the new 
text style command documented?  I just spent 20 minute in the dictionary… not 
finding what I thought was the "new text formatting stuff"  I could have been 
mistaken...

I see a textShift option, but this is from 1.0  so I don't think it is part of 
the new styles… the entry under "textStyle" talks about an array but this is 
also from as far back as 5.0.2

Where are all these defined? Or am I thinking that there is something there is 
not?

USE CASE:

There are times  where you want to tighten the spacing between lines, aka 
"change the leading"  because the default gives way too much space…same problem 
in browsers where a default of 1.5 over X height is a common leading default 
that you have to override with some tedious CSS…  but then when you get into 
running, wrapping text you do want to keep more open line-height for 
readability.

Given the following text in a field

---

Headline   # at font size 2X

Sub-head# at font size 1.5 X

blank line

body text# at font size 1 X

--

Can we now control the line height above and below  the headlines in this 
example… i.e. control over the baseline of a given line in relation to the 
baseline of the previous line? i.e. variable spacing between lines in the same 
field.

BR



___
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: AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread Richmond Mathewson

Um . . .

On 12/5/16 1:58 pm, Tiemo Hollmann TB wrote:

Since the keyup handler is broken,


I am not entirely sure what you mean by this . . . I am currently 
running LiveCode 8.1.1 on
Mac OS 10.7.5 and have a boring little stack with 2 fields, "ff" & "gg", 
and this in the cardScript:


onrawKeyDown KN
putKN intofld "ff"
endrawKeyDown

onkeyUp KD
putKD intofld "gg"
endkeyUp

and that dumps the rawKey codes into field "ff" and the keycodes into 
field "gg"

just exactly as I would expect it to.

I wonder if this is something to do with Mac OS 10.11?


  I am still trying to build a table for mapping the rawkeyup key to a char. 
When testing a prototype it seemed to be easy, but now there are some pitfalls 
I don't get over. On Mac OS X 10.11, German system, German keyboard I get with 
some different char the same keyname.

When putting the following code into a field:
*On rawkeyup keyname*
*put keyname*
*end rawkeyup*

e.g.
Entering shift + dot (":") I get the keyname: 58
Entering shift + ö ("Ö") I also get the keyname: 58


I have just tried that, and, Yes, you are quite right.

If you set up a stack with 2 fields, "ff" & "gg" and put this script in 
the card:


onrawKeyUp KN
putKN intofld "ff"
endrawKeyUp

onkeyDown KD
putKD intofld "gg"
endkeyDown

and then enter shift + dot (":") [German keyboard layout, Mac OS 10.7.5],
you do get 58 in fld "ff" and ":" in fld "gg".

if you then enter shift + ö ("Ö") you do get 58 in fld "ff" and "Ö" in 
fld "gg"


which does seem very odd indeed.

I wonder how Macintosh tells the difference between whether I press key 
"58" or key "58"?




... and others...
How can I map these keynames back to the char?

Anttis kecode app shows for the first example the keycode 47 and for the second 
example 41. But that’s not what I get from rawkeyup.

And with Marks link to the source code I couldn't find a solution either. 
Because there is only a hex value table included.

Can anybody confirm these doubled codes from rawkeyup (with a German keyboard)?

I am stuck with LiveCode 8

Thanks for any ideas





Richmond.
___
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: AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread Richmond Mathewson

Why are you stuck with LiveCode 8?

1. My Indy licence lets me go on downloading commercial versions until 
it expires (sometime in 2018).


2. If this is not possible, you can, at least, download the Community 
version of later builds and

fiddle around to see what happens there.

Richmond.

On 12/5/16 1:58 pm, Tiemo Hollmann TB wrote:

Since the keyup handler is broken, I am still trying to build a table for 
mapping the rawkeyup key to a char. When testing a prototype it seemed to be 
easy, but now there are some pitfalls I don't get over. On Mac OS X 10.11, 
German system, German keyboard I get with some different char the same keyname.

When putting the following code into a field:
*On rawkeyup keyname*
*put keyname*
*end rawkeyup*

e.g.
Entering shift + dot (":") I get the keyname: 58
Entering shift + ö ("Ö") I also get the keyname: 58

... and others...
How can I map these keynames back to the char?

Anttis kecode app shows for the first example the keycode 47 and for the second 
example 41. But that’s not what I get from rawkeyup.

And with Marks link to the source code I couldn't find a solution either. 
Because there is only a hex value table included.

Can anybody confirm these doubled codes from rawkeyup (with a German keyboard)?

I am stuck with LiveCode 8

Thanks for any ideas




-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Antti Ilola
Gesendet: Sonntag, 27. November 2016 13:55
An: How to use LiveCode 
Betreff: Re: Is there a mapping table for all rawKeyUp Codes?

I found this program, maybe useful.

https://manytricks.com/keycodes/


Antti

-- Edelleenlähetetty viesti --

From: Richmond 
To: How to use LiveCode 
Cc:
Date: Sat, 26 Nov 2016 17:17:23 +0200
Subject: Re: Is there a mapping table for all rawKeyUp Codes?
http://forums.livecode.com/viewtopic.php?f=7=28395

Better than nothing . . . but a long, long way from ideal.

Richmond.

On 24.11.2016 20:31, Mark Waddingham wrote:


Hi Tiemo,

If you search for 'PlatformKeyCode' in this file:

https://github.com/livecode/livecode/blob/develop/engine/src/platform
.h

It should give you what you need.

Warmest Regards,

Mark.

Sent from my iPhone

On 24 Nov 2016, at 16:31, Tiemo Hollmann TB  wrote:

Hello,

since keyUp doesn't works anymore  as it should on windows in LC 7/8
(see my previous post) I have to workaround with rawKeyUp.

Does anybody has a togo mapping table of the rawkeyup codes to the
real chars? If not I have to build it myself by testing each char.

Thanks

Tiemo





___
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


Am I missing something? Should I expect otherwise?

Peter Bogdanoff
___
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


___
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

AW: AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread Tiemo Hollmann TB
Hallo Hermann,

shift + ö and shift + dot both return 58, anyhow if I give the output tot he 
message box or a field. I can't see a script error. For me it's an engine error.

Same with "-" and "ß", both return 45.
I don't see a chance on how I could differentiate between "-" and "ß", when 
getting 45.

Perhaps I didn't understood, what you meant to workaround this issue.

Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
hh
Gesendet: Montag, 5. Dezember 2016 14:55
An: use-livecode@lists.runrev.com
Betreff: Re: AW: Is there a mapping table for all rawKeyUp Codes? No solution 
yet with LC 8

The '58-example' is obviously a script error:
the message box has always display bugs, you may better use a field for the 
display.

If I understand right, then you want now the keyCode (an event, depending on 
_hardware_) and NOT the characterCode (a number representation of the char).
Some Mac apps show, with an abuse of the name, the characterCode and not the 
hardware keycode.

On a german keyboard from Apple the keycodes are on MacOS 10.12.1/LC 9.0.0-dp2 
(65505=shift)

ö = 59
Ö = 59,65505
. = 46
: = 46,65505

This is not contradicting your results if your hardware is different.

You could think about using ___the keysdown___, for example this works for me, 
using a locked field 1 and the following card script (just to see the 
difference):

on idle ; put the keysDown into fld 1 ; end idle

p.s. For the LC table (Mark's link) you could use:
 put baseConvert(hexValue,16,10) into decValue

> Since the keyup handler is broken, I am still trying to build a table for 
> mapping the rawkeyup key to a char. When testing a prototype it seemed to be 
> easy, but now there are some pitfalls I don't get over. On Mac OS X 10.11, 
> German system, German keyboard I get with some different char the same 
> keyname.
> 
> When putting the following code into a field:
> *On rawkeyup keyname*
> *put keyname*
> *end rawkeyup*
> 
> e.g.
> Entering shift + dot (":") I get the keyname: 58 Entering shift + ö 
> ("Ö") I also get the keyname: 58
> 
> ... and others...
> How can I map these keynames back to the char?
> 
> Anttis kecode app shows for the first example the keycode 47 and for the 
> second example 41. But that’s not what I get from rawkeyup.
> 
> And with Marks link to the source code I couldn't find a solution either. 
> Because there is only a hex value table included.
> 
> Can anybody confirm these doubled codes from rawkeyup (with a German 
> keyboard)?
> 
> I am stuck with LiveCode 8
> 
> Thanks for any ideas

___
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

AW: Can some German tell me the rawkeyup codes from a MAC numpad?

2016-12-05 Thread Tiemo Hollmann TB
Hallo Hermann,

vielen Dank für die schnelle Hilfe! - thank you for the fast help

Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von hh
Gesendet: Montag, 5. Dezember 2016 15:15
An: use-livecode@lists.runrev.com
Betreff: Re: Can some German tell me the rawkeyup codes from a MAC numpad?

Mac Keypad charcodes

,:65439
0:65438
1:65436
2:65433
3:65435
4:65430
5:65437
6:65432
7:65429
8:65431
9:65434
Clear:65407
=:65469
/:65455
*:65450
-:65453
+:65451
Enter:65421


___
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: Can some German tell me the rawkeyup codes from a MAC numpad?

2016-12-05 Thread hh
Mac Keypad charcodes

,:65439
0:65438
1:65436
2:65433
3:65435
4:65430
5:65437
6:65432
7:65429
8:65431
9:65434
Clear:65407
=:65469
/:65455
*:65450
-:65453
+:65451
Enter:65421


___
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: AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread hh
The '58-example' is obviously a script error:
the message box has always display bugs, you may better use a field
for the display.

If I understand right, then you want now
the keyCode (an event, depending on _hardware_)
and NOT
the characterCode (a number representation of the char).
Some Mac apps show, with an abuse of the name, the characterCode and
not the hardware keycode.

On a german keyboard from Apple the keycodes are
on MacOS 10.12.1/LC 9.0.0-dp2 (65505=shift)

ö = 59
Ö = 59,65505
. = 46
: = 46,65505

This is not contradicting your results if your hardware is different.

You could think about using ___the keysdown___, for example this works
for me, using a locked field 1 and the following card script (just to
see the difference):

on idle ; put the keysDown into fld 1 ; end idle

p.s. For the LC table (Mark's link) you could use:
 put baseConvert(hexValue,16,10) into decValue

> Since the keyup handler is broken, I am still trying to build a table for 
> mapping the rawkeyup key to a char. When testing a prototype it seemed to be 
> easy, but now there are some pitfalls I don't get over. On Mac OS X 10.11, 
> German system, German keyboard I get with some different char the same 
> keyname.
> 
> When putting the following code into a field:
> *On rawkeyup keyname*
> *put keyname*
> *end rawkeyup*
> 
> e.g.
> Entering shift + dot (":") I get the keyname: 58
> Entering shift + ö ("Ö") I also get the keyname: 58
> 
> ... and others...
> How can I map these keynames back to the char?
> 
> Anttis kecode app shows for the first example the keycode 47 and for the 
> second example 41. But that’s not what I get from rawkeyup.
> 
> And with Marks link to the source code I couldn't find a solution either. 
> Because there is only a hex value table included.
> 
> Can anybody confirm these doubled codes from rawkeyup (with a German 
> keyboard)?
> 
> I am stuck with LiveCode 8
> 
> Thanks for any ideas

___
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

Can some German tell me the rawkeyup codes from a MAC numpad?

2016-12-05 Thread Tiemo Hollmann TB
Hello,

 

I only have the standard Apple keyboard, so I can't test it.

If there is somebody, who has a Mac keyboard with numpad and a German system
and German keyboard, could you please tell me the keynames from rawkeyup
from the numbers 0-9 from the numpad.

Just create a field with a *rawkeyup* handler type the numbers 0-9 on the
keypad and return the keys.

Thanks

Tiemo

 

 

___
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


AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

2016-12-05 Thread Tiemo Hollmann TB
Since the keyup handler is broken, I am still trying to build a table for 
mapping the rawkeyup key to a char. When testing a prototype it seemed to be 
easy, but now there are some pitfalls I don't get over. On Mac OS X 10.11, 
German system, German keyboard I get with some different char the same keyname.

When putting the following code into a field:
*On rawkeyup keyname*
*put keyname*
*end rawkeyup*

e.g.
Entering shift + dot (":") I get the keyname: 58
Entering shift + ö ("Ö") I also get the keyname: 58

... and others...
How can I map these keynames back to the char?

Anttis kecode app shows for the first example the keycode 47 and for the second 
example 41. But that’s not what I get from rawkeyup.

And with Marks link to the source code I couldn't find a solution either. 
Because there is only a hex value table included.

Can anybody confirm these doubled codes from rawkeyup (with a German keyboard)?

I am stuck with LiveCode 8

Thanks for any ideas




-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Antti Ilola
Gesendet: Sonntag, 27. November 2016 13:55
An: How to use LiveCode 
Betreff: Re: Is there a mapping table for all rawKeyUp Codes?

I found this program, maybe useful.

https://manytricks.com/keycodes/


Antti

-- Edelleenlähetetty viesti --
> From: Richmond 
> To: How to use LiveCode 
> Cc:
> Date: Sat, 26 Nov 2016 17:17:23 +0200
> Subject: Re: Is there a mapping table for all rawKeyUp Codes?
> http://forums.livecode.com/viewtopic.php?f=7=28395
>
> Better than nothing . . . but a long, long way from ideal.
>
> Richmond.
>
> On 24.11.2016 20:31, Mark Waddingham wrote:
>
>> Hi Tiemo,
>>
>> If you search for 'PlatformKeyCode' in this file:
>>
>> https://github.com/livecode/livecode/blob/develop/engine/src/platform
>> .h
>>
>> It should give you what you need.
>>
>> Warmest Regards,
>>
>> Mark.
>>
>> Sent from my iPhone
>>
>> On 24 Nov 2016, at 16:31, Tiemo Hollmann TB  wrote:
>>>
>>> Hello,
>>>
>>> since keyUp doesn't works anymore  as it should on windows in LC 7/8 
>>> (see my previous post) I have to workaround with rawKeyUp.
>>>
>>> Does anybody has a togo mapping table of the rawkeyup codes to the 
>>> real chars? If not I have to build it myself by testing each char.
>>>
>>> Thanks
>>>
>>> Tiemo
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> 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
>>
>
> Am I missing something? Should I expect otherwise?
>>
>> Peter Bogdanoff
>> ___
>> 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


___
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

[ANN] This Week in LiveCode 62

2016-12-05 Thread Peter TB Brett

Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #62 here: https://goo.gl/XlzIg4


This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project.  New issues will be
released weekly on Mondays.  We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.

 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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: Installing LiveCode Server on a Microsoft Azure Bitnami LAMP stack

2016-12-05 Thread Dave Kilroy
Huzzah!

The wonderful Simon Smith solved the problem - thanks Simon! :)

See http://forums.livecode.com/viewtopic.php?f=20=28354=149144#p149144 for 
details






___
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: [OT] unhosing .rev and .livecode files

2016-12-05 Thread Kay C Lan
On Sun, Dec 4, 2016 at 11:28 AM, Jerry Jensen  wrote:
> Just one additional level of warning - if you keep Dropbox or Google Drive 
> online,
> malware can get there too. Usually the baddies just trash your directory, but 
> if
> they encrypt everything you have accessible online, Dropbox and Google Drive
>won’t help you. Offline backup is essential, offsite is even better.

Whilst your overall comment is extremely valid, that everyone should
have some sort of offline back-up, the sentiment about Google Drive I
think is false and probably driven by articles such as this:

http://blog.teklinks.com/ask-the-engineer-why-dropbox-wont-help-if-youre-the-victim-of-cryptowall

The statement that versioning is just a few hours or a couple of days
at most is just wrong; certainly in the case of Google Drive, and is
just a perfect example of how so many of us do not really understand
the programs and services we use and the options available to us:

http://fieldguide.gizmodo.com/keep-older-versions-of-your-documents-on-google-drive-f-1671188573

If Richmond had Google Drive synced to his stacks (which I appreciate
he doesn't), then even at the default setting, if there was some
crypto attack on his computer I would NOT discount the effort of going
to your Google Drive and looking at the old versions kept - there is a
little clock icon against any file that has multiple versions.

Not only that, Google Drive has a menubar icon which becomes active
only when it's syncing, ie I've just saved a stack. It spends most of
it's time as a static Icon, so if it starts up at a random time and
doesn't stop it's a clear indication to pull the ethernet, USB,
Thunderbolt and FireWire cables and shut the computer down immediately
- especially if I were to click on the menubar Google Drive Icon and
the files it listed as being synced are ones that I haven't worked on
for ages. Had to pull cables a couple of times over the years,
although not for uncommanded Google Drive activity but for network
traffic that didn't seem right.

Cloud based sync is not THE answer, it's just one of many cheap and
easy options that should be ADDED to our stash of computer
prophylactics. Only if your network bandwidth is thin and/or expensive
would you not avail yourself of the side benefits of free Google
Drive/Dropbox.

___
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