bring LC to front after a launch command

2012-09-28 Thread Thierry Douez
Hi all, IS there a Livecode way to bring back to front LC after doing a launch app command ? The app is still running. Regards, Thierry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Message Equivalent of TextChanged for Graphics?

2012-09-28 Thread William Vlahos
The textChanged message still isn't triggered by a script changing the text. Is there a message that is generated when anything changes the text of a field? Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you,

Re: bring LC to front after a launch command

2012-09-28 Thread René Micout
Hello Thierry, Is this a solution to (for ?) your problem ? set the systemWindow of stack X to true A bientôt René Le 28 sept. 2012 à 08:38, Thierry Douez th.do...@gmail.com a écrit : Hi all, IS there a Livecode way to bring back to front LC after doing a launch app command ? The app

Re: bring LC to front after a launch command

2012-09-28 Thread Thierry Douez
Bonjour René, 2012/9/28 René Micout rene.mic...@numericable.com: Hello Thierry, Is this a solution to (for ?) your problem ? set the systemWindow of stack X to true From the Dictionary, there is no effect on Mac, but with a comment of a Livecoder that it's not true ! I'm checking it right

Re: bring LC to front after a launch command

2012-09-28 Thread René Micout
I am using it on Mac !... Le 28 sept. 2012 à 09:38, Thierry Douez th.do...@gmail.com a écrit : Bonjour René, 2012/9/28 René Micout rene.mic...@numericable.com: Hello Thierry, Is this a solution to (for ?) your problem ? set the systemWindow of stack X to true From the Dictionary,

Re: bring LC to front after a launch command

2012-09-28 Thread Mark Schonewille
Thierry, On Windows, you can use the VBScript on this (old) site http://runrev.info/Activate%20Application.htm and on Mac you can use AppleScript: tell application Standalone.app to activate -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage:

Re: bring LC to front after a launch command

2012-09-28 Thread Thierry Douez
Thanks Rene and Mark, set the systemWindow of stack... works great on my Mac ! All the best, Thierry 2012/9/28 Mark Schonewille m.schonewi...@economy-x-talk.com: Thierry, On Windows, you can use the VBScript on this (old) site http://runrev.info/Activate%20Application.htm and on Mac you

Re: DataGrids with no UI

2012-09-28 Thread Ralf Bitter
Hi Robert, this sounds quite interesting. May i volunteer to test your stack in a revIgniter environment? Ralf On 28.09.2012, at 03:24, Robert Mann r...@free.fr wrote: Hi all! I take the occasion to inform the list that I shall make available a new data structure that i called dbStack. It

Re: DataGrids with no UI

2012-09-28 Thread Robert Mann
HI Ralph, Yes indeed! I actually made that specially to get along with revIgniter, and thought I could well participate and make it available as a revIgniter contribution, at least the basic dbstack for use with revServer. It will be nice to test and have feedback from you and others. I should

Re: Message Equivalent of TextChanged for Graphics?

2012-09-28 Thread Paul Dupuis
If a script is changing the text of a field, then it is under your control and you can use Send or Dispatch to issue a textChanged message as part of the script. On 9/28/2012 2:49 AM, William Vlahos wrote: The textChanged message still isn't triggered by a script changing the text. Is there a

If construction bug in 5.5.2 ?

2012-09-28 Thread Robert Presender
Create a text entry field with content 00.00 Field script is: on openField answer information Want to enter a new value? with No or Yes titled New Amount if it = No then select empty if it = Yes then select text of me end openField Using 5.5.2, No works fine but Yes keeps repeating Want to

Re: If construction bug in 5.5.2 ?

2012-09-28 Thread Thierry Douez
Hi Robert, Try if it is No HTH, Thierry 2012/9/28 Robert Presender rpresen...@cox.net: Create a text entry field with content 00.00 Field script is: on openField answer information Want to enter a new value? with No or Yes titled New Amount if it = No then select empty if it

Re: If construction bug in 5.5.2 ?

2012-09-28 Thread Mark Schonewille
Hi Robert, The reason is that in 5.5.2 the select command may trigger the openField message. Maybe the following solves it: on openField answer bla with Yes or No -- etc if it is No then select empty else lock messages select the text of me unlock messages end if end

Apologies 2 liveCode problems

2012-09-28 Thread Lars Brehmer
I would like to apologize for the tone of my post about the subscriber list earlier this week. Thanks for posting for me Klaus - sorry for getting you involved with such an idiotic problem. And yes, Heather figured it out right away - thanks Heather! Since someone else may experience this and

Re: artificially causing a field to be left in a script

2012-09-28 Thread Bob Sneidar
Depending on your application, locking a record while it's being read has problems. Users will inevitably open a record then go to lunch, maybe leave for the day. Perhaps the app crashes or a lightning strike shuts everything down as soon as they open the record. If you take this approach (or

Re: Card Names

