Re: Standard Library

2014-08-11 Thread JB
It would take a tutorial and one would be worth reading. John Balgenorth On Aug 11, 2014, at 8:27 PM, Richard Gaskin wrote: > Alain Farmer wrote: > > > Regex is GREAT! > > > > I use it a LOT. > > Anyone need any help to grasp how it works ? > > Funny you should ask that - there was a request

Re: Standard Library

2014-08-11 Thread Richard Gaskin
Alain Farmer wrote: > Regex is GREAT! > > I use it a LOT. > Anyone need any help to grasp how it works ? Funny you should ask that - there was a request recently in the forums for a RegEx tutorial: Such a tutorial would be a great additi

Re: Standard Library

2014-08-11 Thread JB
I was interested in using a if then replace combination but it seems it might be better done in LiveCode using repeat for each. If the speed is not considerably faster with regex it is not worth the trouble. The ability to read my code like I am used to is more important than a small increase in

Re: Standard Library

2014-08-11 Thread Alain Farmer
Regex is GREAT! I use it a LOT. Anyone need any help to grasp how it works ? On Monday, August 11, 2014 10:14:28 PM, JB wrote: That is nice to know! I was thinking I would speed up the longer text processing.  You just did me a favor and save me a lot of time plus made it easier and fast

Re: Standard Library

2014-08-11 Thread JB
That is nice to know! I was thinking I would speed up the longer text processing. You just did me a favor and save me a lot of time plus made it easier and faster by not using regex for text processing. I still appreciate the info others gave because I know I will use regex from time to time. J

Re: Standard Library

2014-08-11 Thread Peter M. Brigham
I have very occasionally tried regex and can see that it is very powerful, but to me it's also extremely opaque and I've never climbed far up the rather steep learning curve. Partly this is because I've found that essentially all of the stuff I would need regex for is do-able in native LC, whose

Re: Standard Library

2014-08-11 Thread Peter Haworth
On Mon, Aug 11, 2014 at 7:38 AM, Thierry Douez wrote: > As one engine contributor brings the PCRE library (regex) up > to date some time ago, it is easy to deal with this: > > Check capture group naming and branch reset. > > Both are helpful to avoid those kind of errors. > > Thierry > Thanks fo

Re: WP application

2014-08-11 Thread Peter Haworth
Thanks Alex, that's certainly very helpful! I had this vague feeling that I was thinking about this the wrong way and you confirmed that. I just need to decide how wide I want my "viewport" to be and the rest is the calculation you described. This is a group with buttons/ruler/content field right

Re: Marker image sizes

2014-08-11 Thread Scott Rossi
When I talk about you behind your back, I usually say "that her", and people get the reference. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 8/11/14 4:07 PM, "J. Landman Gay" wrote: >Do you ever feel like when we talk, we should call ourselves "this me"? ___

Re: WP application

2014-08-11 Thread Alex Tweedly
Peter, (you might find this a really unhelpful reply, but I hope not). I think you're looking at this backwards. As a user of a WP app, I don't know, think or care about pixels. What I am doing is preparing a piece of paper - whether it's A4 or letter-size or whatever - I am working towards m

Re: Marker image sizes

2014-08-11 Thread J. Landman Gay
On 8/11/2014, 3:26 AM, Jacques Hausser wrote: so, a 7x7 circle: 0,-3,1,-3,2,-2,3,-1,3,0,3,1,2,2,1,3,0,3,-1,3,-2,2,-3,1,-3,0,-3,-1,-2,-2,-1,-3,0,-3 and a 11x11 circle: 0,-5,1,-5,2,-4,3,-4,4,-3,4,-2,5,-1,5,0,5,1,4,2,4,3,3,4,2,4,1,5,0,5,-1,5,-2,4,-3,4,-4,3,-4,2,-5,1,-5,0,-5,-1,-4,-2,-4,-3,-3,-4,-

Re: Execution of a "long" script

2014-08-11 Thread JB
That is some really good information. thanks, John Balgenorth On Aug 11, 2014, at 11:18 AM, kee nethery wrote: > I have a bunch of long running scripts. I structure them so that they pause > between cycles. By that I mean, if I am processing a bunch of files, I might > have a field where I l

WP application

2014-08-11 Thread Peter Haworth
I've put together a mini word processing stack within an LC app. All is working fine except that the ruler I display at the top of the input field to show margins, indents and tabs is currently laid out in pixels since most of the field and paragraph settings work in pixels. All the WP applicatio

