Re: slight OT: Apple's Volume Purchase Program

2011-09-02 Thread Mark Talluto
Hi Chris, Apple's license states that a business can not do multiple installs in the manner you have described. But, the technology does not prohibit it either. It is on the honor system. Thus, your teacher could create an account at school and install your app for a single purchase on every

Re: DataGrid and my headache

2011-09-02 Thread Mark Wieder
Horst- Friday, September 2, 2011, 12:49:17 PM, you wrote: > It would be so kind, if you'll be able to kick me in the right > direction. The example is incomplete (aka "wrong"). Try the following... the inserted text is from the more complete example at http://lessons.runrev.com/s/lessons/m/data

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread James Hurley
> > Message: 10 > Date: Fri, 2 Sep 2011 11:21:17 -0400 > From: Jonathan Lynch > To: use-livecode@lists.runrev.com > Subject: Copying from MS word into RunRev 4.0 > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi everyone. > > When I type this word into MS Word: it's >

Re: DataGrid and my headache

2011-09-02 Thread Pete
Don't see anything obvious wrong with your code except possible name misspellings, but unfortunately, the dictionary is pretty silent on anything related to the datagrid. However the data grid manual has a section at the end that lists all the properties, commands and functions that are available

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Unfortunately, I do not have that control. this is for coworkers to be able to paste specific chunks of text into a message repository. They all work in MS Word, then will copy and past into the application. It would look weird if i told them they have to not use Word because my application can't

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Keith Clarke
...if you have control overt the Word environment, I think I'd look into enforcing straight quotes prior to export. It's an options/preferences setting and I seem to remember it being possible to set all quotes to straight, via a command - so that HTML export doesn't get corrupted. Good luck! K

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Bob Sneidar
microsoftsuks On Sep 2, 2011, at 1:15 PM, Jonathan Lynch wrote: > Hi Keith, > I just tried doing this with the useunicode set to true, but the apostrophe > was still absent. > > On Fri, Sep 2, 2011 at 3:56 PM, Keith Clarke < > keith.cla...@clarkeandclarke.co.uk> wrote: > >> Jonathan, check that

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Hi Keith, I just tried doing this with the useunicode set to true, but the apostrophe was still absent. On Fri, Sep 2, 2011 at 3:56 PM, Keith Clarke < keith.cla...@clarkeandclarke.co.uk> wrote: > Jonathan, check that you have the useUnicode property set to true in your > handler, as it's clear th

Re: slight OT: Apple's Volume Purchase Program

2011-09-02 Thread Bob Sneidar
THE HELL YOU SAY! ;-) On Sep 2, 2011, at 12:52 PM, Chris Sheffield wrote: > Sorry for the slight off-topicness of this post, but I'm not getting any > responses from Apple ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: [OT] Related to Security Concerns ( was: "please tell me why this is stupid")

