Char index
Is there a way I can find out the char index for a chunk of text that may exists in a line of text of a variable ? The char index function doesn't seem to be helping much. Basically if a line in a variable contains data_ (note;the portion after the _will vary so I can't check the full word) I want the charIndex of the d.. Ideas? Sent from my iPhone COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ 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: Char index
2014-01-29 Nakia Brewer nakia.bre...@westrac.com.au: Is there a way I can find out the char index for a chunk of text that may exists in a line of text of a variable ? Hi Nakia, offset will do it ! Thierry Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf ___ 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: 652 release
Am 29.01.2014 um 00:29 schrieb Mark Wieder mwie...@ahsoftware.net: Nonetheless, something that hasn't been offically announced is pretty much guaranteed to be broken, or at least not ready to be downloaded, installed, launched, or mentioned in mixed company. For listmembers: Yes, we should know and wait for an announcement Non listmembers: No, how should they know these versions are not final. At http://livecode.com/download/ there is link near the bottom labeled View all Livecode Downloads Clicking on that link opens a folder with subfolders labeled according available version numbers. And in folder 6.5.2 there are Installers for the community and the commercial version. Some have an additional rc in their names. But there are also installers without any rc or dp in their names. So one would assume these are final versions. Either RR should label theses versions correctly, if they really are not final or RR should avoid placing them wrong labled in a public download folder. Just imagine a new customer without access to the mailinglist where the announcements are posted, downloads such a buggy wrong labled version. How should she/he know what is final and what not? Regards, Matthias Even when an announcement has been made, I usually wait for a while and let other folks shake out the obvious bugs first. -- Mark Wieder ahsoftw...@gmail.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 Matthias Rebbe Tel:+49 5741 31 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot 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: Char index
Indeed it will, looked for every other iteration of offset, just not offset alone Thanks Sent from my iPhone On 29 Jan 2014, at 8:26 pm, Thierry Douez th.do...@gmail.com wrote: 2014-01-29 Nakia Brewer nakia.bre...@westrac.com.au: Is there a way I can find out the char index for a chunk of text that may exists in a line of text of a variable ? Hi Nakia, offset will do it ! Thierry Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf ___ 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 COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ 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: 652 release
Hi Matthias, Whether or not I am a list member is not important. Whenever I need the latest version of LC, I follow the link to the downloads and download whatever appears to be the latest version. I'm not going to check the list for all announcements, while I just want to help out a new potential LiveCode user by quickly installing the latest version for him or her. I'll just grab the latest version from the server and that's it. If this version looks official but appears to be unstable, it will put off this potential new user and RunRev will have one potential customer less. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 1/29/2014 10:37, Matthias Rebbe wrote: For listmembers: Yes, we should know and wait for an announcement Non listmembers: No, how should they know these versions are not final. At http://livecode.com/download/ there is link near the bottom labeled View all Livecode Downloads Clicking on that link opens a folder with subfolders labeled according available version numbers. And in folder 6.5.2 there are Installers for the community and the commercial version. Some have an additional rc in their names. But there are also installers without any rc or dp in their names. So one would assume these are final versions. Either RR should label theses versions correctly, if they really are not final or RR should avoid placing them wrong labled in a public download folder. Just imagine a new customer without access to the mailinglist where the announcements are posted, downloads such a buggy wrong labled version. How should she/he know what is final and what not? Regards, Matthias ___ 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: 652 release
Hi Ben, I can download this release, but it's not visible on my account (commercial), so i can't activate it. Marek ___ 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: 652 release
But what about the active an unresolved new bugs that have been reported for 6.5.2 RC1? On Jan 29, 2014 6:24 AM, Benjamin Beaumont b...@runrev.com wrote: Hi Richmond. As you rightly point out, LiveCode 6.5.2 GM1 has been build and is on our download server. It has passed the first phase of internal testing and is currently being run against our automated test suit. Once it has passed all these tests it will be announce and activated through the auto update process. Warm regards, Ben On 29 January 2014 10:39, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Matthias, Whether or not I am a list member is not important. Whenever I need the latest version of LC, I follow the link to the downloads and download whatever appears to be the latest version. I'm not going to check the list for all announcements, while I just want to help out a new potential LiveCode user by quickly installing the latest version for him or her. I'll just grab the latest version from the server and that's it. If this version looks official but appears to be unstable, it will put off this potential new user and RunRev will have one potential customer less. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 1/29/2014 10:37, Matthias Rebbe wrote: For listmembers: Yes, we should know and wait for an announcement Non listmembers: No, how should they know these versions are not final. At http://livecode.com/download/ there is link near the bottom labeled View all Livecode Downloads Clicking on that link opens a folder with subfolders labeled according available version numbers. And in folder 6.5.2 there are Installers for the community and the commercial version. Some have an additional rc in their names. But there are also installers without any rc or dp in their names. So one would assume these are final versions. Either RR should label theses versions correctly, if they really are not final or RR should avoid placing them wrong labled in a public download folder. Just imagine a new customer without access to the mailinglist where the announcements are posted, downloads such a buggy wrong labled version. How should she/he know what is final and what not? Regards, Matthias ___ 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 -- _ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : b...@runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple ___ 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: 652 release
Roger, The new release notes contain a small list of bug fixes compared to RC1, if I understand the notes correctly. There are bug fixes for 6.5.2-rc-1 and 6.5.2. I think 6.5.2 follows 6.5.2-rc-1. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 1/29/2014 14:03, Roger Eller wrote: But what about the active an unresolved new bugs that have been reported for 6.5.2 RC1? On Jan 29, 2014 6:24 AM, Benjamin Beaumont b...@runrev.com wrote: Hi Richmond. As you rightly point out, LiveCode 6.5.2 GM1 has been build and is on our download server. It has passed the first phase of internal testing and is currently being run against our automated test suit. Once it has passed all these tests it will be announce and activated through the auto update process. Warm regards, Ben On 29 January 2014 10:39, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Matthias, Whether or not I am a list member is not important. Whenever I need the latest version of LC, I follow the link to the downloads and download whatever appears to be the latest version. I'm not going to check the list for all announcements, while I just want to help out a new potential LiveCode user by quickly installing the latest version for him or her. I'll just grab the latest version from the server and that's it. If this version looks official but appears to be unstable, it will put off this potential new user and RunRev will have one potential customer less. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 1/29/2014 10:37, Matthias Rebbe wrote: For listmembers: Yes, we should know and wait for an announcement Non listmembers: No, how should they know these versions are not final. At http://livecode.com/download/ there is link near the bottom labeled View all Livecode Downloads Clicking on that link opens a folder with subfolders labeled according available version numbers. And in folder 6.5.2 there are Installers for the community and the commercial version. Some have an additional rc in their names. But there are also installers without any rc or dp in their names. So one would assume these are final versions. Either RR should label theses versions correctly, if they really are not final or RR should avoid placing them wrong labled in a public download folder. Just imagine a new customer without access to the mailinglist where the announcements are posted, downloads such a buggy wrong labled version. How should she/he know what is final and what not? Regards, Matthias ___ 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 -- _ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : b...@runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple ___ 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
Re: 652 release
I understand that, but there has been active communication about a bug, as recently as this morning, and they have yet to find the source of the issue. On Jan 29, 2014 8:08 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Roger, The new release notes contain a small list of bug fixes compared to RC1, if I understand the notes correctly. There are bug fixes for 6.5.2-rc-1 and 6.5.2. I think 6.5.2 follows 6.5.2-rc-1. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 1/29/2014 14:03, Roger Eller wrote: But what about the active an unresolved new bugs that have been reported for 6.5.2 RC1? On Jan 29, 2014 6:24 AM, Benjamin Beaumont b...@runrev.com wrote: Hi Richmond. As you rightly point out, LiveCode 6.5.2 GM1 has been build and is on our download server. It has passed the first phase of internal testing and is currently being run against our automated test suit. Once it has passed all these tests it will be announce and activated through the auto update process. Warm regards, Ben On 29 January 2014 10:39, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Matthias, Whether or not I am a list member is not important. Whenever I need the latest version of LC, I follow the link to the downloads and download whatever appears to be the latest version. I'm not going to check the list for all announcements, while I just want to help out a new potential LiveCode user by quickly installing the latest version for him or her. I'll just grab the latest version from the server and that's it. If this version looks official but appears to be unstable, it will put off this potential new user and RunRev will have one potential customer less. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 1/29/2014 10:37, Matthias Rebbe wrote: For listmembers: Yes, we should know and wait for an announcement Non listmembers: No, how should they know these versions are not final. At http://livecode.com/download/ there is link near the bottom labeled View all Livecode Downloads Clicking on that link opens a folder with subfolders labeled according available version numbers. And in folder 6.5.2 there are Installers for the community and the commercial version. Some have an additional rc in their names. But there are also installers without any rc or dp in their names. So one would assume these are final versions. Either RR should label theses versions correctly, if they really are not final or RR should avoid placing them wrong labled in a public download folder. Just imagine a new customer without access to the mailinglist where the announcements are posted, downloads such a buggy wrong labled version. How should she/he know what is final and what not? Regards, Matthias ___ 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 -- _ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : b...@runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple ___ 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
Re: EditBackground Message?
a quick look in to the dictionary says no, so unless it's undocmented, there's none. On 29.01.2014, at 02:24, Scott Rossi sc...@tactilemedia.com wrote: Anyone know if there's related message sent when the editBackground of a stack is enabled (or start editing group xyz)? I want to trigger some object positioning within a group when the group is edited. Thanks, Scott Rossi Creative Director Tactile Media, UX/UI Design ___ 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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ ___ 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: Just confirming, groups themselves don't receive mouse messages, right?
On 29.01.2014, at 15:13, Geoff Canyon gcan...@gmail.com wrote: Is there a way to make it so that groups themselves can receive messages directly? No. The only way is, to have an opaque rectangle graphic or other object that fills the whole area of the group. You can send the ink of the graphic to noop, so it's invisible. Hmm, apparently noop is discouraged from use as of 5.0... maybe blndDst is a good replacement? On a side note, why is today experienced-users-ask-about-groups day? -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ ___ 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
RegEx for Removing Non-Ascii Chars Except Certain Whitespaces
Hi all, I’m a little embarrassed to ask this question for two reasons: 1. I should have known sufficient regex, every coder should. 2. I should have found the answer online, every coder should. But apparently I couldn’t and I’m struggling for quite a time; please, excuse my ignorance. I need a RegEx for the below substitution; Input: (everybody-should-know-this and this”/‘ Output: everybody-should-know-this and this The statement should clear all whitespaces and non-ascii chars except dash and space. Here is my current code: _replace space with “nqpSPACEqpn” in tParams _replace “-“ with “nqpDASHqpn” in tParams _put replaceText(tParams, “\W”, “”) into tParams _replace “nqpSPACEqpn” with space in tParams _replace “ nqpDASHqpn” with “- in tParams I’m sure it can be done with a single line of code something like _put replaceText(tParams, “*** regEx excluding space and dash here ***”, “”) into tParams Thanks for any help… Best, ~ Ender ___ 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: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces
2014-01-29 Ender Nafi Elekcioglu endern...@keehuna.com: The statement should clear all whitespaces and non-ascii chars except dash and space. ~ Ender [ ...] - character class; match any characters in between the brackets [^...] - character class; do *NOT* match all characters in between the brackets So, you can try something like: put replacetext( mytext, [^a-zA-Z0-9], empty) into mytext a-z - any chars from a to z A-Z - any chars from A to Z Still missing the dash; add it inside the brackets: put replacetext( mytext, [^a-zA-Z0-9-], empty) into mytext and carry on adding extra chars until you are happy. Does that makes sense? Thierry Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf ___ 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: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces
When you say 'non-ascii' do you mean non alphanumeric? if tData contains your string then.. put replaceText(tData, [^[:alnum:]- ], ) will replace anything that isn't alphanumeric, dash or space with blnk. :) On 29/01/2014 15:00, Ender Nafi Elekcioglu wrote: Hi all, I’m a little embarrassed to ask this question for two reasons: 1. I should have known sufficient regex, every coder should. 2. I should have found the answer online, every coder should. But apparently I couldn’t and I’m struggling for quite a time; please, excuse my ignorance. I need a RegEx for the below substitution; Input: (everybody-should-know-this and this”/‘ Output: everybody-should-know-this and this The statement should clear all whitespaces and non-ascii chars except dash and space. Here is my current code: _replace space with “nqpSPACEqpn” in tParams _replace “-“ with “nqpDASHqpn” in tParams _put replaceText(tParams, “\W”, “”) into tParams _replace “nqpSPACEqpn” with space in tParams _replace “ nqpDASHqpn” with “- in tParams I’m sure it can be done with a single line of code something like _put replaceText(tParams, “*** regEx excluding space and dash here ***”, “”) into tParams Thanks for any help… Best, ~ Ender ___ 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: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces
Thierry, John; Thank you very much, both work just fine. Inspecting your solutions, I’ve found my stupid mistake, btw. This was what I was trying: “[^\W- ]” which should be obviously “[^\w- ]” Silly me :) Thanks again… Best, ~ Ender ___ 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: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces
On 29/01/14 17:43, Thierry Douez wrote: 2014-01-29 Ender Nafi Elekcioglu endern...@keehuna.com: The statement should clear all whitespaces and non-ascii chars except dash and space. ~ Ender [ ...] - character class; match any characters in between the brackets [^...] - character class; do *NOT* match all characters in between the brackets So, you can try something like: put replacetext( mytext, [^a-zA-Z0-9], empty) into mytext a-z - any chars from a to z A-Z - any chars from A to Z Still missing the dash; add it inside the brackets: put replacetext( mytext, [^a-zA-Z0-9-], empty) into mytext and carry on adding extra chars until you are happy. Does that makes sense? Thierry Wait a minute . . . This is to remove Non-Ascii chars: but what goes on above looks as though it is meant to remove more than that. 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
Resize Stack Differences on Mac and Windows
I'm not sure how many versions back this goes but apparently the following script works differently on a Mac and Windows with 6.5.2: on resizeStack put the ticks end resizeStack On Windows the message is sent continually as long as the mouse is down and I'm resizing the stack. On a Mac the resizeStack message is sent just once when I let the mouse up after resizing the stack. Does anybody have any experience with this anomaly? ___ 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: Resize Stack Differences on Mac and Windows
I suspect this is a platform issue that RR can't easily overcome, the dictionary states; On Mac OS X systems… …The stack's original width and height are passed only with the first resizeStack message sent during a resize operation. So I'd guess the Mac OS is blocking the operation during the resize. Paul On 2014-01-29, at 8:29 AM, Ray r...@linkit.com wrote: I'm not sure how many versions back this goes but apparently the following script works differently on a Mac and Windows with 6.5.2: on resizeStack put the ticks end resizeStack On Windows the message is sent continually as long as the mouse is down and I'm resizing the stack. On a Mac the resizeStack message is sent just once when I let the mouse up after resizing the stack. Does anybody have any experience with this anomaly? ___ 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: Resize Stack Differences on Mac and Windows
Hi Ray, It depends on the 'liveResizing' property of the stack. The calculations needed to resize the content of the stack can be time-consuming. And on Mac redrawing the window takes longer than on WIndows/Unix. So the default behaviour on Mac is not to send 'resizeStack' messages unless you specifically turn 'liveResizing' on. HTH, Jan Schenkel. = Quartam Reports PDF Library for LiveCode www.quartam.com = As we grow older, we grow both wiser and more foolish at the same time. (La Rochefoucauld) On Wed, 1/29/14, Ray r...@linkit.com wrote: Subject: Resize Stack Differences on Mac and Windows To: use-livecode@lists.runrev.com Date: Wednesday, January 29, 2014, 8:29 AM I'm not sure how many versions back this goes but apparently the following script works differently on a Mac and Windows with 6.5.2: on resizeStack put the ticks end resizeStack On Windows the message is sent continually as long as the mouse is down and I'm resizing the stack. On a Mac the resizeStack message is sent just once when I let the mouse up after resizing the stack. Does anybody have any experience with this anomaly? ___ 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: 652 release
Now things are getting really kooky as the 6.5.2 server releases are now available here: http://downloads.livecode.com/livecode/6_5_2/ as well as here: http://downloads.livecode.com/livecode/server/6_5_2/ and the status of 6.5.2 with nothing on the end of it is no clearer. 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: Resize Stack Differences on Mac and Windows
On 29/01/14 18:29, Ray wrote: I'm not sure how many versions back this goes but apparently the following script works differently on a Mac and Windows with 6.5.2: on resizeStack put the ticks end resizeStack On Windows the message is sent continually as long as the mouse is down and I'm resizing the stack. On a Mac the resizeStack message is sent just once when I let the mouse up after resizing the stack. Does anybody have any experience with this anomaly? Dunno; on Linux (!) it is sent continuously, or rather (to be accurate), repeatedly. But; what exactly is the point of this script in the first place? 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 ___ 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: Resize Stack Differences on Mac and Windows
On 29/01/14 18:32, Richmond wrote: On 29/01/14 18:29, Ray wrote: I'm not sure how many versions back this goes but apparently the following script works differently on a Mac and Windows with 6.5.2: on resizeStack put the ticks end resizeStack On Windows the message is sent continually as long as the mouse is down and I'm resizing the stack. On a Mac the resizeStack message is sent just once when I let the mouse up after resizing the stack. Does anybody have any experience with this anomaly? Dunno; on Linux (!) it is sent continuously, or rather (to be accurate), repeatedly. But; what exactly is the point of this script in the first place? Richmond. Here's something a whole lot more useful: on resizeStack put (the width of me) , (the height of me) end resizeStack ___ 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: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces
( Just remember that \w will include certain punctuation ;) ) On 29/01/2014 16:25, Ender Nafi Elekcioglu wrote: Thierry, John; Thank you very much, both work just fine. Inspecting your solutions, I’ve found my stupid mistake, btw. This was what I was trying: “[^\W- ]” which should be obviously “[^\w- ]” Silly me :) Thanks again… Best, ~ Ender ___ 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: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces
2014-01-29 Ender Nafi Elekcioglu endern...@keehuna.com: Richmond, My subject line is confusing. What I meant was “removing all non-alphanumeric chars except dash and space” *Non-Ascii* was just a wrong statement. Thierry and John’s solutions work fine. In fact, they are the same :) I choosed the extended form and I personaly don't use much the [:xxx:] syntax. Thierry Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf ___ 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: EditBackground Message?
I've never found a message that indicates this. I'm not sure of the exact mechanism by which LC puts a group into edit mode but it appears to involve the creation of a temporary stack or card containing the ungrouped controls of the edited group. If that's the case, then maybe you could trap one of the messages resulting from the creation of a stack/card and hope that it has some standard name you can onto. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Wed, Jan 29, 2014 at 5:25 AM, Björnke von Gierke b...@mac.com wrote: a quick look in to the dictionary says no, so unless it's undocmented, there's none. On 29.01.2014, at 02:24, Scott Rossi sc...@tactilemedia.com wrote: Anyone know if there's related message sent when the editBackground of a stack is enabled (or start editing group xyz)? I want to trigger some object positioning within a group when the group is edited. Thanks, Scott Rossi Creative Director Tactile Media, UX/UI Design ___ 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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ ___ 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: Resize Stack Differences on Mac and Windows
Jan Schenkel wrote: It depends on the 'liveResizing' property of the stack. The calculations needed to resize the content of the stack can be time-consuming. And on Mac redrawing the window takes longer than on WIndows/Unix. So the default behaviour on Mac is not to send 'resizeStack' messages unless you specifically turn 'liveResizing' on. Given that live resizing has been the default on Mac since OS X, to help our apps look more like other apps I submitted a request some time ago to make liveResizing on by default: http://quality.runrev.com/show_bug.cgi?id=5331 -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ 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: 652 release
On 29/01/14 19:01, Benjamin Beaumont wrote: Hi All, We've restructured the 'all downloads' section of the website to make it easier to find the release you want and ensure that untested releases are not made available before the are ready. http://downloads.livecode.com/livecode/ Warm regards, Ben Lovely job! 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: 652 release
Thanks. The externals SDK links seem to be broken Francois Le 29 janv. 2014 à 18:01, Benjamin Beaumont b...@runrev.com a écrit : Hi All, We've restructured the 'all downloads' section of the website to make it easier to find the release you want and ensure that untested releases are not made available before the are ready. http://downloads.livecode.com/livecode/ Warm regards, Ben On 29 January 2014 16:38, Richmond richmondmathew...@gmail.com wrote: Now things are getting really kooky as the 6.5.2 server releases are now available here: http://downloads.livecode.com/livecode/6_5_2/ as well as here: http://downloads.livecode.com/livecode/server/6_5_2/ and the status of 6.5.2 with nothing on the end of it is no clearer. 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 -- _ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : b...@runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple ___ 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: LiveCode and HTML
The problem is that you need the engine for livecode to run. For example, in websites running from an apache server, it's possible to add the engine as a cgi. This is called livecode server, and it can be found here: http://downloads.livecode.com/livecode/ But that's not what you want. you want the engine to run within a website that's running within the iBooks application. As far as I know, there's no way to add the engine there. So the answer to your question about running LC as part of html5 is no, it's not possible. but not because of it being html5, but because it's in iBooks.app or iBooks for iOS. On 29.01.2014, at 17:04, Sergio Schvarstein sschvarst...@gmail.com wrote: Hi, I need to know if there is any way for using LiveCode within HTML5. Concretely, I need to use a simple game I wrote in LiveCode as part of an iBooks author page. Is there any way for converting or embedding it for HTML5 ? Thanks and Regards. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ ___ 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: 652 release
Thanks Francois, This will be fixed shortly. Warm regards, Ben On 29 January 2014 17:08, François Chaplais francois.chapl...@mines-paristech.fr wrote: Thanks. The externals SDK links seem to be broken Francois Le 29 janv. 2014 à 18:01, Benjamin Beaumont b...@runrev.com a écrit : Hi All, We've restructured the 'all downloads' section of the website to make it easier to find the release you want and ensure that untested releases are not made available before the are ready. http://downloads.livecode.com/livecode/ Warm regards, Ben On 29 January 2014 16:38, Richmond richmondmathew...@gmail.com wrote: Now things are getting really kooky as the 6.5.2 server releases are now available here: http://downloads.livecode.com/livecode/6_5_2/ as well as here: http://downloads.livecode.com/livecode/server/6_5_2/ and the status of 6.5.2 with nothing on the end of it is no clearer. 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 -- _ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : b...@runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple ___ 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 -- _ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : b...@runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple ___ 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
RELEASE LiveCode 6.5.2
Dear List Members. We are pleased to announce that LiveCode 6.5.2 is now available. This is a maintenance release. It contains 36 bug fixes and a similar number of dictionary updates. 11716 - Hi-res iPad icon size incorrect 11702 - Change in cantSelect behavior makes it possible to create graphics on IDE stacks 11698 - Inverted colors in imported PBM bitmap image 11027 - User Guide entry under Help menu is missing 11695 - Dashes of length 0 not drawn 11684 - prepare image file crashes LiveCode when file doesn't exist 11677 - Slider with a width 3 x height loses its thumb 11675 - Application freezes when importing certain PBM image files 11673 - Setting the fillRule of a polygon graphic stops it rendering 11672 - long system time yields empty on linux in various locales 11671 - Dashes are not drawn with rounded caps when the graphic includes arrows 11664 - Text sometimes renders with decreased opacity on Windows. 11656 - Slider renders white box under Linux 11653 - Visual effect in rect shifted on iOS 11641 - 'the mouse' doesn't work on Android (it always returns \'up\'). 11632 - Taking a snapshot of a non-buffered player doesn't work. 11628 - Spaces after a style-run boundary are not skipped when wrapping text. 11627 - Paragraph formatting incorrectly applied when setting the rtfText 11624 - Click command clicks at wrong location on OSX when stack has menubar 11623 - Android apps crash on restart 11605 - Popup menus where the button has a unicode label but native items do not build the menuPick string correctly. 11594 - LiveCode cannot resolve path to Android Runtime folder when building Android standalone 11589 - Default font in standalones causing PDF to render badly 11576 - Field does not re-wrap if visiblity (or width) of vertical scrollbar changes. 11570 - Referenced image doesn't draw stippled background when file missing 11546 - Script editor line numbers are not displayed 11482 - iOS control scroller doesn't scroll on iOS7 11459 - Internal Livecode image with ID 1105 creates ID problem 11419 - The cantSelect property of a graphic can prevent creation of new graphics 11412 - Certain unicode characters are not rendered correctly on Android 11363 - Prevent crash when destroying stack if a popup menu is open 11343 - mouseStillDown and mouseWithin don\'t pass while using behavior 11286 - messagebox syntax for invoking functions is broken 11270 - menu/Text: size does not work 11094 - Script Editor doesn't include hash symbol in token delimiters 9940 - Stepping through open printing forces a crash Getting this release To upgrade to this release please select check for updates from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/ Reporting Bugs If you encounter an issue with this release please submit a bug report to our quality centre: http://quality.runrev.com/enter_bug.cgi Warm regards, The LiveCode Team ___ 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: 652 release
On 01/29/2014 11:08 AM, François Chaplais wrote: Thanks. The externals SDK links seem to be broken All links starting with 'LiveCode 5.5.5' lead back to the download page. ___ 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: 652 release
Hi Warren, This is the same issue as Francois noticed. This is now fixed. Regards, Ben On 29 January 2014 17:12, Warren Samples war...@warrensweb.us wrote: On 01/29/2014 11:08 AM, François Chaplais wrote: Thanks. The externals SDK links seem to be broken All links starting with 'LiveCode 5.5.5' lead back to the download page. ___ 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 -- _ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : b...@runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple ___ 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: 652 release
I wonder how you get to the server downloads now? 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: Visual Effect for a stack
I don't think there's a way to use a visual effect to deal with the stack size change, or is there? Pete, check out revChangeWindowSize Hank ___ 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: 652 release
The community version is also there http://downloads.livecode.com/livecode/ And the commercial one can be downloaded from the account. Regards, Matthias Am 29.01.2014 um 19:09 schrieb Richmond richmondmathew...@gmail.com: I wonder how you get to the server downloads now? 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 Matthias Rebbe Tel:+49 5741 31 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot 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: 652 release
On 29/01/14 20:16, Matthias Rebbe wrote: The community version is also there http://downloads.livecode.com/livecode/ And the commercial one can be downloaded from the account. Regards, Matthias Oh, Aye, so it is, so it is, it must be my eyes ye know. Am 29.01.2014 um 19:09 schrieb Richmond richmondmathew...@gmail.com: I wonder how you get to the server downloads now? 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 Matthias Rebbe Tel:+49 5741 31 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot 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: 652 release
On 1/29/14, 12:09 PM, Richmond wrote: I wonder how you get to the server downloads now? The link is at the bottom of Ben's release announcement. -- 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: Resize Stack Differences on Mac and Windows
Richard - I have a stack of 'user preferences' which shows the width and height of another stack as it's resized. These numbers which should auto update continuously as the user continues to hold the mouse down and resize the stack, so unfortunately your suggestion won't work. However, setting the liveResizing property to true as Jan Schenkel suggested makes everything work on the Mac just as it does on Windows. Thanks Jan! An interesting thing about the liveResizing property is that it does not get saved with the stack. Also, setting the decorations of the stack resets the liveResizing property to false for some reason. Anyway, its fixed. Oh, and thanks for requesting this be cleaned up Richard. Thanks, Ray LinkIt! Software On 1/29/2014 11:35 AM, Richmond wrote: On 29/01/14 18:32, Richmond wrote: On 29/01/14 18:29, Ray wrote: I'm not sure how many versions back this goes but apparently the following script works differently on a Mac and Windows with 6.5.2: on resizeStack put the ticks end resizeStack On Windows the message is sent continually as long as the mouse is down and I'm resizing the stack. On a Mac the resizeStack message is sent just once when I let the mouse up after resizing the stack. Does anybody have any experience with this anomaly? Dunno; on Linux (!) it is sent continuously, or rather (to be accurate), repeatedly. But; what exactly is the point of this script in the first place? Richmond. Here's something a whole lot more useful: on resizeStack put (the width of me) , (the height of me) end resizeStack ___ 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: Visual Effect for a stack
Thanks Hank, sounds like just what I want. Off to try it out now. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Wed, Jan 29, 2014 at 10:12 AM, mac...@earthlink.net wrote: I don't think there's a way to use a visual effect to deal with the stack size change, or is there? Pete, check out revChangeWindowSize Hank ___ 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: Just confirming, groups themselves don't receive mouse messages, right?
Thanks, I was trying to avoid creating an object just to capture messages. I was thinking about doing a simple table-based layout system based on groups, but that necessarily implies being able to drag controls into and out of groups. On Wed, Jan 29, 2014 at 8:36 AM, John Craig j...@splash21.com wrote: I've used a button sized to fill the group and style set to transparent to catch the mouse events.. On 29/01/2014 14:13, Geoff Canyon wrote: I was experimenting with groups, and it appears the group itself doesn't directly receive mouseEnter, mouseMove, etc. If mouse messages are sent to an object in the group, and the object's script doesn't handle the messages, the messages pass to the group. But if the pointer is over an area of the group but not over any control in the group, then even if the group is opaque, etc., no messages are delivered to the group. Is that correct? Is there a way to make it so that groups themselves can receive messages directly? ___ 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
Re: 652 release
Very nice, Ben. It looks much more professional than before. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 1/29/2014 18:01, Benjamin Beaumont wrote: Hi All, We've restructured the 'all downloads' section of the website to make it easier to find the release you want and ensure that untested releases are not made available before the are ready. http://downloads.livecode.com/livecode/ Warm regards, Ben ___ 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
Any super-simple way to texture a sphere?
I have 3D gravity working. I have 3D positioning working. I have 3D perspective viewing working (arbitrary point of view and orientation). That means that as I approach Mars to land on it, I need some way to present it as more than an orange circle (which is what I have now). Any ideas on the best way to handle 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: Scalini - image scaler for resolution independence
RogerE wrote: It scales a folder of images to all of the sizes needed (for resolution differences), and names them according to Apple's requirements. Primarily it makes images sized and named to work with LC’s approach to resolution independence. When I built it I hadn’t thought that it might also be useful for scaling app store images too. Neat! VaughnC wrote: First is there any documentation for the usage Click the “i” button for explanation. Jim Lambert ___ 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
6.5.2 Doesn't Remember Script Editor Location
Actually I don't know of any version for quite some time now which HAS re-opened the script editor window where I last closed it. I work with two monitors and I like to have the script editor window open on the second one. In previous versions I've edited the Revolution UI Back Script. I'd have to do a Save As on the RevLibrary file, quit and replace the old RevLibrary with the new one (in the ToolSet folder). With 6.5.2 I can no longer do this as Livecode won't open at all after replacing the RevLibrary file, even with an ever so slightly modified copy of it. It seems like a lot of work-around to get the script editor window to re-open where I closed it. Shouldn't there be a simple preference somewhere? Or shouldn't this just automatically happen? ___ 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: Scalini - image scaler for resolution independence
Hi Thanks for the info. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on ooVoo at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=addpid=41 On Wed, Jan 29, 2014 at 12:37 PM, Jim Lambert j...@netrin.com wrote: RogerE wrote: It scales a folder of images to all of the sizes needed (for resolution differences), and names them according to Apple's requirements. Primarily it makes images sized and named to work with LC's approach to resolution independence. When I built it I hadn't thought that it might also be useful for scaling app store images too. Neat! VaughnC wrote: First is there any documentation for the usage Click the i button for explanation. Jim Lambert ___ 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: Any super-simple way to texture a sphere?
Nope. You cannot texture a sphere globally because you will have singularities somewhere (typically at the poles). This is the same problem as for maps of the earth. You have to patch together local maps, à la Google maps. François Le 29 janv. 2014 à 20:20, Geoff Canyon gcan...@gmail.com a écrit : I have 3D gravity working. I have 3D positioning working. I have 3D perspective viewing working (arbitrary point of view and orientation). That means that as I approach Mars to land on it, I need some way to present it as more than an orange circle (which is what I have now). Any ideas on the best way to handle 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: Any super-simple way to texture a sphere?
Hi Geoff: The super simple way is an oval gradient, offset from the center of the planet graphic. The fancier way could be a group of a couple of graphics. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design Original message Subject: Any super-simple way to texture a sphere? From: Geoff Canyon gcan...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com CC: I have 3D gravity working. I have 3D positioning working. I have 3D perspective viewing working (arbitrary point of view and orientation). That means that as I approach Mars to land on it, I need some way to present it as more than an orange circle (which is what I have now). Any ideas on the best way to handle 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: 652 release
Nicely done! ~Roger On Wed, Jan 29, 2014 at 12:01 PM, Benjamin Beaumont b...@runrev.com wrote: Hi All, We've restructured the 'all downloads' section of the website to make it easier to find the release you want and ensure that untested releases are not made available before the are ready. http://downloads.livecode.com/livecode/ Warm regards, Ben ___ 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: Any super-simple way to texture a sphere?
Hi Geoff, After using PhotoRoom, written by Chris Bodell, I believe that you could create all images on the fly, by script, within your own program. :D http://ftp.runrev.com/forums/viewtopic.php?f=10t=9490 https://skydrive.live.com/?cid=303263e8a35c7594sc=documentsuc=1id=303263E8A35C7594%21112# All that is needed is a small push in the correct direction from LiveCode's experts in the creation of bitmaps by scripts. The following Space Art links could be really useful in the creation of these LiveCode image algorithms. http://registry.gimp.org/node/297 SpaceScape Script This Script Generates a SpaceScape (StarScape) a deep space picture with stars and space dust clouds. You can determine the aspects of the space dust clouds, the color, the image size and the amount of detail. http://registry.gimp.org/node/2352 gimp-plugin-astronomy A set of plugins and scripts for astronomical image processing Not intended for scientific image processing, due to gimp's 8bit depth restriction (for pretty pictures only). Create an artificial galaxy. Only elliptical galaxies yet. Create artificial stars: Using different star distributions, splitted into background, object and foreground stars. http://registry.gimp.org/node/24798 Stars in the sky This script-fu makes a sky with millions sparkling stars in a new layer. The layer's dimensions, the star's spikes' length and the flare intensity can be changed. The script is based on this tutorial. This script is useful for create Space Art images, because the stars are convincing. http://registry.gimp.org/node/8172 Make Your Own Planet - Script of MarvinX's Tutorial - Updated for Gimp 2.6 This script automates many of the steps in MarvinX's fantastic Make a Planet tutorial, with a couple of added features. There is an atmospheric haze around the planet, and there are stars on the background layer. This script does not do the IWarp step. I leave that to the individual user to make wherever they want.. Everything else is in here. After the script is done running, you can manually adjust the hue and saturation to get the planet the color you would like. There is also an option to make the planet more earth-like (using the Land and Sea gradient on the Clouds Layer.) The sun shadow is also optional. Enjoy! http://www.gimptalk.com/index.php?showtopic=5128 http://registry.gimp.org/node/21 Planet Render Creates a planet lit on one side, with some kind of atmosphere glow. The size and color of the planet as well as the angle for the light can be set. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Any-super-simple-way-to-texture-a-sphere-tp4675293p4675301.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
OT-ish warning: Apple is still using Mac Roman
I'm using LC 6.5.1 on a Mac with Mavericks. Recently I was given a Pages document with some text I needed to paste into a LiveCode desktop app. The relevant text was: 3*(-1*x^2 + 4)(-1*x^4 - 5x + 2) (Don't worry, it's just a meaningless example). I changed this to plain text (it had originally been coloured and I thought this might affect the result). I then used an LC script to search for some characters, particularly the minus signs. Couldn't find them. Then I realised that I had to put the text string through LC's MactoISO function - so Pages, far from using UniCode (I thought everybody was doing it) is still using the old Mac character set. LC, even on a Mac, apparently isn't. The thing is, the pasted text **looks** OK in an LC field, but it's not. Just a gotcha that surprised me and may bite someone else. I'm wondering if LC 7 will take this kind of problem away. I'm also wondering what Apple are up to still using a proprietary character code. And I'm wondering if I should have tried to do the whole thing with Unicode text. Graham ___ 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-ish warning: Apple is still using Mac Roman
More issues - the minus signs don't seem to be Mac Roman after all (at least MacToISO no longer seems to translate the although I could have sworn it did earlier, nor ASCII, nor anything else I've found so far. LC's charToNum function thinks their value is 208 (decimal). Still looking... Graham On 29 Jan 2014, at 22:40, I wrote: I'm using LC 6.5.1 on a Mac with Mavericks. Recently I was given a Pages document with some text I needed to paste into a LiveCode desktop app. The relevant text was: 3*(-1*x^2 + 4)(-1*x^4 - 5x + 2) (Don't worry, it's just a meaningless example). I changed this to plain text (it had originally been coloured and I thought this might affect the result). I then used an LC script to search for some characters, particularly the minus signs. Couldn't find them. Then I realised that I had to put the text string through LC's MactoISO function - so Pages, far from using UniCode (I thought everybody was doing it) is still using the old Mac character set. LC, even on a Mac, apparently isn't. The thing is, the pasted text **looks** OK in an LC field, but it's not. Just a gotcha that surprised me and may bite someone else. I'm wondering if LC 7 will take this kind of problem away. I'm also wondering what Apple are up to still using a proprietary character code. And I'm wondering if I should have tried to do the whole thing with Unicode text. ___ 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-ish warning: Apple is still using Mac Roman
On Jan 29, 2014, at 3:40 PM, Graham Samuel wrote: More issues - the minus signs don't seem to be Mac Roman after all (at least MacToISO no longer seems to translate the although I could have sworn it did earlier, nor ASCII, nor anything else I've found so far. LC's charToNum function thinks their value is 208 (decimal). Still looking… It's an en dash, probably, rather than a hyphen. That's at code point 208 in Mac Roman. Devin On 29 Jan 2014, at 22:40, I wrote: I'm using LC 6.5.1 on a Mac with Mavericks. Recently I was given a Pages document with some text I needed to paste into a LiveCode desktop app. The relevant text was: 3*(-1*x^2 + 4)(-1*x^4 - 5x + 2) (Don't worry, it's just a meaningless example). I changed this to plain text (it had originally been coloured and I thought this might affect the result). I then used an LC script to search for some characters, particularly the minus signs. Couldn't find them. Then I realised that I had to put the text string through LC's MactoISO function - so Pages, far from using UniCode (I thought everybody was doing it) is still using the old Mac character set. LC, even on a Mac, apparently isn't. The thing is, the pasted text **looks** OK in an LC field, but it's not. Just a gotcha that surprised me and may bite someone else. I'm wondering if LC 7 will take this kind of problem away. I'm also wondering what Apple are up to still using a proprietary character code. And I'm wondering if I should have tried to do the whole thing with Unicode text. ___ 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 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: OT-ish warning: Apple is still using Mac Roman
Thanks Devin Ha! So the person who wrote the text just **thought** they were minus signs. The trouble with the en dash (as opposed to the em dash - I used to set type by hand, so I remember these) is that the glyph in most fonts is very close to the minus sign. So maybe I haven't got a problem after all (or I can look for the various dashes and treat them as minuses, I suppose). By the way MacToISO(numToChar(208)) gives ñ in a LiveCode field or script (that's the 'n' in 'manaña' I guess). Anyway it does look as if I was right about Pages still using the Mac private character set for characters greater than Ascii 127. Hope so. Thanks again Graham On 30 Jan 2014, at 00:01, Devin Asay devin_a...@byu.edu wrote: On Jan 29, 2014, at 3:40 PM, Graham Samuel wrote: More issues - the minus signs don't seem to be Mac Roman after all (at least MacToISO no longer seems to translate the although I could have sworn it did earlier, nor ASCII, nor anything else I've found so far. LC's charToNum function thinks their value is 208 (decimal). Still looking… It's an en dash, probably, rather than a hyphen. That's at code point 208 in Mac Roman. Devin On 29 Jan 2014, at 22:40, I wrote: I'm using LC 6.5.1 on a Mac with Mavericks. Recently I was given a Pages document with some text I needed to paste into a LiveCode desktop app. The relevant text was: 3*(-1*x^2 + 4)(-1*x^4 - 5x + 2) (Don't worry, it's just a meaningless example). I changed this to plain text (it had originally been coloured and I thought this might affect the result). I then used an LC script to search for some characters, particularly the minus signs. Couldn't find them. Then I realised that I had to put the text string through LC's MactoISO function - so Pages, far from using UniCode (I thought everybody was doing it) is still using the old Mac character set. LC, even on a Mac, apparently isn't. The thing is, the pasted text **looks** OK in an LC field, but it's not. Just a gotcha that surprised me and may bite someone else. I'm wondering if LC 7 will take this kind of problem away. I'm also wondering what Apple are up to still using a proprietary character code. And I'm wondering if I should have tried to do the whole thing with Unicode text. ___ 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 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 ___ 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
ODBC connection to MSSQL under XP works in IDE, but not in Standalone
Hi all. For half an day now i am trying to figure out why my standalone is not able to connect to a MSSQL Server through ODC although in the IDE it works without problems. I tried already to manually select the inclusions. But it doesn´t make a difference. The standalones always contain the needed externals for the odbc connection. So this cannot be caused by a missing driver. I even tried to use the legacy DB drivers. No success. I tried now on 3 different XP machines with and without firewall enabled. The ODBC test connection in the Windows ODBC administrator/manager is always successful. I tried now with LC 5.5.1 and 6.5.1. In the ide the connection always is working - in the standalone it isn´t. Does anyone have a clue what might be the problem? Regards, Matthias ___ 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: 652 release
On Wed, Jan 29, 2014 at 9:01 AM, Benjamin Beaumont b...@runrev.com wrote: http://downloads.livecode.com/livecode/ Warm regards, Ben so much better …. Excellent! *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* ___ 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: ODBC connection to MSSQL under XP works in IDE, but not in Standalone
I had something like that happen a few LC versions back, but still in 6.x.x. The default SQL Server DLL's just stopped working with standalones built with the new version of LC, but installing the SQL version 10 drivers I found within Microsoft's download pages worked. ~Roger On Wed, Jan 29, 2014 at 6:35 PM, Matthias Rebbe matthias_livecode_150...@m-r-d.de wrote: Hi all. For half an day now i am trying to figure out why my standalone is not able to connect to a MSSQL Server through ODC although in the IDE it works without problems. I tried already to manually select the inclusions. But it doesn´t make a difference. The standalones always contain the needed externals for the odbc connection. So this cannot be caused by a missing driver. I even tried to use the legacy DB drivers. No success. I tried now on 3 different XP machines with and without firewall enabled. The ODBC test connection in the Windows ODBC administrator/manager is always successful. I tried now with LC 5.5.1 and 6.5.1. In the ide the connection always is working - in the standalone it isn´t. Does anyone have a clue what might be the problem? Regards, Matthias ___ 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: 6.5.2 Doesn't Remember Script Editor Location
Definitely NOT confirmed. My problem (not LC's) is the exact opposite, I use multiple monitors and the script editor is always on another monitor, if I do not remember to shutdown LC correctly - by first moving ALL the LC windows and palettes back to the main monitor, if I start up LC without the other monitors then the script editor and Dictionary will not appear on my single screen. I have to use the Message Box to reset their loc. I've just downloaded 6.5.2 and I see the behaviour is the same - although I don't have multiple monitors connect at the moment, but I started LC 6.5.2, opened a stack, opened it's script, resized and moved the script editor. I then Saved the stack, even though there was nothing to save. Quit LC. Started LC, opened the stack, open the script editor, and there it was, just where I left it. Works as expected. I'm on LC 6.5.2, OS X 10.9.1, MBP 15 Retina As a possible solution, how do you Quit LC. A while back I noticed that iTunes never remember it's window size and position. When I started it up it would be half off the screen and I'd reposition it, but every time morning when I started my computer and iTunes auto started, there it was, half off screen. The cause and solution to this problem seem to lay in the fact that I read somewhere that Lion, or SnoLeo (can't remember) adopted a new strategy when you shut down your computer, it would Kill the process, not simply Quit it. Now I don't believe this, but I also don't understand fully what's going on under the hood, because Apps with docs still open with changes would still ask you to Save them, but iTunes doesn't have docs to save, and basically the only time iTunes was ever shutdown was when I shutdown the computer and it was done for me. So, lo and behold, one time I started iTunes, moved it back so it was better placed on the screen and sized sensibly, Quit iTunes, and then started it back up, and there it was, right where I left it. So there is clearly a difference on what is 'saved' when a App that 'apparently' doesn't have anything to save is Quit vs auto Quit on shutdown. So, do you leave LC running and simply have it auto Quit when you shutdown your computer. Have you tried Starting LC first, then opening a stack, then opening the script editor, and then, even though there is nothing to save, select Save, then Quit LC, then start LC, then open your stack, then open the script editor to see if it remembers. HTH On Thu, Jan 30, 2014 at 3:39 AM, Ray r...@linkit.com wrote: Actually I don't know of any version for quite some time now which HAS re-opened the script editor window where I last closed it. I work with two monitors and I like to have the script editor window open on the second one. In previous versions I've edited the Revolution UI Back Script. I'd have to do a Save As on the RevLibrary file, quit and replace the old RevLibrary with the new one (in the ToolSet folder). With 6.5.2 I can no longer do this as Livecode won't open at all after replacing the RevLibrary file, even with an ever so slightly modified copy of it. It seems like a lot of work-around to get the script editor window to re-open where I closed it. Shouldn't there be a simple preference somewhere? Or shouldn't this just automatically happen? ___ 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: OT-ish warning: Apple is still using Mac Roman
From: Graham Samuel Ha! So the person who wrote the text just **thought** they were minus signs. The trouble with the en dash (as opposed to the em dash - I used to set type by hand, so I remember these) is that the glyph in most fonts is very close to the minus sign. I generally use en dashes for minus signs in documents, because hyphens are too short in many proportional fonts, especially compared to plus signs. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.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: OT-ish warning: Apple is still using Mac Roman
On 29/01/14 23:40, Graham Samuel wrote: I'm using LC 6.5.1 on a Mac with Mavericks. Recently I was given a Pages document with some text I needed to paste into a LiveCode desktop app. You can, save from Pages into Microsoft's ubiquitous .doc format. My younger son, who stays in Germany and uses a MacBook, sent me a pages document in that format, I then opened it on Linux with Libre Office, and everything came through clearly. So: 1. Pages works with the MacRoman standard and converts this to Unicode when it saves to .doc. or 2. Libre Office on Linux opens any .doc document perfectly regardless of its character encoding. or 3. Pages DOES encode in Unicode. I wonder The relevant text was: 3*(-1*x^2 + 4)(-1*x^4 - 5x + 2) (Don't worry, it's just a meaningless example). I changed this to plain text (it had originally been coloured and I thought this might affect the result). I then used an LC script to search for some characters, particularly the minus signs. Couldn't find them. Then I realised that I had to put the text string through LC's MactoISO function Does Pages use MacRoman, or had you, by putting the text through LC's MactoISO function mucked it about? - so Pages, far from using UniCode (I thought everybody was doing it) is still using the old Mac character set. LC, even on a Mac, apparently isn't. The thing is, the pasted text **looks** OK in an LC field, but it's not. Just a gotcha that surprised me and may bite someone else. I'm wondering if LC 7 will take this kind of problem away. I'm also wondering what Apple are up to still using a proprietary character code. And I'm wondering if I should have tried to do the whole thing with Unicode text. Unfortunately I'm at work where everything runs on Linux. However, when I get home this evening I shall dig out my macMini (which has a licensed version of Pages running on it) and see what is going on. This: http://www.apple.com/mac/pages/compatibility/#text is remarkably unhelpful as it is written for people who are interested in typing documents rather than transferring the end results into happy little places such as an LC field. There is NO mention of |the U word (Unicode). Richmond. Graham ___ 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