2012-09-28 Thread Bob Sneidar
I think a good analogy for software development release is that it's like mopping a floor. You know when you mop a floor, it looks pretty clean from way up there. It will do if guests come over. But get down on your hands and knees and you quickly realize you didn't get the corners, and there

Re: Card Names

2012-09-28 Thread Bob Sneidar
ID's only change if you change them yourself, and no one in their right mind does that!! Do they?? Bob On Sep 27, 2012, at 6:21 PM, Peter Haworth wrote: Thanks for the tip Scott. In this case, I think IDs will work fine. I know they can change but my code is working on a card that is

Re: If construction bug in 5.5.2 ?

2012-09-28 Thread Bob Sneidar
You have created an interesting infinite loop here. The command select the text of me will enter the field generating an openField message. Why this does not, as you say, happen with 5.5.1, I do not know, but it seems to me that it is working exactly as expected with 5.5.2. If I were a doctor

Gauntlet app on ios appstore

2012-09-28 Thread Andre Rombauts
Tried. Loaded but does not run on my iPad... -- André Rombauts, {Envoyé à partir de iSaulitude - iPad 2,2 - iOS 6.0} ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Gauntlet app on ios appstore

2012-09-28 Thread Colin Holgate
The earliest LiveCode apps work ok in iOS 6, but the later ones don't, unless you republished the app with a recent version of LiveCode. Hopefully RunRev will find time to update their own apps. On Sep 28, 2012, at 1:17 PM, Andre Rombauts andre.romba...@gmail.com wrote: Tried. Loaded but

Re: Gauntlet app on ios appstore

2012-09-28 Thread J. Landman Gay
On 9/28/12 12:42 PM, Colin Holgate wrote: The earliest LiveCode apps work ok in iOS 6, but the later ones don't, Do you know which version (or which approximate date) is the cutoff? I haven't had any complaints yet about Casey's Solitaire but I've been waiting to recompile until the next

Re: Gauntlet app on ios appstore

2012-09-28 Thread Colin Holgate
I pointed this out to Ben long ago, and I thought he was going to check into why it was that Sheep Herder works and Gauntlet doesn't. Not sure what the cut off point is. On Sep 28, 2012, at 2:18 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 9/28/12 12:42 PM, Colin Holgate wrote: The

Re: Apologies 2 liveCode problems

2012-09-28 Thread J. Landman Gay
On 9/28/12 10:10 AM, Lars Brehmer wrote: I would like to apologize for the tone of my post about the subscriber list earlier this week. No problem, I think many of us have had that happen and we know it's frustrating. 1. I can't seem to set the textFont of fields to unicode. I doesn't work

Testing apps

2012-09-28 Thread Andrew Henshaw
Just a thought thats been brewing and brought to the front of my mind with the recent iPhone launch and the 'apps failing to launch' issues thats affected some apps. Whilst its impossible for us all individually to own and test on every make and model of device, it might be good if we could

RE: Testing apps

2012-09-28 Thread Ralph DiMola
Andrew, Count me in for a test group. By the way there are no uuid, crazy provisioning profiles, app loaders or iTune deals for Android. You just build/load/launch to any devicePERIOD Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original

Re: If construction bug in 5.5.2 ?

2012-09-28 Thread Robert Presender
Thanks to Bob S, Mark S and Thierry for your help. It and = can be used. The lock and unlock messages did the trick. Mark-- thanks for the info re select difference in 5.5.2 which required the lock stuff. I finally came up with: on openField answer information Want to enter a new value?

Re: artificially causing a field to be left in a script

2012-09-28 Thread Dr. Hawkins
On Fri, Sep 28, 2012 at 9:34 AM, Bob Sneidar b...@twft.com wrote: What I learned from an old multiuser accounting program was to maintain some kind of counter column, incrementing it (or resetting it when it gets to the highest value) whenever an update occurs. Before the write, but after you

Re: Android, Ubuntu, and the JDK

2012-09-28 Thread Dr. Hawkins
On Thu, Sep 27, 2012 at 9:30 AM, Bob Sneidar b...@twft.com wrote: How is it, after all these years, 64 vs. 32 bit is still biting us in the butt? (Or should it be butting us in the bit?) Just a rhetorical query. And why aren't we being pestered with 128 bits? [*Ducks and runs*] -- Richard E.

head spinning over datagrids

2012-09-28 Thread Dr. Hawkins
And then gmail ate my message, with no saved version??? Anyway, let's see if I can remember all of this. It seems that the file LiveCode_Data_Grd.pdf is what passes for documentation for datagrids? Or is there some other manual out there that actually documents it? This seems to be a situation

Performance issues with animations in iOS standalones built with version 5.5.2

2012-09-28 Thread Ralf Bitter
I am experiencing choppy animation using AnimationEngine 5 in iOS standalones built with version 5.5.2. If I build using LiveCode version 5.5.1 and exactly the same stack, animations are smooth. So there must have something changed affecting object animation. Could this be related to the

Re: head spinning over datagrids

