Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Keith Clarke
> don't address a person directly, maybe someone else would have helped, but > now you scared them away :P Perhaps they're just enjoying the spectacle of yet another poor naïve fool trying to boil the ocean! ;-) It's clear now that my question, which sought factual clarification, has raised que

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Keith Clarke
Ken, thanks for the clarification on what can/can't be achieved with send - and how. I like the use of the value function to wrap a remote function, which produces a kind of 'call, with (slightly fussy syntax) parameters' function - reminiscent of some Excel cross-referencing functions. Intere

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Björnke von Gierke
I agree with your assesment that the message path is so versatile and complex, that it doesn't lead to a single ruleset, but to a dozen different valid usage scenarios. But only if one chooses to use all these advanced capabilities. 90% of my works is within the 'default' path, not using librari

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Keith Clarke
Thanks for clarifying the library and front/back script order - more 'LIFO-type' behaviour http://en.wikipedia.org/wiki/LIFO_(computing) than just random chunks of code in a bucket! I think this thread has underpinned George Box's warning to “Remember that all models are wrong; the practical qu

Unexpected data grid messages

2011-05-23 Thread Keith Clarke
Hi folks, When I open one particular card, I get the message box open with the following... 89,8775,50,dgAlternatingRows 77,8775,50 456,8775,38 380,8775,9 572,8775,1 253,8759,1 241,8759,1,_DrawAlternatingRows 353,0,0,button id 1005 of group id 1004 of card id 1002 of stack "/Applications/LiveCod

Re: Unexpected data grid messages

2011-05-23 Thread Mike Bonner
When a datagrid is deleted it should ask if you want to delete the data grid template also. If you answer no, it leaves that substack. If you look at the application browser, is the data grid template still there? If so, and the datagrid itself is truly gone, delete that substack. However, sounds

url to stacks in RevOnline

2011-05-23 Thread Todd Geist
Hello, Is there a way to get the URL of stacks in RevOnline. I would like to be able to download selected ones directly to a particular folder on my computer. Thanks Todd Todd Geist -- geist interactive 805-419-9382 _

Re: Unexpected data grid messages

2011-05-23 Thread Pete
Sounds like there may still be some code somewhere on the card that is trying to access the deleted datagrid. I don't think the existence of a template for a deleted datagrid would cause any problems but probably would be a good idea to tidy it up. Don't delete the Datagrid Templates substack unle

Re: url to stacks in RevOnline

2011-05-23 Thread Roger Eller
On Mon, May 23, 2011 at 12:33 PM, Todd Geist wrote: > > Hello, > > Is there a way to get the URL of stacks in RevOnline.  I would like to be > able to download selected ones directly to a particular folder on my > computer. > > > Thanks > > Todd > > Todd Geist > -- > gei

Re: use-livecode Digest, Vol 92, Issue 46

2011-05-23 Thread J Scott Saults
Sorry, I don't know how or what you mean by disabling uac; please explain how and I'll try it. Regarding another suggestion to run in 32-bit mode, I don't know how to set that in Win7 either, but it does run OK on another PC with 64-bit Win7, and on the this (Mac) computer in a 64-bit XP Para

Re: Unexpected data grid messages

2011-05-23 Thread Keith Clarke
...thanks Mike & Pete for the steer on this. It turned out to be an orphan, undeleted data grid template. I found this by checking through all my data grids' row templates - and yes, then renaming the template card's long IDs to match the 'parent' data grid whilst I was at it! Is it only me who

Re: use-livecode Digest, Vol 92, Issue 46

2011-05-23 Thread Bob Sneidar
UAC stands for User Account Control. Since Vista, Microsoft's answer to software silently installing itself is to give any user, even administrators, a non-administrator "token" meaning even when you log in as an administrator you are not actually running as one. Then if you do anything that r

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Richard Gaskin
Keith Clarke wrote: > It's clear now that my question, which sought factual clarification, > has raised questions of LiveCode philosophy, developer perspective > and architecture. There is clearly no single correct answer, no > 'unified theory'. There is a sense of theory about LiveCode's langua

Re: Unexpected data grid messages

2011-05-23 Thread Bob Sneidar
A behavior script (which is what the datagrid template is) can have many parents. In fact, every data grid you create by default uses the same template unless you tell it to do otherwise. I am not sure what application there is for a custom datagrid template, since you can intercept the messag

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Keith Clarke
Thanks for that clarification Richard - and your message path article that helped me get underway with LiveCode. Backward compatibility is always challenging, though perhaps slightly easier than predicting future compatibility! Best, Keith.. On 23 May 2011, at 19:03, Richard Gaskin wrote: >

