invisible Return issue to know about

2011-09-19 Thread Colin Holgate
A card script that I had made using 4.6.1 was causing a script error in a button when used in 4.6.4. The button script had no problem, but it did call into an unrelated handler in the same card script where the problem line was. It turned out that one line in that card script had an invisible

Re: Comma-Delimited Files on Macs

2011-09-19 Thread Bob Sneidar
Without reading further posts, I am going to say backwards compatibility. Comma delimiting is older than tab delimiting, which if my vague memory serves me came along with the Mac OS at some point. I think the reasoning was that it was much more likely that raw text would contain commas and not

Re: invisible Return issue to know about

2011-09-19 Thread Dar Scott
ASCII LF (line feed) is the LiveCode NewLine, so perhaps you mean the CR, carriage return. That LiveCode calls the newline the return character adds to the confusion. I too have had bad lines show up that had to be retyped. There might be a range of control characters that cause problems.

Re: invisible Return issue to know about

2011-09-19 Thread Richard Gaskin
Good find. If the recipe is consistently reproducible it should be easy and very convenient for scripters to add the presence linefeed chars to the circumstances that will trigger a compilation error. Have you submitted a request for that? -- Richard Gaskin Fourth World LiveCode training

[OT] Amazon Android AppStore available overseas

2011-09-19 Thread Andre Garzia
Folks, Amazon just enabled non-U.S. accounts on their android appstore. Since I know many users here are on the Android side of the fence, I decided to send this email. Amazon Android AppStore has some novelty price scheme that is really different from the other guys, so I recommend you check

Re: Unity on Windows 8

2011-09-19 Thread Bob Sneidar
Or it might mean that they have taken so much from Apple already, that to take more would almost certainly result in another ugly lawsuit and this time Apple has the money to fight it. I have a saying: You know as much after you say Maybe... as you did before you said it. I imagine others

Re: Unity on Windows 8

2011-09-19 Thread Bob Sneidar
I wonder how many of these EULA's we would have if no human being ever pirated software? I wonder what kind of copy protection we would have if no one ever copied an MP3? All you who have or ever have had copies of music you never bought and have chimed in on the evils of EULA's or copy

Re: invisible Return issue to know about

2011-09-19 Thread Bob Sneidar
I think also the compiler should add a check for illegal characters and report it as such. Bob On Sep 19, 2011, at 9:10 AM, Richard Gaskin wrote: Good find. If the recipe is consistently reproducible it should be easy and very convenient for scripters to add the presence linefeed chars

Re: How do you save the state of a Option button when quitting an app?

2011-09-19 Thread Bob Sneidar
Well first, there is the issue of standalone. I am sure you have seen prior posts, but make sure your actual application stack is not the main stack as the main stack in a standalone will not be editable. If you set a custom property, either of the card or the stack, it will persist through

Re: Unity on Windows 8

2011-09-19 Thread Richard Gaskin
Bob Sneidar wrote: Or it might mean that they have taken so much from Apple already, that to take more would almost certainly result in another ugly lawsuit and this time Apple has the money to fight it. To clarify, Apple lost their suit against Microsoft on the grounds that the only

Re: invisible Return issue to know about

2011-09-19 Thread Dar Scott
On Sep 19, 2011, at 10:35 AM, Bob Sneidar wrote: I think also the compiler should add a check for illegal characters and report it as such. An alternative might be for the compiler to ignore all characters that have no visual effect in a field. Dar --- Dar Scott

Re: invisible Return issue to know about

2011-09-19 Thread Dar Scott
On Sep 19, 2011, at 11:35 AM, Colin Holgate wrote: I think the number of people who manage to introduce an extra carriage return character is going to be low, so not such a big deal. I wonder if this can be considered a paste issue. Dar ___

Re: invisible Return issue to know about

