Re: Editing datagrid cells

2015-01-03 Thread Simon Knight
Hi Pete, Unfortunately I don’t have any answers but I have a similar problem. I am trying to detect a return in a specific field on a datagrid form and so far I can either detect the return but not the name of the field (I just get the name of the field editor) or I can get the name of the fi

RE: Hangs and graphics issue after 6.6.1

2015-01-03 Thread Camm
Thanks , I will compile something to put to RR. Is it possible the empty used in the FullScreenMode is conflicting with the read from driver until empty ?? Regards Camm -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Paul Hibbert Sent:

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Dr. Hawkins
On Fri, Jan 2, 2015 at 7:00 PM, Richard Gaskin wrote: > Can you recall offhand what sorts of tasks take you more steps in the > Project Browser? > What Jacque wrote. All I have to add to that is the extra click just to open the list of substacks. And then, as she mentions, the extra scrolling

Re: replaceText problem

2015-01-03 Thread Dr. Hawkins
On Fri, Jan 2, 2015 at 7:41 PM, J. Landman Gay wrote: > Is this for your own use, or for a utility? The capability is already > built into the debugger -- just choose "Clear all breakpoints" from the > Debug menu. It removes all breakpoints from all scripts in all open stacks. He's searching fo

Standalone on Raspberry Pi

2015-01-03 Thread Kenji Kojima
Hi, Did anybody make a standalone on Raspberry Pi? I made some test standalone of very simple stacks. I changed the permissions of them. But they did not run on Raspberry Pi. I tried to run the standalone on Ubuntu. They worked. What was the problem. Thanks, -- Kenji Kojima / 小島健治 http://www.k

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Mark Wieder
Richard- Friday, January 2, 2015, 10:31:12 PM, Jacque wrote: > I feel like a curmudgeon after writing what follows, but...I don't use > the project browser because it's too slow and cumbersome for my project. What Jacque said. That and all the rest. I'd use Pete's lcStackBrowser if it worked wit

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Paul Hibbert
I'm with Jacque & Doc on this too. I rarely use the Project Browser because I have had problems with the IDE slowing down way too much, also using the Message Watcher with the Project Browser open is a nightmare. The Application Browser usually updates when you modify a control, but the Projec

Re: replaceText problem

2015-01-03 Thread Peter Haworth
Hi Jacque, It's part of a script I use to get a product ready for release. I'm already calling revDebuggerClearAllBreakpoints (which I think is what is called when you select the Clear All Breakpoints menu option) but I think that only clears red dot breakpoints not breakpoint commands. Looking i

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Peter Haworth
I'm getting more inclined to make lcStackBrowser dual-licensed. I'll still charge for it but there won't be a demo, just a 30-day money back guarantee. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread J. Landman Gay
On 1/3/2015 10:49 AM, Paul Hibbert wrote: I like the Alignment tools and especially the Behaviour badges in the PB and would love to see something like that in the AB, but that's about the only thing I have found it useful for, sorry RR! My client, who does much of the layout on our stacks, use

Re: replaceText problem

2015-01-03 Thread J. Landman Gay
On 1/3/2015 11:35 AM, Peter Haworth wrote: It's part of a script I use to get a product ready for release. I'm already calling revDebuggerClearAllBreakpoints (which I think is what is called when you select the Clear All Breakpoints menu option) but I think that only clears red dot breakpoints n

Re: replaceText problem

2015-01-03 Thread Peter Haworth
I may have to go that route since I just can't get replaceText to work. I didn't know breakpoint was always on a line by itself - so you can't have another command on the same line separated by a comma? Kinda moot anyway since I'd never do that and this will only ever be working on my scripts. S

Re: replaceText problem

