Re: multiple card alignment tool

2012-07-18 Thread Monte Goulding
> How else could you select controls on more than one card at time? That's the point. Anyway, frustration over until next time I have a multi-card ui with controls I want aligned. Probably tomorrow. Cheers -- M E R Goulding Software development services Bespoke application development for vert

Re: Hanoi Tower programming challenge...

2012-07-18 Thread Dar Scott
On Jul 18, 2012, at 8:22 PM, Colin Holgate wrote: > In another tool's email list there is a thread going on about how it was > possible to solve the Hanoi Tower puzzle in under 20 lines. Without getting > too crazy it was possible to solve the problem in 16 lines of code. With a > little crazi

Re: multiple card alignment tool

2012-07-18 Thread dunbarx
Hi. Do you mean set the loc of various controls on multiple cards to certain values? How else could you select controls on more than one card at time? Or do you mean to be able to "mark" controls on multiple cards, so that moving any one of them on one card under script control causes the oth

Re: Hanoi Tower programming challenge...

2012-07-18 Thread Mark Wieder
Colin- Wednesday, July 18, 2012, 7:50:10 PM, you wrote: > I liked your mixture of top and bottom posting… Eh? > The JavaScript solution on the other email list was 13 lines > long. My hope is that LiveCode would have both a shorter and more > readable solution. Since javascript doesn't require

multiple card alignment tool

2012-07-18 Thread Monte Goulding
Hi If anyone has a tool that allows me to choose controls on multiple cards and align them I will gladly part with some money or some mergExt access for it. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an externa

Re: Simulate a popup menu button

2012-07-18 Thread dunbarx
OH. I get it. I made one of these a couple of years ago, a script controlled click on an existing popup. I will look tomorrow and see if I can find it. Craig -Original Message- From: J. Landman Gay To: How to use LiveCode Sent: Wed, Jul 18, 2012 1:03 pm Subject: Re: Simulate

Re: Hanoi Tower programming challenge...

2012-07-18 Thread Colin Holgate
I liked your mixture of top and bottom posting… The JavaScript solution on the other email list was 13 lines long. My hope is that LiveCode would have both a shorter and more readable solution. ___ use-livecode mailing list use-livecode@lists.runrev.

Re: Android: mobileControlSet

2012-07-18 Thread Andre Garzia
Folks, Use something like: "file:" && the engine folder Do not use the double slash after the protocol. Cheers Sent from my ASUS Transformer http://andregarzia.com :: Desktop, Mobile and Web programming On Jul 18, 2012 10:46 PM, "Ralph DiMola" wrote: > Jacque, > > You be right about those sp

Re: Hanoi Tower programming challenge...

2012-07-18 Thread Mark Wieder
Colin- Wednesday, July 18, 2012, 7:22:59 PM, you wrote: > In another tool's email list there is a thread going on about how > it was possible to solve the Hanoi Tower puzzle in under 20 lines. > Without getting too crazy it was possible to solve the problem in 16 > lines of code. With a little cr

Hanoi Tower programming challenge...

2012-07-18 Thread Colin Holgate
In another tool's email list there is a thread going on about how it was possible to solve the Hanoi Tower puzzle in under 20 lines. Without getting too crazy it was possible to solve the problem in 16 lines of code. With a little craziness it could be done in 13 lines. Assuming you have any id

Re: Android: mobileControlSet

2012-07-18 Thread Ralph DiMola
Jacque, You be right about those spaces. I was having problems with intents when I had that slash issue. That was with 5.01. Ralph DiMola MIS Director Evergreen Information Services rdim...@evergreeninfo.net -Original message- From: "J. Landman Gay" To: How to use LiveCode Sent:

Re: Android: mobileControlSet

2012-07-18 Thread J. Landman Gay
On 7/18/12 8:34 PM, Ralph DiMola wrote: This is sounding familiar. I think I remember that there was a double slash funny I ran into with Android and I also remember that it was not the same on iOS. Try using only one slash after the "file:" I think you're on to something. I just checked a scri

