Re: IDE: find a string in a field

2015-05-27 Thread J. Landman Gay
On 5/27/2015 8:28 PM, Mark Wieder wrote: On 05/27/2015 05:40 PM, Alex Tweedly wrote: I'm on Mac OSX. cmd-f does pop-up a dialog, and allows me to set the scope (tab, card, stack, all stacks, etc.) - but nowheere (that I can see) does it give me a checkbox for "field text" ? Am I just blind to it

RE: gps tracker

2015-05-27 Thread Ralph DiMola
Glad you got it working. I was just thinking earlier that that might be the problem but I got side tracked. Well it's working now Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists

Re: Livecode listener

2015-05-27 Thread Mike Bonner
Skip, Here is a simple but working example of a clipboard listener. To test I just placed the code in a button so that I could easily toggle it on and off. Its an very quick draft, but hey. It works. # local sRunning,sLastClipA -- mouseup toggles the loop on and off on mouseUp

Re: IDE: find a string in a field

2015-05-27 Thread Mark Wieder
On 05/27/2015 05:40 PM, Alex Tweedly wrote: I'm on Mac OSX. cmd-f does pop-up a dialog, and allows me to set the scope (tab, card, stack, all stacks, etc.) - but nowheere (that I can see) does it give me a checkbox for "field text" ? Am I just blind to it (quite possible) ? :-) Close the script

Re: gps tracker

2015-05-27 Thread Alex Shaw
Silly me. Finally read the tutorial on the livecode site.. http://lessons.runrev.com/m/4069/l/30379-how-do-i-get-the-location-and-use-the-digital-compass One needs to start the tracking sensor (mobileStartTrackingSensor) before readings are available. Makes sense and now working. regards ale

Re: IDE: find a string in a field

2015-05-27 Thread Alex Tweedly
I'm on Mac OSX. cmd-f does pop-up a dialog, and allows me to set the scope (tab, card, stack, all stacks, etc.) - but nowheere (that I can see) does it give me a checkbox for "field text" ? Am I just blind to it (quite possible) ? :-) - Alex. On 28/05/2015 01:02, Mike Bonner wrote: In windo

Re: Location of text in a field

2015-05-27 Thread Peter Bogdanoff
Craig, I’ll try that, thanks! Peter > On May 27, 2015, at 1:35 PM, dunb...@aol.com wrote: > > Hi. > > > Would the selectedLoc help? > > > select char 3 of word 9 of fld "yourField" > answer the selectedLoc > > > Craig > > > > -Original Message- > From: Peter Bogdanoff > To: Ho

Re: IDE: find a string in a field

2015-05-27 Thread Mike Bonner
In windows, ctrl-f pops up a dialog, and you can then set the scope of the search. Make sure you check the box for "field text" On Wed, May 27, 2015 at 5:53 PM, Alex Tweedly wrote: > [ there must be an easy way to do this in the IDE, but I can't remember > it, and can't find t ] > > Somewhere in

IDE: find a string in a field

2015-05-27 Thread Alex Tweedly
[ there must be an easy way to do this in the IDE, but I can't remember it, and can't find t ] Somewhere in my stack(s) I have a field with a particular string in it - and I cannot remember what the field is called, or what group it's in. Is there a "find" variant that searches the text of fiel

RE: Livecode server

2015-05-27 Thread Ralph DiMola
Thanks Mike! How can this be so hard? (rhetorical) Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mike Bonner Sent: Wednesday, May 27, 2015 5:52 PM To: Ho

Re: Livecode server

2015-05-27 Thread Mike Bonner
Ah k. I see what you mean. The current state of the livecode site (account management stuff) is annoying. :) Either way, if you were to need a different binary, I think shooting an email to support is the way to go. On Wed, May 27, 2015 at 2:47 PM, Mike Bonner wrote: > Since its not in the path,

Native looking demo for Summer Camp

2015-05-27 Thread William Waldman
Hi All - I'm trying to entice my school into doing a "LiveCode for Apps on Android" as a Summer Camp session... I have no real "Android" or iOS "native" looking examples to show, nor a clear idea of how to do that. All I've done is port an ugly "HelloWorld" example over - all grey and nasty look

Re: Livecode server

2015-05-27 Thread Mike Bonner
Since its not in the path, if you wish to test it you need to specify where it is. The easiest way is to switch into the same directory (as you did) then prepend the command with a ./ which means current directory (the dot) then directory seperator, and the command. On Wed, May 27, 2015 at 2:27

Re: Location of text in a field

