Char index

2014-01-29 Thread Nakia Brewer
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

Re: Char index

2014-01-29 Thread Thierry Douez
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

Re: 652 release

2014-01-29 Thread Matthias Rebbe
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

Re: Char index

2014-01-29 Thread Nakia Brewer
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

Re: 652 release

2014-01-29 Thread Mark Schonewille
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

Re: 652 release

2014-01-29 Thread Marek Niesiobedzki
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

Re: 652 release

2014-01-29 Thread Roger Eller
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

Re: 652 release

2014-01-29 Thread Mark Schonewille
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

Re: 652 release

2014-01-29 Thread Roger Eller
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

Re: EditBackground Message?

2014-01-29 Thread Björnke von Gierke
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

Re: Just confirming, groups themselves don't receive mouse messages, right?

2014-01-29 Thread Björnke von Gierke
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

RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread Ender Nafi Elekcioglu
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

Re: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread Thierry Douez
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

Re: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread John Craig
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

Re: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread Ender Nafi Elekcioglu
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 ___

Re: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread Richmond
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

Resize Stack Differences on Mac and Windows

2014-01-29 Thread Ray
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

Re: Resize Stack Differences on Mac and Windows

2014-01-29 Thread Paul Hibbert
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

Re: Resize Stack Differences on Mac and Windows

2014-01-29 Thread Jan Schenkel
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

Re: 652 release

2014-01-29 Thread Richmond
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.

Re: Resize Stack Differences on Mac and Windows

2014-01-29 Thread Richmond
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

Re: Resize Stack Differences on Mac and Windows

2014-01-29 Thread Richmond
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

Re: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread John Craig
( 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

Re: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread Thierry Douez
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

Re: EditBackground Message?

2014-01-29 Thread Peter Haworth
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

Re: Resize Stack Differences on Mac and Windows

2014-01-29 Thread Richard Gaskin
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

Re: 652 release

2014-01-29 Thread Richmond
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,

Re: 652 release

2014-01-29 Thread François Chaplais
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

Re: LiveCode and HTML

2014-01-29 Thread Björnke von Gierke
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

Re: 652 release

2014-01-29 Thread Benjamin Beaumont
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

RELEASE LiveCode 6.5.2

2014-01-29 Thread Benjamin Beaumont
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

Re: 652 release

2014-01-29 Thread Warren Samples
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

Re: 652 release

2014-01-29 Thread Benjamin Beaumont
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

Re: 652 release

2014-01-29 Thread Richmond
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:

Re: Visual Effect for a stack

2014-01-29 Thread MacBox
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,

Re: 652 release

2014-01-29 Thread Matthias Rebbe
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.

Re: 652 release

2014-01-29 Thread Richmond
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

Re: 652 release

2014-01-29 Thread J. Landman Gay
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

Re: Resize Stack Differences on Mac and Windows

2014-01-29 Thread Ray
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,

Re: Visual Effect for a stack

2014-01-29 Thread Peter Haworth
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

Re: Just confirming, groups themselves don't receive mouse messages, right?

2014-01-29 Thread Geoff Canyon
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

Re: 652 release

2014-01-29 Thread Mark Schonewille
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,

Any super-simple way to texture a sphere?

2014-01-29 Thread Geoff Canyon
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

Re: Scalini - image scaler for resolution independence

2014-01-29 Thread Jim Lambert
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

6.5.2 Doesn't Remember Script Editor Location

2014-01-29 Thread Ray
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

Re: Scalini - image scaler for resolution independence

2014-01-29 Thread Vaughn Clement
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

Re: Any super-simple way to texture a sphere?

2014-01-29 Thread François Chaplais
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

Re: Any super-simple way to texture a sphere?

2014-01-29 Thread Scott Rossi
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

Re: 652 release

2014-01-29 Thread Roger Eller
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

Re: Any super-simple way to texture a sphere?

2014-01-29 Thread Alejandro Tejada
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#

OT-ish warning: Apple is still using Mac Roman

2014-01-29 Thread Graham Samuel
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

Re: OT-ish warning: Apple is still using Mac Roman

2014-01-29 Thread Graham Samuel
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...

Re: OT-ish warning: Apple is still using Mac Roman

2014-01-29 Thread Devin Asay
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

Re: OT-ish warning: Apple is still using Mac Roman

2014-01-29 Thread Graham Samuel
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

ODBC connection to MSSQL under XP works in IDE, but not in Standalone

2014-01-29 Thread Matthias Rebbe
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

Re: 652 release

2014-01-29 Thread stephen barncard
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

Re: ODBC connection to MSSQL under XP works in IDE, but not in Standalone

2014-01-29 Thread Roger Eller
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,

Re: 6.5.2 Doesn't Remember Script Editor Location

2014-01-29 Thread Kay C Lan
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

RE: OT-ish warning: Apple is still using Mac Roman

2014-01-29 Thread Paul D. DeRocco
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

Re: OT-ish warning: Apple is still using Mac Roman

2014-01-29 Thread Richmond
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