Re: Android: mobileControlSet

2012-07-18 Thread J. Landman Gay
On 7/18/12 8:18 PM, Dan Friedman wrote: Ralph, Yeah... it's there. Like I said before, I can read the data from the same location and put it in the browser with: mobileControlDo sBrowserId, "load", fURL, htmlData I just can't load it as a url with: mobileControlSet sBrowserI

RE: Android: mobileControlSet

2012-07-18 Thread Ralph DiMola
This is sounding familiar. I think I remember that there was a double slash funny I ran into with Android and I also remember that it was not the same on iOS. Try using only one slash after the "file:" Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Origina

Re: Front Scripts

2012-07-18 Thread J. Landman Gay
On 7/18/12 7:12 PM, Dar Scott wrote: Hi, Jacque! I made the time. Thanks Dar. :) Inserting a script into the back puts it at the front of the back. That is consistent with the order in the backscripts. I have not confirmed stack libraries, but if they are the same then adding scripts in a

Re: Android: mobileControlSet

2012-07-18 Thread Dan Friedman
Ralph, Yeah... it's there. Like I said before, I can read the data from the same location and put it in the browser with: mobileControlDo sBrowserId, "load", fURL, htmlData I just can't load it as a url with: mobileControlSet sBrowserId, "url", fURL I think it's something to

Re: Front Scripts

2012-07-18 Thread Peter Haworth
Thanks for taking the time to confirm that Dar. Pete lcSQL Software On Wed, Jul 18, 2012 at 5:12 PM, Dar Scott wrote: > Hi, Jacque! > > I made the time. > > Inserting a script into the back puts it at the front of the back. > > That is consistent with the order in the ba

Re: Front Scripts

2012-07-18 Thread Dar Scott
On Jul 18, 2012, at 4:53 PM, Peter Haworth wrote: > This is all back to front to me…. > > OR > > "The first one now will later be last"…. > > OR > > What goes up the chimney down but not down the chimney up? You might be comforted by these words from "The Reluctant Dragon" (1941) to be read

Re: Android: mobileControlSet

2012-07-18 Thread Ralph DiMola
Dan, Rename the apk to .zip and look in the assets folder and see if the file is where you expect it to be. The apk assets folder will become the engine folder on the device. Also remember the engine folder is read only. Ralph DiMola MIS Director Evergreen Information Services rdim...@eve

Re: Front Scripts

2012-07-18 Thread Dar Scott
Hi, Jacque! I made the time. Inserting a script into the back puts it at the front of the back. That is consistent with the order in the backscripts. I have not confirmed stack libraries, but if they are the same then adding scripts in all methods put them at the front of the applicable li

Re: Stack file opened message?

2012-07-18 Thread Bob Sneidar
Sorry let's try again without the global I was using for testing: -insert the following into front scripts local theLastOpenedStackName, theLastOpenedStackPath, theLastOpenedFileName ON openStack put the short name of this stack into theLastOpenedStackName put word 6 to -1 of the long

Re: Front Scripts

2012-07-18 Thread J. Landman Gay
On 7/18/12 5:53 PM, Peter Haworth wrote: Hi Jacque, OK, well that contradicts the dictionary entry where it describes the exact same mechanism for both front and back scripts, i.e. messages go the first inserted script last and the last inserted script first for bot front scripts and back scripts

Re: Android: mobileControlSet

2012-07-18 Thread Dan Friedman
Ralph, I took out the line "replace " " with "%20" in fURL"... Same issue. Still doesn't work... Android cant find the url fURL -Dan > Dan, > > I've never done==> replace " " with "%20" in fURL. on Android for a local > file. As far as I know the Android file system will not like the "%20"s

Re: Front Scripts

2012-07-18 Thread Peter Haworth
Hi Jacque, OK, well that contradicts the dictionary entry where it describes the exact same mechanism for both front and back scripts, i.e. messages go the first inserted script last and the last inserted script first for bot front scripts and back scripts. Course, it wouldn't be the first time th