Re: Execution of a "long" script

2014-08-11 Thread kee nethery
I have a bunch of long running scripts. I structure them so that they pause between cycles. By that I mean, if I am processing a bunch of files, I might have a field where I list all the files and then I trigger a script that processes the first unprocessed file in the list. When there are no un

Will Apple Gatekeeper changes break our standalones?

2014-08-11 Thread tbodine
Apple sent developers this news last week: "With the release of OS X Mavericks 10.9.5, the way that OS X recognizes signed apps will change. Signatures created with OS X Mountain Lion 10.8.5 or earlier (v1 signatures) will be obsoleted and Gatekeeper will no longer recognize them. Users may receiv

Re: Execution of a "long" script

2014-08-11 Thread JB
Thanks Richard! I was concerned about it after the question was brought up because there is a chance someone will select a lot of files to process and I have never tested LiveCode with scripts that take a long time. I was glad the question was asked because it made me take into consideration of a

Re: Execution of a "long" script

2014-08-11 Thread Richard Gaskin
JB wrote: > Can you trust this large script will not crash or should you inform > the user the chances of a crash will increase if they use other > memory intensive applications. Is there a way to prevent it? Any time LiveCode crashes it's a bug that should be reported. Even with low-memory c

Re: Standard Library

2014-08-11 Thread Thierry Douez
2014-08-10 5:15 GMT+02:00 Kay C Lan : > It is easy, when copying regex off such sites listed above, or > building your own, and you know you are only finding x number of data > bites, to assume that that is how many capture variables you need, but > if OR is used, then you can easily end up needin

Re: Dumb return question

2014-08-11 Thread Richard Gaskin
jbv wrote: > On Mac and LC 6.5.2, when writing successive lines of text to a file, > how can I get the return character to be the standard Unix return ? > No matter what I try (return, linefeed, the numtochar of 13, the > numtochar of 10) it always ends up with Classic Mac CR. > So, when uploadin

Re: Execution of a "long" script

2014-08-11 Thread JB
Why do you waste your time attacking me? You have no clue what I am even writing or if my program was going to fall in the category of using long scripts. My question for you since you will be a user is when are you going to pay? You won’t be getting a complimentary copy. John Balgenorth On Au

Dumb return question

2014-08-11 Thread jbv
Hi again list, On Mac and LC 6.5.2, when writing successive lines of text to a file, how can I get the return character to be the standard Unix return ? No matter what I try (return, linefeed, the numtochar of 13, the numtochar of 10) it always ends up with Classic Mac CR. So, when uploading the f

Re: Execution of a "long" script

2014-08-11 Thread jbv
John, The will be only one user : me. So I'll do my best to not disturb LC when the script is running, like let it run at night... jbv > > Can you trust this large script will not crash or should you inform > the user the chances of a crash will increase if they use other > memory intensive applic

Re: Execution of a "long" script

2014-08-11 Thread JB
What if you are dong large scripts that tale many hours and the user decodes to do things that will slow it down. Whwn you are using Time Machine you can trust that it will keep working and not cause a crash. At least I have never had it crash. Can you trust this large script will not crash or s

Installing Externals

2014-08-11 Thread JB
Trevor at Blue Mango wrote a excellent article about installing externals. In it he said Open the Externals.txt file (1), creating it if necessary. You need to add one line to this file that tells Revolution about your external. The line contains 2 items. The 1st item is the name of your external

RE: Execution of a "long" script

2014-08-11 Thread FlexibleLearning.com
> Hi list > I'm about to launch a script on LC 6.5.2 on Mac to process a large xml file, > and the execution will take several hours at least. > I am wondering : if I use other apps like a browser or a mailer after > starting > the script, or if I return to the Finder or navigate through various ap

Execution of a "long" script

2014-08-11 Thread jbv
Hi list I'm about to launch a script on LC 6.5.2 on Mac to process a large xml file, and the execution will take several hours at least. I am wondering : if I use other apps like a browser or a mailer after starting the script, or if I return to the Finder or navigate through various apps in the do

Re: Marker image sizes

2014-08-11 Thread Jacques Hausser
Hi Jacque, Trying to build a 12x12 round marker, I realized that the markers coordinates 0,0 are positioned on the polygon vertex... so my previous circle was not correctly centered. And, a circle of 8x8 or 12x12 never will, you have to use odd numbers of pixels to have the marker well centere