2012-09-28 Thread Bob Sneidar
http://lessons.runrev.com/ Down at the bottom, everything most people want to know about datagrids with lessons, examples and an API. I have a whole bookmark folder on Livecode and LC related stuff, in a book mark bar in my browser. That way I have one place to go for reference material. Bob

Re: If construction bug in 5.5.2 ?

2012-09-28 Thread Peter Haworth
I tried this with 5.5.0, 5.0 and 4.6 and they all behaved the same as 5.5.1 so I assume that was correct behavior before 5.5.2. I don't see any mention of a change in select/openField behavior in the 5.5.2 release notes so is this a bug? Pete lcSQL Software http://www.lcsql.com On Fri, Sep

Re: head spinning over datagrids

2012-09-28 Thread Bob Sneidar
Datagrids have a distinct advantage over normal LC field objects in several areas. First, there is included a method for displaying huge amounts of data beyond what a normal field could handle. Secondly, you get a LOT more control about how to format and display the data. Things you would think

Re: More weirdness

2012-09-28 Thread Peter Haworth
Thanks for the suggestions. I painstakingly went through my code starting at the last line and working back from there, setting a red dot breakpoint on each line, then seeing if that point was reached. I finally discovered that the last line of code that is executed successfully is go stack

Re: More weirdness

2012-09-28 Thread Mark Wieder
Peter Haworth pete@... writes: I finally discovered that the last line of code that is executed successfully is go stack tStack, where tStack contains a valid file path as returned in the it variable after the user selects a file from a dialog. Something in the (pre)openstack/card chain is

pixelScale?

2012-09-28 Thread Richard Gaskin
I finally got a chance to review the v5.5.2 notes for Android, and it seems there's still no pixelScale or pixelDensity function - is that correct? Given that it's a one-liner in the Android API and how essential it is in developing for that platform, I'm hoping I've just missed something.

Re: pixelScale?

2012-09-28 Thread Richard Gaskin
Follow-up on a possible workaround just in case we still don't have a pixelScale function: The docs note that we can get the screeRect and workingScreenRect functions, which will tell us the difference between the two which is the height of the Status bar... So given that the Status bar is

Re: pixelScale?

2012-09-28 Thread Monte Goulding
Is it in as a feature request? I cant remember. That seems to be a great way to get attention these days. I had one awaiting build within 24 hours yesterday! When I get an externals sdk I'll make this my first toy if its not in the engine by then. Cheers -- M E R Goulding Software

Re: pixelScale?

2012-09-28 Thread Monte Goulding
Yes, some devices don't include the status bar in the screenRect. My prime doesn't. -- M E R Goulding Software development services mergExt - There's an external for that! On 29/09/2012, at 10:23 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Follow-up on a possible workaround just in

Re: pixelScale?

2012-09-28 Thread Scott Rossi
Hi Richard: This was discussed as option on the list a few months back, but the height of the status bar is not reliable, mostly because of all the various OEM themes applied on top of Android. If you search the archives, you can probably dig up the details. If it hasn't been added yet,

Re: If construction bug in 5.5.2 ?

2012-09-28 Thread J. Landman Gay
On 9/28/12 6:33 PM, Peter Haworth wrote: I tried this with 5.5.0, 5.0 and 4.6 and they all behaved the same as 5.5.1 so I assume that was correct behavior before 5.5.2. I don't see any mention of a change in select/openField behavior in the 5.5.2 release notes so is this a bug? Seems like it

Re: head spinning over datagrids

2012-09-28 Thread Mark Wieder
Doc- Friday, September 28, 2012, 3:49:44 PM, you wrote: It seems that the file LiveCode_Data_Grd.pdf is what passes for documentation for datagrids? Or is there some other manual out there that actually documents it? Invest $45 in DataGridHelper. You'll save a lot of aggravation trying to

Re: pixelScale?

2012-09-28 Thread Monte Goulding
It's slightly more complicated because for some reason android devices might have a different dpi in width and height. So we need xdpi and ydpi. Or maybe given its unlikely to be all that critical the. Maybe an average of the two. Cheers -- M E R Goulding Software development services mergExt

Re: pixelScale?

2012-09-28 Thread Scott Rossi
Wow, Monte, I haven't heard of this before, and I don't believe Google makes any mention of this in their resolution development notes. Do you have any links/pointers to devices that have this kind of display? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX Design On

Re: pixelScale?

2012-09-28 Thread Monte Goulding
Google assumes we are all working in java where the density is abstracted into 4 common plus a couple of less common density groups. LiveCode doesn't do that abstraction for us so we get the actual pixels on screen. The DisplayMetrics class has a density property which gives you the abstracted

connecting to mysql

2012-09-28 Thread Mark Smith
Hi, I'm looking for a test site I could use to test some code. I've got the following working for a localhost config but am getting an error connecting to the remote host at www.runrev.com. Does anyone have another remote site I could test this with? on mouseUp  -- use a global variable to