2011-09-02 Thread Bob Sneidar
Duly hijacked, massaged into a joke, and sent to family and friends. :-) Bob On Sep 2, 2011, at 12:14 PM, Scott Rossi wrote: > >> You might also want to consider a simplification of the trick that >> Salseforce.com uses (albeit in their case, on top of SSL & username/password >> authentication

Re: DataGrid and my headache

2011-09-02 Thread Bob Sneidar
Was this copied and pasted from your code or did you retype it? Check the name of the datagrid just to be certain. Then if you still have a problem, delete the datagrid and try again. Bob On Sep 2, 2011, at 12:49 PM, Inselfan wrote: > Hola, > > Working with RR/LC since 1997 (my actual Versi

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Keith Clarke
Jonathan, check that you have the useUnicode property set to true in your handler, as it's clear that the code for curly quotes (2019) is way up above the 127-255 range that numtochar will support without unicode enabled. http://en.wikipedia.org/wiki/Quotation_mark_glyphs I've not had to dig in

slight OT: Apple's Volume Purchase Program

2011-09-02 Thread Chris Sheffield
Hi all, Sorry for the slight off-topicness of this post, but I'm not getting any responses from Apple and wondered if anyone here has had experience with their Volume Purchasing Program. We (Read Naturally, Inc.) may have an upcoming iPad app and may possible be interested in using the VPP, as

DataGrid and my headache

2011-09-02 Thread Inselfan
Hola, Working with RR/LC since 1997 (my actual Version: LC 4.5.3). Now I want to start working with something new to me: DataGrid. And it's making me mad. Doing the exercises as described and also made a Data Grid "field" from the Tool-bar with the name DataGrid1. on mouseUp put "state" & tab

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
I tried this: * on* mouseUp *put* the clipboarddata["text"] into ttext *put* chartonum(tTExt) into field "Feedback" * end* mouseUp I ran this after copying a single apostrophe from MS Word, but it came back empty. I do not think it is a problem with the rendering the character. I can paste

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread J. Landman Gay
On 9/2/11 2:08 PM, Keith Clarke wrote: I'm confused, how do you know the characters are missing until you paste the clipboard contents somewhere within LC to render them and see them? The clipboardData is already a variable, so examining it to see what was actually copied should show accurate

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
I see what you are saying. I just tried the following: * on* mouseUp *put* the clipboarddata["html"] into tHTML *put* the number of chars in tHTML & linefeed & tHTML into field "feedback" * end* mouseUp The output of this script is the following: 7 "" contains 7 characters, which is what t

Re: [OT] Related to Security Concerns ( was: "please tell me why this is stupid")

2011-09-02 Thread Keith Clarke
d-d-d-d-d-drum...tshhh! :-) On 2 Sep 2011, at 20:14, Scott Rossi wrote: > >> You might also want to consider a simplification of the trick that >> Salseforce.com uses (albeit in their case, on top of SSL & username/password >> authentication) when a user logs in via an unknown machine (my g

[OT] Related to Security Concerns ( was: "please tell me why this is stupid")

2011-09-02 Thread Scott Rossi
> You might also want to consider a simplification of the trick that > Salseforce.com uses (albeit in their case, on top of SSL & username/password > authentication) when a user logs in via an unknown machine (my guess is > 'unknown IP address'). Apologies for the thread hijacking, just saw this

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Keith Clarke
I'm confused, how do you know the characters are missing until you paste the clipboard contents somewhere within LC to render them and see them? If you 'test' by rendering any formatted text into a field, you get the field's behaviour of partial interpretation of some text formatting in your tes

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread stephen barncard
Digital Rights Management. Copy protection. On 2 September 2011 11:48, Jonathan Lynch wrote: > What is DRM? > > On Fri, Sep 2, 2011 at 2:45 PM, stephen barncard < > stephenrevoluti...@barncard.com> wrote: > > > That's an interesting method of DRM. Another level of obfuscation. Thanks > > Microso

Re: please tell me why this is stupid

2011-09-02 Thread Keith Clarke
You might also want to consider a simplification of the trick that Salseforce.com uses (albeit in their case, on top of SSL & username/password authentication) when a user logs in via an unknown machine (my guess is 'unknown IP address'). The successful login is followed by a dialogue to send

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Hi Keith, The characters are entitely absent from the clipboarddata["html"] and every other element of the clipboard array. Are there other means of accessing the clipboard besides using the clipboarddata or paste operations? On Fri, Sep 2, 2011 at 2:48 PM, Keith Clarke < keith.cla...@clarkeandc

Re: Android Fonts

2011-09-02 Thread Roger Eller
On Thu, Sep 1, 2011 at 10:48 PM, Roger Eller wrote: > answer the fontNames returns "1" in android. > > I need to identify and use a digital clock font. It needs to be a font > that is most likely already installed on all Android devices. > > the fontNames is in the LC dictionary with the android

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
What is DRM? On Fri, Sep 2, 2011 at 2:45 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > That's an interesting method of DRM. Another level of obfuscation. Thanks > Microsoft. > > On 2 September 2011 09:07, Bob Sneidar wrote: > > > I did this on a Mac and it works fine. I believ

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Keith Clarke
It might be worth avoiding pasting into an LC field (LC fields can be awkward when working with formatted text such as HTML/XML as they interpret some tags). It might be worth an experiment to 1) paste the clipboard contents into an LC variable, instead of a field 2) set custom property to the va

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
I am thinking that this could be accomplished with a hidden RevBrowser stack that points to an HTML page that has nothing but a single text area. typing ^v ^a ^c into the browser text area would get me the clipboard text in a clean fashion, and be much faster than how I do it now. Will update if

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread stephen barncard
That's an interesting method of DRM. Another level of obfuscation. Thanks Microsoft. On 2 September 2011 09:07, Bob Sneidar wrote: > I did this on a Mac and it works fine. I believe that MS Office clipboard > data is specially formatted, and the app has to be running in order to do an > on the f