2015-05-27 Thread dunbarx
Hi. Would the selectedLoc help? select char 3 of word 9 of fld "yourField" answer the selectedLoc Craig -Original Message- From: Peter Bogdanoff To: How to use LiveCode Sent: Wed, May 27, 2015 2:21 pm Subject: Location of text in a field Hi, Is there a function that returns th

RE: Livecode server

2015-05-27 Thread Ralph DiMola
Thank Mike! This is what I get with both a 32bit and 64 bit version. It looks like diesel is 64 bit. I also can't find a 32/64 bit commercial version. On the RR website under my account there is only one link(per platform) for the commercial server. I downloaded the 64-bit community server and same

Re: Location of text in a field

2015-05-27 Thread Peter Bogdanoff
Yes! Thanks Scott. On May 27, 2015, at 11:54 AM, Scott Rossi wrote: > You might try the formattedRect property. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/27/15, 11:20 AM, "Peter Bogdanoff" wrote: > >> Hi, >> >> Is there a function tha

Re: Location of text in a field

2015-05-27 Thread Scott Rossi
You might try the formattedRect property. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/27/15, 11:20 AM, "Peter Bogdanoff" wrote: >Hi, > >Is there a function that returns the pixel location of a particular char >in a field? > >I¹m working in LC 6.1.3 to change a wh

Location of text in a field

2015-05-27 Thread Peter Bogdanoff
Hi, Is there a function that returns the pixel location of a particular char in a field? I’m working in LC 6.1.3 to change a whole bunch of long one-line fields of text to short one-line fields. As I go to LC 7, these fields are displaying text wider than before in OS X (but not Windows) and

Resolution of PDF in player object

2015-05-27 Thread dfepstein
I'm quite sure that on my PowerPC Mac a high resolution PDF in a LiveCode Player object was displayed not like a bitmap but just like it was in Preview or Acrobat.  I assume that LiveCode is tapping into QuickTime to render PDFs, so why is the PDF file's resolution degraded?  Is there any prospe

Re: Livecode server

2015-05-27 Thread Mike Bonner
OH, and you might confirm permissions (755) on the file, as well as trying to run it directly from the shell. If you can't run it from a command line that might help you track down or confirm the reason. On Wed, May 27, 2015 at 11:54 AM, Mike Bonner wrote: > Are you possibly hitting the 64bit vs

Re: Livecode server

2015-05-27 Thread Mike Bonner
Are you possibly hitting the 64bit vs 32 bit, os problem? If you're on a 64 bit os, make sure the lc server you are running is 64 bit, or that your os has the ia32 libraries. If your os is 32 bit and you grabbed a 64 bit build, the only option is to get the 32 bit version. On Wed, May 27, 2015

Re: Livecode listener

2015-05-27 Thread Mike Bonner
The code I posted still would not have worked as it was. To do the comparison and see if there is a change, you would indeed have to cycle through the keys and look for the difference. There are definitely some quirks involved here. Headed out the door, but it might be fun to mess with the clipboa

Livecode server

2015-05-27 Thread Ralph DiMola
I can get the pre-installed community version of LC server to respond using my on-rev account. A simple script to return the LC version the pre-installed LC server works. I want to use a commercial version because I have password protected scripts so I changed the .htaccess to: __

Re: Livecode listener

2015-05-27 Thread J. Landman Gay
No, you're right. I just posted a correction and then saw this reply. When testing, "is an array" returns false on the retrieved content, but when asking for each key type the values are still there. That must be why the dictionary calls it a "false array". On 5/27/2015 12:31 PM, Mike Bonner

Re: Livecode listener

2015-05-27 Thread J. Landman Gay
Oops. I said: You'll have to walk through all the keys when both retrieving and setting the array. The default when getting or setting the clipboarddata without specifying a key is to return only the plain text. The array is lost. That's wrong. Mike's right. The default is to assume text only,

Re: Livecode listener

2015-05-27 Thread Mike Bonner
Ah k, thx! Sorry for steering you slightly wrong skip. The basic premise should still work, but you'll have to jump through the extra hoops of checking the keys each time through. Should still be plenty fast. (game loops do the same thing, and do considerably more than what you're looking at whil

Re: Livecode listener

2015-05-27 Thread J. Landman Gay
You'll have to walk through all the keys when both retrieving and setting the array. The default when getting or setting the clipboarddata without specifying a key is to return only the plain text. The array is lost. On 5/26/2015 9:58 PM, Magicgate Software - Skip Kimpel wrote: Oooo... I will