Re: Stack file opened message?

2012-07-18 Thread Bob Sneidar
Okay never mind I see the problem. The openStack command would have to be in a frontscript because it won't get triggered in the currently open stack containing the stack name as a stack file. Did that make sense? Still, it can be done. Insert this into a frontScript after which you can call ge

RE: Android: mobileControlSet

2012-07-18 Thread Ralph DiMola
Dan, I've never done==> replace " " with "%20" in fURL. on Android for a local file. As far as I know the Android file system will not like the "%20"s for file access on the device. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From:

Android: mobileControlSet

2012-07-18 Thread Dan Friedman
I can't seem to load a local (included) file in a native browser on Android. This works perfect on iOS: on loadURL pFileName put specialFolderPath("engine") & "/userGuide/" & pFileName into fURL put "file://" & fURL into fURL replace " " with "%20" in fURL mobileControlSet

Re: Simulate a popup menu button

2012-07-18 Thread J. Landman Gay
On 7/18/12 4:02 PM, Bob Sneidar wrote: Disabling the button on top will allow the mouseClick to pass through. I always forget about that. Must make note. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: Stack file opened message?

2012-07-18 Thread Bob Sneidar
No the target returns the first card of the stack, or else the card you went to if you went to a specific card of the stack. But I give you this: ON openStack put the name of this stack & cr & word 6 to -1 of the long name of the target pass openStack END openStack Bob On Jul 18, 2012

Re: Front Scripts

2012-07-18 Thread J. Landman Gay
On 7/18/12 5:01 PM, Bob Sneidar wrote: Yes you have it right there Peter. I just read it myself, and the key is that the order the scripts appear in the list is the reverse of the order they were entered, which means the last insert goes at the top and then they scripts follow the order of the li

Re: Front Scripts

2012-07-18 Thread Bob Sneidar
Yes you have it right there Peter. I just read it myself, and the key is that the order the scripts appear in the list is the reverse of the order they were entered, which means the last insert goes at the top and then they scripts follow the order of the list, meaning, much like the Military, t

Re: Stack file opened message?

2012-07-18 Thread Peter Haworth
I haven't tried this but I suspect the target contains the stack name and having got that, you can get it's effective filename to get the stack file name. Pete lcSQL Software On Wed, Jul 18, 2012 at 1:51 PM, Bob Sneidar wrote: > I don't think there is one. This underscor

Re: Front Scripts

2012-07-18 Thread Peter Haworth
I read the dictionary entry as meaning that the last script inserted into the front scripts will be executed before the first one, so the message path starts at the last script inserted then prgresses through any others until the first one inserted. I don;t think any of this will be a problem for

Re: Front Scripts

2012-07-18 Thread Peter Haworth
Thanks Richard, yes I was just reading the front script section. Pete lcSQL Software On Wed, Jul 18, 2012 at 1:50 PM, Richard Gaskin wrote: > It may just need to be more prominent - in the section on Backscripts it > includes: > >In LiveCode all libraries and backScri

"Exit to Top" on Android

2012-07-18 Thread Ralph DiMola
I put an "exit to top" in a function called from the preopencard handler. The statement after the function call in the preopencard handler is getting executed. It seems that "exit to top" is doing a "exit handlername" instead. Am I missing something or is this a bug? LC 5.5.1 Thanks Ralph DiMola

Re: Front Scripts

2012-07-18 Thread Bob Sneidar
Interesting, I would have thought the last inserted script would take precedence, as in the old Military standing order, obey the last order first. There is a lot of good wisdom to that. Bob On Jul 18, 2012, at 1:50 PM, Richard Gaskin wrote: > in such cases libraries take > precedence over

Re: Simulate a popup menu button

2012-07-18 Thread Bob Sneidar
Also, I wonder why he does not just move the mouse, unless the user is interacting with the real mouse. Bob On Jul 18, 2012, at 1:47 PM, J. Landman Gay wrote: > On 7/18/12 3:33 PM, Bob Sneidar wrote: >> But I tried it and it did work. > > Did you use two buttons? He has one button with a cur