2011-09-19 Thread Colin Holgate
Even if pasting could be fixed to remove carriage returns, or change them to carriage return and line feed (whatever it is that is required), that wouldn't fix existing scripts. What you said about the compiler processing it based on how it looks would take care of the issue. On Sep 19, 2011,

PST Outlook File Format Question

2011-09-19 Thread Michael Kann
A buddy of mine is moving and had the gurus at his work put his email on a disk for him. It is in the form of pst Outlook files. He can't access the files. (They didn't tell him about a password or anything). Has anyone used LiveCode to look at these kinds of files? I've read that the passwords

Re: PST Outlook File Format Question

2011-09-19 Thread Richmond Mathewson
On 09/19/2011 08:57 PM, Michael Kann wrote: A buddy of mine is moving and had the gurus at his work put his email on a disk for him. It is in the form of pst Outlook files. He can't access the files. (They didn't tell him about a password or anything). Has anyone used LiveCode to look at

Re: invisible Return issue to know about

2011-09-19 Thread Bob Sneidar
I agree. I am not much for the idea that software should change anything in the clipboard, as they cannot possibly predict why I am pasting it or what the clipboard should contain. We have all heard about the problems people have had with Microsofts own clipboard translation technology. It's

Re: PST Outlook File Format Question

2011-09-19 Thread Bob Sneidar
There used to be a utility called Outlook2Mac which worked quite well in converting contacts, calendar events and email to the Mac format in each of the respective programs. It took a PST file as input. Bob On Sep 19, 2011, at 10:57 AM, Michael Kann wrote: A buddy of mine is moving and had

Moving an Icon between stacks

2011-09-19 Thread Paul Dupuis
Okay a really simple (at least I hope so) question: How do I move an icon from the LiveCode icon library to my stack? -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ ___ use-livecode mailing list

Re: Moving an Icon between stacks

2011-09-19 Thread Mark Schonewille
Hi Paul, Press the Place Image button. You probably will want to change the image id afterwards. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 See what you get

Re: Moving an Icon between stacks

2011-09-19 Thread Richmond Mathewson
On 09/19/2011 10:55 PM, Paul Dupuis wrote: Okay a really simple (at least I hope so) question: How do I move an icon from the LiveCode icon library to my stack? Right . . . make sure UI elements appear in lists of stack is checked in your preferences. 1. Open a new, blank stack. 2. Open

[OT] Pst, pst, want to hear something interesting?

2011-09-19 Thread Richmond Mathewson
http://msdn.microsoft.com/en-us/library/ff385210.aspx http://www.five-ten-sg.com/libpst/rn01re06.html http://www.five-ten-sg.com/libpst/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Moving an Icon between stacks

2011-09-19 Thread Paul Dupuis
Thanks Mark and Richmond. All set. been a long day I I guess the brain was just shut down and never even saw the Place Image button in the library. Added the image, made it invisible and placed off screen with updated ID. Set my buttons to that new icon and it all works like a charm. On

Re: [OT] Pst, pst, want to hear something interesting?

2011-09-19 Thread Michael Kann
Richmond, thanks for the yeoman work. Much appreciated. Mike --- On Mon, 9/19/11, Richmond Mathewson richmondmathew...@gmail.com wrote: From: Richmond Mathewson richmondmathew...@gmail.com Subject: [OT] Pst, pst, want to hear something interesting? To: How to use LiveCode

Tell me I'm not crazy

2011-09-19 Thread Tereza Snyder
I recently encountered a problem implementing an undo function in a script. I needed to compare two arrays to see if any values had changed, like this: put (tArray1 tArray2) into sDirtyFlag so that sDirtyFlag would be true when the arrays failed to match. However, sDirtyFlag was always false!

Re: Tell me I'm not crazy

2011-09-19 Thread Bob Sneidar
I also ran into comparing arrays in this fashion. First of all, comparing arrays is cASE sENSITIVE (if I remember correctly). Secondly some normal operators like empty do not work on arrays. Arrays ALWAYS report empty! (At least the do for me). If the arrays are not terribly large, try using