that odd text property that preserves formatting on copy (like sharedText)

2015-05-27 Thread Dr. Hawkins
hours into this, I remember fighting and solving it before . . As I copy groups from one stack to another, some of the fields lose their custom properties and text formatting, but not their text. It seems to me that there was a field property that isn't in the property inspector that governs this

Re: field properties changing when group copied

2015-05-27 Thread Dr. Hawkins
On Sun, Dec 8, 2013 at 3:34 PM, Dr. Hawkins wrote: > What is particularly hitting me is the fixed line height. I have my > sharedText set, and the text survives the paste with its formatting. I set > the fixed line height to on, and 12, to match the court forms. > I just confirmed this with a

Top 10 Languages for Localizing Mobile Games (Google Play & App Store)

2015-05-27 Thread Lynn Fredricks
https://www.youtube.com/watch?t=26&v=wm5SoBGdxDU If this is your market space, then its not such a terrible thing that LiveCode supports UNICODE now :-) Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Serv

RE: gps tracker

2015-05-27 Thread Ralph DiMola
I use this every day and it works. On iOS I enable "Location Services" in the standalone settings. I DON'T enable GPS. This is because there is an outstanding bug where if the device does not have a GPS (like an iPad 2) mobileSensorReading does not work with "GPS" ticked. On Android I enable both "

Re: Anybody Hear From Jan Schenkel?

2015-05-27 Thread Mike Kerner
Please do. I've checked the blog, I've checked Twitter, etc., etc., and it looks like it's been almost 18 months since he's done anything. On Tue, May 26, 2015 at 10:25 PM, Colin Holgate wrote: > I could send him a message to contact you if you’d like? >

Re: gps tracker

2015-05-27 Thread Mike Kerner
I ALWAYS remove Exits On Suspend. As part of my little every-new-release-of-LiveCode thing, there's that, there's whatever FIXes I've submitted that aren't kid-tested/mother-approved, yet, etc. Now if we could get push working better so I could make syncing happen in the background... On Wed, Ma

Re: gps tracker

2015-05-27 Thread Alex Shaw
Hmm. I've just tried the following function by Ralph DiMola and no luck. function GetGpsCords local tGPS if not mobileSensorAvailable("location") then return empty put mobileSensorReading("location", true) into tGPS if tGPS["latitude"] is not empty and tGPS["longitude"] <> 0 then

Re: gps tracker

2015-05-27 Thread Magicgate Software - Skip Kimpel
My first stumbling block with it was that I didn't realize the data was returned in an array. Once I saw that I was able to easily parse the data and begin using it. SKIP On Wed, May 27, 2015 at 7:50 AM, Alex Shaw wrote: > Hi > > I recently tested mobileCurrentLocation() for both Android & iOS

Re: gps tracker

2015-05-27 Thread Alex Shaw
Hi I recently tested mobileCurrentLocation() for both Android & iOS on LC 7.0.5 and can't seem to get it working. Is there a good guide somewhere? The dictionary is definitely lacking in this area. regards alex On 21/05/2015 10:36 am, Richard Gaskin wrote: Roger Eller wrote: > That's what

[OT] Virtual machines and kernel 3.19

2015-05-27 Thread Richmond
So; for a variety of reasons I am, s-t-i-l-l, running 32 bit Linux (not had the time to switch over to 64 bit yet), but I am running Xubuntu 15.04 with kernel 3.19: this is a &^%$#@* as VMWare Plyer is not playing and all the "merry patch" routines touted on the internet are not helping. So, I

Re: Accursed backdrop

2015-05-27 Thread Richmond
On 27/05/15 11:19, Mark Waddingham wrote: Last time I was in Embro (about 5 year ago), I saw only Macs in their office. If that is still the case it needs to be corrected. I would recommend a fairly current PC with Debian, and another with Windows 8.1. Yes - we use Macs as the hardware for de

Re: Accursed backdrop

2015-05-27 Thread Malte Brill
Mark wrote > You don't need a PC to run Windows or Linux - just Virtual Machines. While this is certainly true, if the users are anything like me they’ll tend to stay in the VMs host OS as much as possible and only leave the comfort zone to switch to a VM whenever it is necessary / unavoidable.

Re: Accursed backdrop

2015-05-27 Thread Mark Waddingham
Last time I was in Embro (about 5 year ago), I saw only Macs in their office. If that is still the case it needs to be corrected. I would recommend a fairly current PC with Debian, and another with Windows 8.1. Yes - we use Macs as the hardware for development. The reason is simple - it is th