Re: Front Scripts

2012-07-18 Thread Dar Scott
On Jul 18, 2012, at 2:50 PM, Richard Gaskin wrote: > It may just need to be more prominent - in the section on Backscripts it > includes: > > In LiveCode all libraries and backScripts can freely call > each others' handlers by name, with the order of insertion > only coming into play in t

Re: Simulate a popup menu button

2012-07-18 Thread Bob Sneidar
Disabling the button on top will allow the mouseClick to pass through. Bob On Jul 18, 2012, at 1:47 PM, J. Landman Gay wrote: > On 7/18/12 3:33 PM, Bob Sneidar wrote: >> But I tried it and it did work. > > Did you use two buttons? He has one button with a cursor icon to simulate the > mouse.

Re: Stack file opened message?

2012-07-18 Thread Bob Sneidar
I don't think there is one. This underscores the need for messages like openStack to return the stack name as a parameter as in: on openStack pStackName, pFileName If anyone thinks this is useful, I will post an enhancement request. It cannot break anything in the past, and would be really usef

Re: Front Scripts

2012-07-18 Thread Richard Gaskin
Peter Haworth wrote: >> I'm wondering what happens if two front scripts each contain a >> handler for the same message. ... > I checked out Richard Gaskin's excellent write up on extending > the message path before asking this question, but it it doesn't > really deal with this situation - Richar

Re: Simulate a popup menu button

2012-07-18 Thread J. Landman Gay
On 7/18/12 3:33 PM, Bob Sneidar wrote: But I tried it and it did work. Did you use two buttons? He has one button with a cursor icon to simulate the mouse. A second button at a lower layer is the popup button. When the "cursor" button moves over the popup, clicking at the loc of the cursor b

Stack file opened message?

2012-07-18 Thread Peter Haworth
Checked the dictionary but couldn't spot a message that's generated when a stack file is opened? I know of preOpenStack and openStack but I'm looking for something when a stack file is opened, not a stack. Thanks, Pete lcSQL Software _

Re: Simulate a popup menu button

2012-07-18 Thread Bob Sneidar
But I tried it and it did work. Bob On Jul 18, 2012, at 10:58 AM, J. Landman Gay wrote: > On 7/18/12 12:02 PM, J. Landman Gay wrote: >> On 7/18/12 12:03 PM, Lars Brehmer wrote: >>> Thanks once again Craig! >>> >>> But again no. >>> >>> The popup button is already in place. It has 7 menu item

Re: RunRevLive12

2012-07-18 Thread Pierre Sahores
Nice slideshow ! Thanks ;-) Le 18 juil. 2012 à 08:53, te...@troutfoot.com a écrit : > Hi folks, I've posted some images from RunRevLive12. You can reach them > from here: > > http://www.troutfoot.com/rev/index.html > > What a great time! Good to see everyone, learn stuff, see new habitats. >

Re: can't find out this char

2012-07-18 Thread Peter M. Brigham
Try chartonum(char n of fld yyy) ? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jul 18, 2012, at 7:43 AM, Björnke von Gierke wrote: > Hi > > While rumaging around in the dictionary entries for BvG Docu, I found that > RunRev uses a weird char between each line

Re: Front Scripts

2012-07-18 Thread Peter Haworth
Thank you Mark, I'm glad to hear that's how it works. I am, of course, planning on passing the message. I checked out Richard Gaskin's excellent write up on extending the message path before asking this question, but it it doesn't really deal with this situation - Richard, might be worth a note i

Re: Calling external support functions from other threads

2012-07-18 Thread Dar Scott
My second question... On Jul 17, 2012, at 11:02 PM, Mark Wieder wrote: > You may find some useful information in the notes to bug 1242. >From the second part of the first tip by Trevor: > Usually I pass the following string through snprintf to SendCardMessage: > > global gDispatchRevolutionMess

Re: Front Scripts