Re: please tell me why this is stupid

2011-09-02 Thread Richard Gaskin
Thanks for chiming in, Dave: On 2 Sep 2011, at 16:33, Richard Gaskin wrote: So it occurs to me that before the authentication data is sent, the first request to the server app could be to ask for a token. This token would be a hash (probably SHA1) of the client app's IP address, the time in

Re: please tell me why this is stupid

2011-09-02 Thread Richard Gaskin
Bob Sneidar wrote: If both ends support OpenSSH then can't you simply get the public key for the machine the first time you connect and store that? But then of course, a wipe and reinstall of the OS hoses that. Apple computers natively support it, but Windows XP does not. (Not sure if Vista or

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
I just tried it, but no success. I copied a bunch of apostrophes from Word, and used a button that puts the clipboarddata["html"] into a field. All the field shows is "" - all of the apostrophes were omitted, even though I can paste them into Notepad. Do you have any other suggestions? I will try

Re: please tell me why this is stupid

2011-09-02 Thread Dave Cragg
On 2 Sep 2011, at 16:33, Richard Gaskin wrote: > So it occurs to me that before the authentication data is sent, the first > request to the server app could be to ask for a token. This token would be a > hash (probably SHA1) of the client app's IP address, the time in millisecs, > and other a

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread J. Landman Gay
On 9/2/11 10:21 AM, Jonathan Lynch wrote: Hi everyone. When I type this word into MS Word: it's Then copy and paste it into a field in RunRev, the apostrophe gets omitted. This is on a windows system. The character in question is not the usual apostrophe, but is the curly apostrophe that MS Wor

Re: please tell me why this is stupid

2011-09-02 Thread Bob Sneidar
If both ends support OpenSSH then can't you simply get the public key for the machine the first time you connect and store that? But then of course, a wipe and reinstall of the OS hoses that. Apple computers natively support it, but Windows XP does not. (Not sure if Vista or Win7 have caught up

Re: please tell me why this is stupid

2011-09-02 Thread Richard Gaskin
Bob Sneidar wrote: What happens when you change the internet provider on either end? You need a mechanism for re-establishing the link. The system assumes the ISP won't be changed mid-session; the token is used only for the current session. -- Richard Gaskin Fourth World LiveCode trainin

Re: please tell me why this is stupid

2011-09-02 Thread Bob Sneidar
What happens when you change the internet provider on either end? You need a mechanism for re-establishing the link. Bob On Sep 2, 2011, at 9:33 AM, Richard Gaskin wrote: > Andre Garzia wrote: >> For the arbitrary data, use some shared secret between both instances, this >> way, someone in th

Re: please tell me why this is stupid

2011-09-02 Thread Richard Gaskin
Andre Garzia wrote: For the arbitrary data, use some shared secret between both instances, this way, someone in the middle can't fake the requests by simply knowing the IPs and the milliseconds... Just to clarify, they not only need to know the IP and milliseconds, but must also spoof the IP a

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Thanks for testing it, Bob :) On Fri, Sep 2, 2011 at 12:13 PM, Jonathan Lynch wrote: > Even with both apps open, it omits apostrophes when i paste from Word to > RunRev 4.0 > > If I paste it into notepad first, then copy and paste from notepad into > Rev, it works fine without dropping characters

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Even with both apps open, it omits apostrophes when i paste from Word to RunRev 4.0 If I paste it into notepad first, then copy and paste from notepad into Rev, it works fine without dropping characters. On Fri, Sep 2, 2011 at 12:07 PM, Bob Sneidar wrote: > I did this on a Mac and it works f