Re: Unexpected data grid messages

2011-05-23 Thread Pete
Hi Keith, I agree it would be nice to link dg's to their template in both directions(there is a property of the dg that points to its template but not the other way round). Unfortunately, it's not quite as simple as it seems since it's possible to have multiple dg's reference the same template (as

Re: Unexpected data grid messages

2011-05-23 Thread Pete
The dg template includes behaviors but it isn't just a behavior - it defines the layout of the datagrid, especially if there are columns containing controls other than fields, and always for dgs that are forms rather than tables. Pete Molly's Revenge On Mon, May 2

Re: Unexpected data grid messages

2011-05-23 Thread Keith Clarke
I'm thinking about maintaining row template cards, rather than the behaviors themselves - something very simple like (forgive the poor syntax)... On create new group "new data grid", set the long ID of "new data grid's row template card" in stack "data grid templates " to the long ID of "new da

Re: use-livecode Digest, Vol 92, Issue 46

2011-05-23 Thread J. Landman Gay
On 5/23/11 12:34 PM, J Scott Saults wrote: Sorry, I don't know how or what you mean by disabling uac; please explain how and I'll try it. Regarding another suggestion to run in 32-bit mode, I don't know how to set that in Win7 either, but it does run OK on another PC with 64-bit Win7, and on th

RE: url to stacks in RevOnline

2011-05-23 Thread Slava Paperno
http://revonline2.runrev.com/ > -Original Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of Todd Geist > Sent: Monday, May 23, 2011 12:34 PM > To: How to use LiveCode > Subject: url to stacks in RevOnline > > Hello, > >

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Todd Geist
This last little post by Richard makes me think of JavaScript, The Good Parts, by Douglas Crawford. Crawford lays out a case for which parts of JavScript should be used and which are to be avoided at all cost. I wonder if something similar could be done with LiveCode. Or perhaps just a guide to

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Richard Gaskin
Todd Geist wrote: For example, I am reasonably certain that I will never need to write code that is compatible with HyperCard, So does that mean that I never need to use Send, and I can always use Dispatch? The "send" command has one feature unique to it: the ability to delay its triggering

[Semi-OT] Someone using LiveCode with Gnome 3.0?

2011-05-23 Thread Andre Garzia
Folks, I am about to reinstall linux on a development desktop here and of course I will be using LiveCode. My choices are: * To keep rocking Gnome 2.0 boat * Try out Gnome-shell / Gnome 3.0 * Go for unity I don't know how well LiveCode behaves under gnome 3.0 or Unity, anyone can spare a couple

Re: [OT] Pirate software in Germany?

2011-05-23 Thread Judy Perry
Coming late to this discussion, but here's how sane we in the US are not: Ars Technica is reporting on a bill going through the California legislature that would permit warrant-free searches of firms that do CD or DVD duplication: http://arstechnica.com/tech-policy/news/2011/05/riaa-backed-wa

Re: [OT] Pirate software in Germany?

2011-05-23 Thread Bob Sneidar
That doesn't bother me so much as what it sets the stage for later. Let's face it, we have people in high offices of the government here who do not even know what the constitution says, what powers it invests, and what it's limits are. They had to have a class to teach them. Wow! Men who's autho

Re: OT: How does Windows handle spaces in program names?

2011-05-23 Thread Graham Samuel
Again thanks to all who replied. I'm trying to do the things that Mike and Ken have suggested, but meanwhile for Björnke, I am not sure what escape involves in Windows - I assume there is an escape character or character pair... and as to quoting in file names, where Mike had "firefox.exe" (i

Re: OT: How does Windows handle spaces in program names?

2011-05-23 Thread Mike Bonner
Try "my\ spacious\ program.exe" On Mon, May 23, 2011 at 3:27 PM, Graham Samuel wrote: > Again thanks to all who replied. I'm trying to do the things that Mike and > Ken have suggested, but meanwhile for Björnke, I am not sure what escape > involves in Windows - I assume there is an escape charac

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Pete
Send has an "in time" clause that allows you to delay the sending of the message - dispatch doesn't have that. In some circumstances, datagrid messages need to be sent with "in zero seconds" (more info in the Datagrid Tutorial at http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/73

Re: OT: How does Windows handle spaces in program names?

2011-05-23 Thread Warren Samples
On Monday, May 23, 2011 04:27:38 PM Graham Samuel wrote: > I tried "My spacious program.exe" since I couldn't see how to introduce a > further level of quotes. Maybe it just won't work, but did you try to use the single quote char ' ? I don't know if this is valid under Windows, but " and ' are

RE: [OT] Pirate software in Germany?

2011-05-23 Thread Lynn Fredricks
> Ars Technica is reporting on a bill going through the > California legislature that would permit warrant-free > searches of firms that do CD or DVD duplication: > > http://arstechnica.com/tech-policy/news/2011/05/riaa-backed-wa > rrantless-search-bill-advances-in-california.ars Arguments for

Re: OT: How does Windows handle spaces in program names?

2011-05-23 Thread Bob Sneidar
I may or may not have responded to this, but you cannot simply enclose the program name in quotes for the argument to the shell command, because Livecode will simply interpret whatever is between the quotes and send that. Instead, put the path to the app or file you want to work with into a var

Re: OT: How does Windows handle spaces in program names?

2011-05-23 Thread Roger Eller
or... to keep it as a one liner... put quote & "C:\Documents and Settings\myprofile\Desktop\My App Name.exe" & quote into theFilePath ˜Roger On Mon, May 23, 2011 at 6:19 PM, Bob Sneidar wrote: > I may or may not have responded to this, but you cannot simply enclose the > program name in quote

[OT] Android Multi-Page Indicator Convention?

2011-05-23 Thread Scott Rossi
Anyone with an Android device know if that OS has a convention for indicating horizontal page content/scrolling? Something like the tiny page indicator dots at the bottom of an iOS display? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design __

Re: OT: How does Windows handle spaces in program names?

2011-05-23 Thread Bob Sneidar
Aye. It's the ole Readability vs. Compactness conundrum. Bob On May 23, 2011, at 3:27 PM, Roger Eller wrote: > or... to keep it as a one liner... > > put quote & "C:\Documents and Settings\myprofile\Desktop\My App Name.exe" & > quote into theFilePath > > ˜Roger > > > On Mon, May 23, 2011 a

Re: OT: How does Windows handle spaces in program names?

2011-05-23 Thread Mike Bonner
I must be the only one who uses 'the shortfilepath' to avoid all this? Though while we're at it, this works too. put merge("[[quote]]C:\Documents and Settings\myprofile\Desktop\My App Name.exe[[quote]]") into theFilePath On Mon, May 23, 2011 at 5:15 PM, Bob Sneidar wrote: > Aye. It's the ole R

Re: [Semi-OT] Someone using LiveCode with Gnome 3.0?

2011-05-23 Thread Pierre Sahores
Andre, As long as i don't use LC Desktop under Linux, i can't be helpful on this. On the other hand, if you expect to run the revServer too, i can confirm that it runs perfectly well under both RHEL and CentOS and, again, perfectly well under both of the 32 and 64 bits versions of those distrib

Re: OT: How does Windows handle spaces in program names?

2011-05-23 Thread Bob Sneidar
You aren't, but for the sake of demonstration, and so as to not confuse the target audience by making them think that merge is part of the principle being demonstrated, i used literals. Bob On May 23, 2011, at 4:21 PM, Mike Bonner wrote: > I must be the only one who uses 'the shortfilepath'

Re: LiveCode 4.6.1 message path and behaviors

2011-05-23 Thread Pete
This thread reminds me of something I would like to understand better. I currently have several custom handlers and 2 or three system message handlers that I use in multiple applications. At the moment, I keep them in a library stack and insert them all as front scripts in my startup processing f

Re: [OT] Android Multi-Page Indicator Convention?

2011-05-23 Thread Colin Holgate
I'm sure the look has changed over time, but with Android 3.01 you have a home screen and an apps screen. In the home screen there's no indication that there is content to the left or right of where you are. As you swipe, you see a faint blue outline of the rectangle of the next screen. With the

Re: [OT] Android Multi-Page Indicator Convention?

2011-05-23 Thread J. Landman Gay
On 5/23/11 6:14 PM, Scott Rossi wrote: Anyone with an Android device know if that OS has a convention for indicating horizontal page content/scrolling? Something like the tiny page indicator dots at the bottom of an iOS display? I'm still on Android 2.2, but for that version I rarely see any

Re: [OT] Android Multi-Page Indicator Convention?

2011-05-23 Thread J. Landman Gay
On 5/23/11 9:02 PM, J. Landman Gay wrote: On 5/23/11 6:14 PM, Scott Rossi wrote: Anyone with an Android device know if that OS has a convention for indicating horizontal page content/scrolling? Something like the tiny page indicator dots at the bottom of an iOS display? I'm still on Android 2.

Rotate Screen on Android

2011-05-23 Thread Roger Eller
Using 4.6.1, no matter what I try, I just can't seem to get screen rotation working. I can detect portrait, landscape, etc. but is there a recipe to actually make the stack rotate? According to the release notes, it should be possible. I must be missing something. ˜Roger