2012-07-18 Thread Mark Schonewille
Hi, That's very simple. One front script comes after the other. If the first front script doesn't pass the message, then the second front script won't run. If you're making a plugin, you need to pass the message and good developers do this. -- Best regards, Mark Schonewille Economy-x-Talk Co

Front Scripts

2012-07-18 Thread Peter Haworth
I'm wondering what happens if two front scripts each contain a handler for the same message. I can envisage this happening if, for example, a product I provide inserts a front script and the user is using a product from a different developer that also inserts a froct script containing a handler th

Re: Calling external support functions from other threads

2012-07-18 Thread Dar Scott
Hmm. I wonder. On Jul 17, 2012, at 11:02 PM, Mark Wieder wrote: > You may find some useful information in the notes to bug 1242. Thank you, Mark. I have some questions on this. I hope folks have some ideas. My first... Here is the first part of the applicable note: Adding these notes at

Re: Simulate a popup menu button

2012-07-18 Thread Bob Sneidar
That works jacque, only no cursor. He will have to set the mouseLoc to that first I believe. After that, he can set the mouseLoc, then use the arrow keys to navigate the menus. It's klunky but it ought to work. Bob On Jul 18, 2012, at 10:02 AM, J. Landman Gay wrote: > On 7/18/12 12:03 PM, La

Re: Simulate a popup menu button