Re: please tell me why this is stupid

2011-09-02 Thread Bob Sneidar
But you would have to use a presumed shared secret and not store it. It couldn't be something that was chosen by the end user in the process of creating the key, because it would be discoverable. Bob On Sep 2, 2011, at 8:52 AM, Andre Garzia wrote: > Richard, > > For the arbitrary data, use

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Bob Sneidar
I did this on a Mac and it works fine. I believe that MS Office clipboard data is specially formatted, and the app has to be running in order to do an on the fly translation of the data. I have noticed in the past that if I copy something from an office product and then launch another program, t

Re: please tell me why this is stupid

2011-09-02 Thread Andre Garzia
Richard, For the arbitrary data, use some shared secret between both instances, this way, someone in the middle can't fake the requests by simply knowing the IPs and the milliseconds... On Fri, Sep 2, 2011 at 12:33 PM, Richard Gaskin wrote: > I need a lightweight embeddable solution for encrypti

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
You could probably do the reverse of what I am doing. That is, you could create an HTML file with the proper unicode text, then use VBScript (if you are using Windows) to create an invisible word document and open up the HTML file. Then, do selection.wholestory and selection.copy. Then, close the

Re: Copying from MS word into RunRev 4.0

2011-09-02 Thread Richard Gaskin
Jonathan Lynch wrote: Does anyone know if the recent versions of Live Code allow for pasting from an MS Word document without omitting characters? I know it worked fine back with RunRev 2.5, so I know it is possible for it to be done. Odd. I've also discovered a complimenting issue, which may

please tell me why this is stupid

2011-09-02 Thread Richard Gaskin
I need a lightweight embeddable solution for encrypting socket traffic between two LiveCode-based apps. This is peer-to-peer, so there is no other software involved (no Apache or anything else), just two apps each with an Internet connection, which may be anywhere in the world. For the purpos

Copying from MS word into RunRev 4.0

2011-09-02 Thread Jonathan Lynch
Hi everyone. When I type this word into MS Word: it's Then copy and paste it into a field in RunRev, the apostrophe gets omitted. This is on a windows system. The character in question is not the usual apostrophe, but is the curly apostrophe that MS Word uses. This is quite an issue for me. My w

Re: [ANN] sunnYperl for Windows - a LiveCode proxy for Perl

2011-09-02 Thread René Micout
Hello Thierry, Thank you !! Cela ne peut en aucun cas me concerner (maheureusement) mais je vois que l'été a été studieux... That is not for me (sniff !) A bientôt René Le 2 sept. 2011 à 12:26, Thierry Douez a écrit : > Hi all, > > > I'm pleased to announce sunnYperl for Windows. > > It's a

[ANN] sunnYperl for Windows - a LiveCode proxy for Perl

2011-09-02 Thread Thierry Douez
Hi all, I'm pleased to announce sunnYperl for Windows. It's a LiveCode proxy for Perl and fully compatible with sunnYperl for Mac. You can download a trial version at http://sunny-tdz.com. This version has been linked with ActivePerl 5.14.1. You can get ActivePerl from ActiveState.com for fr

Re: Default Button

2011-09-02 Thread Jim Ault
I think the key is 'focused object', which can change based on user interaction and code execution. A front script could test for the focused object, after trapping the correct key stroke, then taking the desired action. This could also be modified by a user preference or check box, as some

Re: Default Button

2011-09-02 Thread FlexibleLearning
'Default' determines the button's visual appearance, and on some platforms the change in border will grow the button dimensions a bit. It's behavior should be up to the designer, by Enter and/or Return key stroke, EnterInField and/or ReturnInField key stroke, or indeed none. I have never relied o