Re: Tell me I'm not crazy

2011-09-19 Thread Andre Garzia
Tereza, I don't think you can compare arrays like that... I never tried to do so, I always sort the keys and iterate thru them. andre On Mon, Sep 19, 2011 at 5:30 PM, Tereza Snyder ter...@califex.com wrote: I recently encountered a problem implementing an undo function in a script. I needed

Re: Moving an Icon between stacks

2011-09-19 Thread Bob Sneidar
Ya icons and images are not implemented the way you might expect, but I guess the old Backwards Compatibility thing could be put forward to explain it. Bob On Sep 19, 2011, at 1:24 PM, Paul Dupuis wrote: Thanks Mark and Richmond. All set. been a long day I I guess the brain was just shut

Re: Tell me I'm not crazy

2011-09-19 Thread Tereza Snyder
You CAN compare arrays for equality (see the docs for =), but evidently not for INequality! On Sep 19, 2011, at 3:42 PM, Andre Garzia wrote: Tereza, I don't think you can compare arrays like that... I never tried to do so, I always sort the keys and iterate thru them. andre On Mon,

Re: Tell me I'm not crazy

2011-09-19 Thread Robert Brenstein
On 19.09.2011 at 15:30 Uhr -0500 Tereza Snyder apparently wrote: I recently encountered a problem implementing an undo function in a script. I needed to compare two arrays to see if any values had changed, like this: put (tArray1 tArray2) into sDirtyFlag so that sDirtyFlag would be true

Re: Tell me I'm not crazy

2011-09-19 Thread Dick Kriesel
On Sep 19, 2011, at 1:30 PM, Tereza Snyder wrote: (tTestA1 tTestA2) is not the same as not(tTestA1 = tTestA2) when the arrays are unequal. OK, Tereza, you're not crazy. The dictionary entry for says: Use the (inequality) operator to compare two numbers or to compare two strings. --

Re: Tell me I'm not crazy

2011-09-19 Thread Tereza Snyder
Look at the docs for =; LiveCode CAN compare arrays using =. I started out as has been suggested, and nearly gave up on my undo implementation because it was too cumbersome to iterate deep into a couple of elaborate arrays when I thought to check out array equality in the docs, and lo! it’s

Re: Tell me I'm not crazy

2011-09-19 Thread Richard Gaskin
Tereza Snyder wrote: You CAN compare arrays for equality (see the docs for =), but evidently not for INequality! That's good to know. I had thought that all operators only worked on strings or numbers, and since attempting to get the value of an array (as opposed to the value of one of

Re: Tell me I'm not crazy

2011-09-19 Thread Phil Davis
On 9/19/11 1:48 PM, Tereza Snyder wrote: You CAN compare arrays for equality (see the docs for =), but evidently not for INequality! Right. You're not crazy. That's my experience too. Phil On Sep 19, 2011, at 3:42 PM, Andre Garzia wrote: Tereza, I don't think you can compare arrays like

Dealing with new window requests in revBrowser

2011-09-19 Thread Terry Judd
So, I'm loading some sites in a revBrowser instance that have links that normally open in new windows. If I set the newWindow property of my revBrowserInstance to false (the default) then I can trap the browserNewUrl message but the url parameter is always empty (which doesn't help me much as I

Re: Unity on Windows 8

2011-09-19 Thread Mark Wieder
Bob- Monday, September 19, 2011, 9:31:32 AM, you wrote: I wonder how many of these EULA's we would have if no human being I couldn't resist... xkcd to the rescue... https://www.xkcd.com/501/ -- -Mark Wieder mwie...@ahsoftware.net ___

Datagrid Question

2011-09-19 Thread Marty Knapp
I have a datagrid with several columns, column 4 of which contains a number. Under the datagrid I have placed a field that keeps a total of the values in this column. I would like this field to match the width of column 4 and align itself directly under it so that if a user changes the column