Running standalone on 64 bit Linux

2011-06-02 Thread David Beck
Hello everyone, I am having some very weird, inconsistent and difficult to track problems running a LiveCode standalone on a 64 bit Linux machine with a 32 bit compatibility layer. As far a I can tell, the wierdness is associated with tricky things like regular expressions and getting the

Re: How to obtain browser version in web app?

2011-06-02 Thread Martin Baxter
Hi Kee, You have to parse out the HTTP_USER_AGENT string yourself I think This old test script might get you started: ?rev put $_SERVER[HTTP_USER_AGENT] into tua put offset(MSIE,tua) into tie put offset(Safari,tua) into tmac put offset(Opera,tua) into topera put offset(Gecko/,tua) into tgecko

Re: How to obtain browser version in web app?

2011-06-02 Thread Martin Baxter
On second thoughts I should have had my coffee before replying as you are talking about a stack not an irev script and my reply is irrelevant. In the revlet case I can't recall if there is a simple way off the top of my head. It is possible, but awkward to get the user agent from javascript and

Re: [ANN] iPhone Control Kit 0.1.0

2011-06-02 Thread Ludovic Thébault
Le 1 juin 2011 à 17:41, Andreas Rozek a écrit : Hello! I would like to introduce my current project: The iPhone Control Kit for LiveCode contains numerous LiveCode objects which emulate the Look-and-Feel of native iPhone controls and, thus, simplifies the development of native

Datagrids arrays

2011-06-02 Thread Van Brollini
I have a datagrid with 1250 rows and 28 columns. The first 13 columns are data to be operated on. The last 15 columns are where the calculations are to be placed. I have gone through the datagrid manual and it is still fuzzy on how to get data OUT of the datagrid to do the calculations and then

RE: eBooks and LiveCode

2011-06-02 Thread FlexibleLearning
Absolutely agree with you, Steve. I wrote 'HyperManuscript' back in 1986 in conjunction with Roehampton Institute here in the UK. Far too much before its time, though. The problem now is one of critical mass... As you and Andre both point out, there are now a couple of entrenched standards so the

Re: Datagrids arrays

2011-06-02 Thread dunbarx
Use the dgText property. You can operate on this data in a script, and then reset. Craig Newman -Original Message- From: Van Brollini analog_t...@runbox.com To: use-livecode@lists.runrev.com Sent: Thu, Jun 2, 2011 5:26 am Subject: Datagrids arrays I have a datagrid with 1250

Re: How to obtain browser version in web app?

2011-06-02 Thread Andre Garzia
you can use javascript and do in browser command to get the browser version. On Thu, Jun 2, 2011 at 5:17 AM, Martin Baxter mblivec...@harbourhosting.co.uk wrote: On second thoughts I should have had my coffee before replying as you are talking about a stack not an irev script and my reply is

Re: How to obtain browser version in revWeb app?

2011-06-02 Thread Andre Garzia
what he said! On Wed, Jun 1, 2011 at 10:24 PM, Mike Bonner bonnm...@gmail.com wrote: You can do this. do result = navigator.appName in browser at which point the result will contain Microsoft Internet Explorer if thats the browser in use. result = navigator.userAgent returns.. ;

Re: Datagrids arrays

2011-06-02 Thread Bob Sneidar
I agree that dgText is a good way to start, but sometimes parsing the data in a single variable can be more coding than working with arrays. If you have either of the two excellent debuggers (GLX2 and Remo come to mind) try getting the dgData, set a breakpoint, and then examine the structure

Re: How to obtain browser version in revWeb app?

2011-06-02 Thread Kee Nethery
way cool! Thanks, kee On Jun 1, 2011, at 6:24 PM, Mike Bonner wrote: You can do this. do result = navigator.appName in browser at which point the result will contain Microsoft Internet Explorer if thats the browser in use. result = navigator.userAgent returns.. ; Trident/5.0; SLCC2;

Re: [ANN] sunnYmidi: Script your sounds

2011-06-02 Thread Judy Perry
Thanks for the heads-up, Jacque. Somehow I missed this! Judy On Wed, 1 Jun 2011, J. Landman Gay wrote: On 6/1/11 3:15 AM, Thierry Douez wrote: Hi all, I am pleased to announce SunnYmidi. SunnYmidi is a simple and powerful tool to help LiveCode Users add sounds to their stack. I've seen

Re: CloseCard Handler

2011-06-02 Thread Warren Kuhl
Richard, Thanks...I will check it out. I never saw that one...but it makes sense. Appreciate your help! Warren On Thu, Jun 2, 2011 at 1:32 PM, Richard Gaskin ambassa...@fourthworld.com wrote: Warren Kuhl wrote: When the user closes the application, I have a check in place within the on

How to to ell if a stack is loaded as a plugin

2011-06-02 Thread Todd Geist
Hello, I am looking for a good way to determine an open stack is a plugin. Right now I am just checking to see if the folder the Stack is in is called plugin. This sort of works, but If a stack happens to be in a folder that is named plugins, but I opened normally (ie not through the plugin

Re: CloseCard Handler

2011-06-02 Thread Richard Gaskin
Warren Kuhl wrote: When the user closes the application, I have a check in place within the on closecard handler to see if they saved the document. If they didn't save the document, I give the user to option to save, don't save or cancel. On the cancel, I just want the application to stay

Drag a window without a title bar

2011-06-02 Thread Bill Vlahos
I have a stack that uses the windowshape property so it no longer has the title bar. What is the handler I should use to allow the user to drag the stack around? I have a background image that the user could click and drag for moving the window. Thanks, Bill Vlahos

Re: How to to ell if a stack is loaded as a plugin

2011-06-02 Thread Richard Gaskin
Todd Geist wrote: I am looking for a good way to determine an open stack is a plugin. Right now I am just checking to see if the folder the Stack is in is called plugin. This sort of works, but If a stack happens to be in a folder that is named plugins, but I opened normally (ie not through

Re: Drag a window without a title bar

2011-06-02 Thread Marty Knapp
Hey Bill, I use the following - probably gleaned from Scott Rossi. Put it in the stack or card script: local allowDrag on mouseEnter put into allowDrag end mouseEnter on mouseDown if word 1 of the target = card then put mouseLoc() into allowDrag end mouseDown on mouseMove X,Y if

Re: Drag a window without a title bar

2011-06-02 Thread Mark Schonewille
Bill, here's mine... on mouseDown if button is not in the name of the target then grabWindow else pass mouseDown end mouseDown on grabWindow if the platform is MacOS and (the decorations of the \ defaultStack contains title or the decorations of the \

Re: Drag a window without a title bar

2011-06-02 Thread Mark Schonewille
Hi Marty, The problem with your solution is that there is a lag between the window location and the mouseLoc. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553

resumeStack and revBrowser

2011-06-02 Thread Slava Paperno
As far as I can tell, when you have a revBrowser window on the screen, and you click in the revBrowser window, then click anywhere outside revBrowser, the stack receives the resumeStack message. Can someone confirm? I was using an on resumeStack handler to initialize things as I switch from

revBrowser's htmltext property for Unicode text

2011-06-02 Thread Slava Paperno
When my revBrowser instance displays a UTF-8 Web page, and I look at the value returned by revBrowserGet(instanceID htmltext), I think all double-byte characters are replaced with question marks. I think the same is true of the revBrowser selected property. Could someone please confirm? I don't