2012-07-18 Thread J. Landman Gay
On 7/18/12 12:02 PM, J. Landman Gay wrote: On 7/18/12 12:03 PM, Lars Brehmer wrote: Thanks once again Craig! But again no. The popup button is already in place. It has 7 menu items, and 6 of those have a submenu with several choices. I simply want to (in a script) simulate clicking on it (done

Re: RevOnline fixed

2012-07-18 Thread Alejandro Tejada
Hi Roger, Roger Guay wrote > > Thanks, Jacqueline. It works! I just uploaded my > RadialDialOmatic (153KB) utility stack with no problems. > Could you provide a link to download your stack? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RevOnline-fixed-tp

Re: RevOnline fixed

2012-07-18 Thread Roger Guay
Thanks, Jacqueline. It works! I just uploaded my RadialDialOmatic (153KB) utility stack with no problems. On Tue, 17 Jul 2012 21:48:57 -0500, you wrote: > I hear that the RevOnline server has been fixed. If anyone has a stack > to upload, give it a test and let us know how it goes. Cheers, R

Re: RevOnline fixed

2012-07-18 Thread René Micout
RevOnline Uploading don't work for me :-( When I click on "Upload Content" and I choose the stack to "upload", I see randomly a stack to "download"... RM Le 18 juil. 2012 à 06:57, Mark Wieder a écrit : > Jacque- > > Tuesday, July 17, 2012, 7:48:57 PM, you wrote: > >> I hear that the RevOnline

Re: Simulate a popup menu button

2012-07-18 Thread J. Landman Gay
On 7/18/12 12:03 PM, Lars Brehmer wrote: Thanks once again Craig! But again no. The popup button is already in place. It has 7 menu items, and 6 of those have a submenu with several choices. I simply want to (in a script) simulate clicking on it (done) then hiliting one of the items and then sh

Re: Simulate a popup menu button

2012-07-18 Thread Lars Brehmer
Thanks once again Craig! But again no. The popup button is already in place. It has 7 menu items, and 6 of those have a submenu with several choices. I simply want to (in a script) simulate clicking on it (done) then hiliting one of the items and then show that items submenu and hiliting one o

Re: Condtional parameters in handler calls

2012-07-18 Thread Peter Haworth
OK, that makes my head spin just looking at it! Pete lcSQL Software On Tue, Jul 17, 2012 at 6:52 PM, J. Landman Gay wrote: > On 7/17/12 7:54 PM, Peter Haworth wrote: > >> Thanks everyone for the alternative ways of doing this. I think Mike's >> comes closest to what I wa

Re: Junior App Developer (FlexibleLearning)

2012-07-18 Thread Alejandro Tejada
Hi Bob, slylabs13 wrote > > One could surmise that there are so many knowledgable developers > busily working on projects that they have not had time to read the > forum. What would worry me more is if everyone had all the time in > the world to respond! > Could you believe it that when I rea

Re: RunRevLive12

2012-07-18 Thread J. Landman Gay
On 7/18/12 1:53 AM, te...@troutfoot.com wrote: Hi folks, I've posted some images from RunRevLive12. Love when you do that. Thanks. :) Boy I had a good time there. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: RunRevLive12

2012-07-18 Thread Alejandro Tejada
Hi Sandy, tech1-3 wrote > > Hi folks, I've posted some images from RunRevLive12. You can reach them > from here: > http://www.troutfoot.com/rev/index.html > What a great time! Good to see everyone, learn stuff, see new habitats. > Wonderful! :-) Many Thanks for sharing these images of the Con

Re: Junior App Developer (FlexibleLearning)

2012-07-18 Thread Bob Sneidar
One could surmise that there are so many knowledgable developers busily working on projects that they have not had time to read the forum. What would worry me more is if everyone had all the time in the world to respond! Bob On Jul 18, 2012, at 8:02 AM, Alejandro Tejada wrote: > Hi Hugh, >

Re: Junior App Developer (FlexibleLearning)

2012-07-18 Thread Alejandro Tejada
Hi Hugh, FlexibleLearning-2 wrote > > Ever have "one of those days"? > My apologies with deep embarrassments to the list. > In fact, I would be more worried if there is no answers to this kind of request. Sometimes I wonder if it is only me, who became deeply worried when, in this mail list,

RE: RunRevLive12

2012-07-18 Thread Ralph DiMola
Great people! Great Pics! Thanks! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of te...@troutfoot.com Sent: Wednesday, July 18, 2012

Re: RunRevLive12

2012-07-18 Thread Thomas McGrath III
Thanks, Very cool event and great time for all. Awesome pictures. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 18, 2012, at 2:53 AM, te...@troutfoot.com wrote: > Hi folks, I've posted some images from RunRevLive12. You can reach them > from here: > > http://www.

Re: can't find out this char

2012-07-18 Thread Björnke von Gierke
it seems to be a carriage return, equivalent to numtochar(13). I filed a bug report that a char exists that is treated as if it's a return, but actually renders as if it's not existent: http://quality.runrev.com/show_bug.cgi?id=10305 On 18.07.2012, at 13:43, Björnke von Gierke wrote: > Hi >

can't find out this char

2012-07-18 Thread Björnke von Gierke
Hi While rumaging around in the dictionary entries for BvG Docu, I found that RunRev uses a weird char between each line in their htmltext entries. I can't find out what the char is, because chartonum fails with an error (Error description: Script: missing '"' after literal). When I paste that

Re: Calling external support functions from other threads

2012-07-18 Thread Thierry Douez
2012/7/18 Guglielmo Braguglia > Hi Thierry, > go in the Quality Control Center, search for bug#1242, scroll down the > page ... you find the notes (/comments/) ;-) > > Guglielmo Thanks a lot. Too obvious, I'm going to have a coffee :) Thierry > > > On 18.07.2012 09:17, Thierry Douez wrote:

Re: Calling external support functions from other threads

2012-07-18 Thread Guglielmo Braguglia
Hi Thierry, go in the Quality Control Center, search for bug#1242, scroll down the page ... you find the notes (/comments/) ;-) Guglielmo On 18.07.2012 09:17, Thierry Douez wrote: Hi Mark, Were do I find the *notes* ? Try out Release notes but son't see anything. Regards, Thierry 2012/7/

Re: Calling external support functions from other threads

2012-07-18 Thread Thierry Douez
Hi Mark, Were do I find the *notes* ? Try out Release notes but son't see anything. Regards, Thierry 2012/7/18 Mark Wieder > > You may find some useful information in the notes to bug 1242. > > ___ use-livecode mailing list use-livecode@lists.runrev