2015-01-03 Thread Peter M. Brigham
On Jan 3, 2015, at 1:36 PM, J. Landman Gay wrote: > On 1/3/2015 11:35 AM, Peter Haworth wrote: >> It's part of a script I use to get a product ready for release. I'm >> already calling revDebuggerClearAllBreakpoints (which I think is what is >> called when you select the Clear All Breakpoints men

Re: replaceText problem

2015-01-03 Thread J. Landman Gay
On 1/3/2015 12:53 PM, Peter Haworth wrote: I didn't know breakpoint was always on a line by itself - so you can't have another command on the same line separated by a comma? Kinda moot anyway since I'd never do that and this will only ever be working on my scripts. Well, there could be a comme

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Peter Haworth
lcStackBrowser has many of the functions mentioned in this thread. Drag/drop relayering (and moving and copying), alignment tools without the need to open an Inspector palette and single click access to behavior scripts (including chained behaviors). It also has a bunch of navigation features that

Re: replaceText problem

2015-01-03 Thread J. Landman Gay
On 1/3/2015 1:06 PM, Peter M. Brigham wrote: Well, you actually can do this: if the shiftkey is down then breakpoint Whether you should is another matter. Oh right. So instead of my other suggestion: filter tScript without "*breakpoint*" It will destroy any lines that incorporate semic

Re: replaceText problem

2015-01-03 Thread Peter Haworth
That would work fine for me since I don't recall ever having anything else on a line that has a breakpoint. I actually hardly ever use that command anyway, only in the circumstances where a red dot breakpoint doesn't trigger which, as others have mentioned, does happen sometimes. Pete lcSQL Softw

Re: script scope variables inexplicably becoming unset

2015-01-03 Thread Dr. Hawkins
On Fri, Jan 2, 2015 at 6:23 PM, Dr. Hawkins wrote: > Hopefully these let me lick this early tomorrow morning . . . And I found it. It's the debugger, and its long-known deficiencies. Two things were happening: 1) when opening the palette stack, a closeField was sent to the field whose handle

setting a "locked field" to get mouseUp

2015-01-03 Thread Dr. Hawkins
I've found references to "locked fields" getting mouseUp, but not a definition. I would assume locktext, possibly in conjunction with traversal on, but am not getting anywhere. I'm successfully setting the selectedLine from mouseMove, but would like to be able to click on it. -- Dr. Richard E. H

Re: replaceText problem

2015-01-03 Thread Dr. Hawkins
On Sat, Jan 3, 2015 at 10:53 AM, Peter Haworth wrote: > Sounds like filter with the same regex would work and just set the script > to the filtered version, thanks fot the idea.. > Is there any whitespace that could occur before breakpoint other than space? that would let the simpler expression

Re: setting a "locked field" to get mouseUp

2015-01-03 Thread Richmond
On 03/01/15 21:45, Dr. Hawkins wrote: I've found references to "locked fields" getting mouseUp, but not a definition. I would assume locktext, possibly in conjunction with traversal on, but am not getting anywhere. I'm successfully setting the selectedLine from mouseMove, but would like to be ab

Re: setting a "locked field" to get mouseUp

2015-01-03 Thread Richmond
On 03/01/15 21:45, Dr. Hawkins wrote: I've found references to "locked fields" getting mouseUp, but not a definition. I would assume locktext, possibly in conjunction with traversal on, but am not getting anywhere. I'm successfully setting the selectedLine from mouseMove, but would like to be ab

Re: replaceText problem

2015-01-03 Thread Peter Haworth
I finally got replaceText working although still not sure why it returned a runtime error. I had to include "(?m)" at the start of the regex in order to to make it work in multiline mode. The "^" at the start of my regex means "start of line" but unless you are in multiline mode, line breaks aren

Re: setting a "locked field" to get mouseUp

2015-01-03 Thread Peter M. Brigham
On Jan 3, 2015, at 3:14 PM, Richmond wrote: > On 03/01/15 21:45, Dr. Hawkins wrote: >> I've found references to "locked fields" getting mouseUp, but not a >> definition. I would assume locktext, possibly in conjunction with traversal >> on, but am not getting anywhere. >> >> I'm successfully sett

Re: replaceText problem

2015-01-03 Thread Dr. Hawkins
On Sat, Jan 3, 2015 at 12:23 PM, Peter Haworth wrote: > I had to include "(?m)" at the start of the regex in order to to make it > work in multiline mode. > > The "^" at the start of my regex means "start of line" but unless you are > in multiline mode, line breaks aren't recognized by regex. >

Re: replaceText problem

2015-01-03 Thread Peter M. Brigham
On Jan 3, 2015, at 4:44 PM, Dr. Hawkins wrote: > I haven't had to deal with multi-line regex in several years, but recall it > being like a trip to the dentist. For me, even plain regex is like a trip to the dentist. With no novocaine. I understand that it's powerful, but I have rarely come acro

Whiteboard animations

2015-01-03 Thread Earthednet-wp
Just wondering if anyone has created whiteboard "videoscribe" style animations in livecode. Seems like a natural for LC, and not too bad, once somebody has figured out how to translate SVG files into LC lines and colors. Or, has anybody worked with SVG file formats? Tnx, Bill William Prothero h

Re: Standalone on Raspberry Pi

2015-01-03 Thread Peter W A Wood
Hi Kenji As I understand the Linux option in the Standalone Settings creates a standalone for an Intel-based computer. At the moment, there isn’t an option to create a standalone for an ARM-based computer. There is a “community” supported version of LiveCode that runs on Raspberry Pi but that

Re: replaceText problem

2015-01-03 Thread Mark Wieder
Jacque- Breakpoints don't have to be on a line by themselves. Haven't for several years now. For a while I toyed with having both breakpoints and tracepoints (log the context without stopping) by passing a parameter to breakpoints. >filter tScript without "*breakpoint*" But that incantation

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Mark Wieder
Pete- Saturday, January 3, 2015, 9:45:20 AM, you wrote: > I'm getting more inclined to make lcStackBrowser dual-licensed. I'll still > charge for it but there won't be a demo, just a 30-day money back guarantee. That would be awesome. It's much better than the AB or the PB. It's kind of like th

Re: Whiteboard animations

2015-01-03 Thread Bernard Devlin
Hi Bill, I know next to nothing about SVG, but if you search the list archive for "SVG", you'll find that Alejandro Tejada has been working with this format for years. Regards, Bernard On Sat, Jan 3, 2015 at 11:39 PM, Earthednet-wp wrote: > Just wondering if anyone has created whiteboard "vid

Re: Whiteboard animations

2015-01-03 Thread tbodine
Hi Bill. There's no native import support for SVG right now. I know the graphics engine was overhauled using the Skia library, which should add a lot of capabilities like SVG, but I don't see any access to SVG import from the IDE. The LC roadmap only says: "Vector Shape Object -- Use widget frame

[ANN] Version 2.1.6 of lcStackBrowser Released

2015-01-03 Thread Peter Haworth
I'm pleased to announce the release of version 2.1.6 of lcStackBrowser, a replacement for the Livecode IDE Application and Project Browser. This release is free to existing users. A 30 day, fully featured trial version is available at http://www.lcsql.com/lcstackbrowser.html This release include

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Peter Haworth
On Sat, Jan 3, 2015 at 3:55 PM, Mark Wieder wrote: > That would be awesome. It's much better than the AB or the PB. > It's kind of like the best parts of both, and then still better than > that. > To be honest, the only things holding me back are finding a good simple dual license and embarrassm

Re: Standalone on Raspberry Pi

2015-01-03 Thread Kenji Kojima
Peter, Thank you. -- Kenji Kojima / 小島健治 http://kenjikojima.com/livecode/RPi/ > On Jan 3, 2015, at 6:46 PM, Peter W A Wood wrote: > > Hi Kenji > > As I understand the Linux option in the Standalone Settings creates a > standalone for an Intel-based com

How to I receive AppleScript?

2015-01-03 Thread Bill Vlahos
I want to have my LiveCode application receive an AppleScript command with parameters from another application and then have my program execute the command. I can send an AppleScript to another program with LiveCode but I don’t see any examples of how to receive them. Bill Vlahos _

Re: How to I receive AppleScript?

2015-01-03 Thread Mike Bonner
I haven't done it, but I think what you're looking for is appleevent. Theres a little code in the dictionary for that entry that might help. On Sat, Jan 3, 2015 at 7:42 PM, Bill Vlahos wrote: > I want to have my LiveCode application receive an AppleScript command with > parameters from another a

Re: How to I receive AppleScript?

2015-01-03 Thread Phil Davis
Hi Bill, I have no idea if it works on later Mac OS versions, but there are these in the Dictionary: sending: 'send to program' command receiving: 'appleEvent' message 'request appleEvent' command Happy New Year - Phil Davis On 1/3/15 6:42 PM, Bill Vlahos wrote: I want to have my LiveCod

Moving a Group Smoothly

2015-01-03 Thread Brahmanathaswami
This has probably been asked and answered 100 times. Because of the iOS limitation on opening substacks (no second windows allowed) I have set up a whole piece of the UI that I would normally put onto a substack... into a group... A "close" button and GUI clean up routine in the preopenstac

Re: replaceText problem

2015-01-03 Thread Kay C Lan
On Sat, Jan 3, 2015 at 10:41 AM, Peter Haworth wrote: > > replaceText(pScript,"(^\s*breakpoint$"," ") > > Hi Peter, If this is exactly how your script is written then I see two problems: 1) you need to actually put the result into something so: put replaceText(pScript,"(?im)^\s+breakpoint$","-

Moving a Group Smoothly

2015-01-03 Thread Brahmanathaswami
BTW setting the acceleratedRendering of the stack to true and the layerMode of the group to dynamic only means the motion is a tad faster, but it still "stutters" as it moves -- Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com

Re: Moving a Group Smoothly

2015-01-03 Thread Kay C Lan
I've recently used move and after some troubleshooting am quite happy with the result. I'm on Mavericks - I have not moved to Yosemite due the many complaints on how slow it is - maybe a factor, maybe not. some suggestions. Why haven't you specified a time? or did you preset the moveSpeed proper

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Kay C Lan
On Sat, Jan 3, 2015 at 2:31 PM, J. Landman Gay wrote: > because the card and stack references have scrolled off. > > Another +1 for what Jacque wrote. Completely OT but I've decided I like the term 'scrolled off' and will be using it from now on. wife - "where are the kids?" me - "Oh they've sc

Re: Moving a Group Smoothly

2015-01-03 Thread Roger Guay
I’m finding that version 7 is quite slow for this kind of thing. Try version 6.6.5 or 6.7. They are much faster. I’m also using Yosemite. Roger > On Jan 3, 2015, at 9:06 PM, Brahmanathaswami wrote: > > This has probably been asked and answered 100 times. > > Because of the iOS limitation on

Re: Hangs and graphics issue after 6.6.1

2015-01-03 Thread Paul Hibbert
> > On Jan 3, 2015, at 4:47 AM, Camm wrote: > > I will compile something to put to RR. That will be useful, thank you. > Is it possible the empty used in the FullScreenMode is conflicting with the > read from driver until empty ?? I really don't think so, but there are a few different options

Re: Moving a Group Smoothly

2015-01-03 Thread Peter Haworth
Instead of moving the group, try show/ hide "with visual effect". More info in the dictionary. On Jan 3, 2015 8:07 PM, "Brahmanathaswami" wrote: > This has probably been asked and answered 100 times. > > Because of the iOS limitation on opening substacks (no second windows > allowed) > > I have s

Re: replaceText problem

2015-01-03 Thread J. Landman Gay
On 1/3/2015 5:52 PM, Mark Wieder wrote: Breakpoints don't have to be on a line by themselves. Haven't for several years now. For a while I toyed with having both breakpoints and tracepoints (log the context without stopping) by passing a parameter to breakpoints. Interesting, how does that work

Re: How to I receive AppleScript?

2015-01-03 Thread J. Landman Gay
On 1/3/2015 8:42 PM, Bill Vlahos wrote: I can send an AppleScript to another program with LiveCode but I don’t see any examples of how to receive them. There's an example in the docs under the "appleEvent" entry: on appleEvent theClass,theID if theClass is "misc" and theID is "dosc" then

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread J. Landman Gay
On 1/3/2015 11:08 PM, Kay C Lan wrote: wife - "where are the kids?" me - "Oh they've scrolled off again!" --meaning to depart with out reference to where they are going Okay, I laughed. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | ht

Re: Project Browser vs App Browser (was "script scope variables inexplicably becoming unset")

2015-01-03 Thread Bill Vlahos
I faced this same dilemma with lcTaskList. I had many great people on this list encourage me to not sweat my coding insecurities. It is what it is and if it works no one cares. You are correct in that there is no way to protect your code if it is unlocked. You either release a feature reduced ver

Re: Standalone on Raspberry Pi

2015-01-03 Thread Stallibrass
I also had difficulties building for the Raspberry Pi which I've got round by installing livecode onto the Raspberry and rebuilding the app on that. It works for me using 6.5 but 6.5.1 refuses to open a stack created on a Mac. Just used it to create an auto push notification server as I just can'