Re: Dropbox in livecode

2013-06-13 Thread Monte Goulding
On 14/06/2013, at 4:10 PM, Thierry Douez wrote: > ​Umm, is that too much asking where we can find this new sdk ? It's in the github repo for livecode... a folder named lcidl To get it working on OS X you need to create an iOS external project then add a bundle target. However to get a version

Re: Dropbox in livecode

2013-06-13 Thread Thierry Douez
​Hi Monte,​ 2013/6/14 Monte Goulding > > > The other thing I've been doing is playing with OS X externals using the > new externals sdk which after a bugfix to the engine from RunRevMark is > working pretty nicely so mergAV, mergAWS and possibly some others (maybe > the forthcoming mergSocket..

Re: Dropbox in livecode

2013-06-13 Thread Monte Goulding
On 14/06/2013, at 12:34 PM, Ralph DiMola wrote: > What's the current scuttlebutt on Android Externals? Well... at the moment I'm working out how to do old style externals for android... I've got it working for iOS with mergJSON and it looks like I can do the same for android once I work out th

RE: Dropbox in livecode

2013-06-13 Thread Ralph DiMola
Monte, What's the current scuttlebutt on Android Externals? 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 Monte Goulding Sent: Thursday, June 13, 2013 7:

Re: 6.1

2013-06-13 Thread Monte Goulding
The thing about the propertyNames of object type property is that basically it would just be maintaining a list in the engine rather than in the docs or IDE or something.. There's no real way to inspect an object type to see what properties it has... Other than one idea I have of parsing over th

Re: 6.1

2013-06-13 Thread Mark Wieder
Pete- Thursday, June 13, 2013, 1:06:13 PM, you wrote: > There's been discussion recently on what the purpose of the developers list > is. I think discussion of contributed engine and IDE changes is a perfect > use for it. I disagree because not everybody's on that list. I don't know what the fut

Re: 6.1

2013-06-13 Thread Peter Haworth
OK, I can live with adding those to my list of properties manually for now. Hopefully, the movement to improve "the propertynames" will gather steam so it won;t be necessary to use the properties t get a list of property names for an object. Pete lcSQL Software On Thu, Ju

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Dar Scott
Would a timeout you control be satisfactory? I was picturing LAN rather than VPN, so I was imagining a 50 ms timeout, but maybe you will need a second. The timeout spec for Windows ping has ms resolution. The timeout for OS X ping has a second resolution. You can try the arp test first.

Re: 6.1

2013-06-13 Thread Monte Goulding
On 14/06/2013, at 9:37 AM, Peter Haworth wrote: > Thanks Monte. That code also shows me the various synonyms for the color > properties. > > I don't understand the code well enough to figure this out so I have to ask > if this change will now return the unicode variants if they are not set? > R

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Daryl Williams
If I am understanding correctly you might try using either the netstat or route commands to find your default gateway, and if there is none then save things to the local database. The problem with this approach will be determining the right syntax to use for the current platform your code is r

Re: 6.1

2013-06-13 Thread Peter Haworth
Thanks Monte. That code also shows me the various synonyms for the color properties. I don't understand the code well enough to figure this out so I have to ask if this change will now return the unicode variants if they are not set? Remember, it's the names I'm interested in, not the values. P

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Dr. Hawkins
On Thu, Jun 13, 2013 at 3:11 PM, Daryl Williams wrote: > It sounds like what you are really looking for is a local gateway to get to > the Internet, and to where ever the time entries are made? No; actually the opposite. If I have a connection, presumably by vpn (this is for postgres), I want t

Re: Dropbox in livecode

2013-06-13 Thread Monte Goulding
On 14/06/2013, at 8:33 AM, "Gerry Orkin" wrote: > Monte has a Dropbox iOS external. Yes indeed... and when 6.1 is released I will release mergDropboxSync which makes the whole thing a walk in the park... -- Monte Goulding M E R Goulding - software development services mergExt - There's an e

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Mark Wieder
Dr. Hawkins writes: > > On Thu, Jun 13, 2013 at 2:13 PM, wrote: > > Would the "openSockets" function do what you need? Not as direct as what > >OS9 could do, but those days are over. And I am sure there must be an > >appleScript gadget that could query the network. > > But that only handles c

greetings.

2013-06-13 Thread patricia moy
http://meatandeggfree.com/gemwpk/wltgnmn/all/yolrrmh/cktmq.ranafa ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listin

Re: Dropbox in livecode

2013-06-13 Thread Gerry Orkin
Monte has a Dropbox iOS external.  ​Gerry On Fri, Jun 14, 2013 at 7:44 AM, Mark Wieder wrote: > Mike Kerner writes: >> I'm doing this right now, and going back and forth with iOS, as well. > 1. Are you doing this to a local dropbox folder, or to the web? > 2. To your own dropbox or to someone

Re: 6.1

2013-06-13 Thread Monte Goulding
On 14/06/2013, at 6:40 AM, Monte Goulding wrote: > the properties property has been broken and unattended for many years... the > whole point was to fix it not break it more! Here you go... https://github.com/montegoulding/livecode/commit/d3d8b294b9332f1e5e3f64f332247e29946d9c19 -- Monte Gou

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Daryl Williams
It sounds like what you are really looking for is a local gateway to get to the Internet, and to where ever the time entries are made? It is a convention may administrators use to put gateways at either end of the local network, i.e. nnn.nnn.nnn.1 or nnn.nnn.nnn.255, but you would still need t

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Dar Scott
> What I'm really looking at is a laptop that spends some of its time in > the office, but also goes to court, where an attorney may want to make > time entries. > > At that point, I'd like the laptop to simply figure out where it is > without waiting for a timeout. Windows has this swoon-awful

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Dr. Hawkins
On Thu, Jun 13, 2013 at 2:13 PM, wrote: > Would the "openSockets" function do what you need? Not as direct as what >OS9 could do, but those days are over. And I am sure there must be an >appleScript gadget that could query the network. But that only handles connections already open, doesn't it?

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Dar Scott
On Jun 13, 2013, at 3:02 PM, Dr. Hawkins wrote: > Is there a *fast* way to see if another machine is currently on the > local network, by name (somemachine.local) or otherwise, from within > livecode? > > There's always sending a message and waiting for it to hang, but I'd > like something that

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Daryl Williams
According to the the dictionary: openSockets: Returns a list of the currently open sockets. I believe they mean on the localhost, although it doesn't specifically say so. I think you will need to use the shell command to ping whatever address(es) you had in mind. On a class C, or 24 bit CIDR

Re: Dropbox in livecode

2013-06-13 Thread Mark Wieder
Mike Kerner writes: > I'm doing this right now, and going back and forth with iOS, as well. 1. Are you doing this to a local dropbox folder, or to the web? 2. To your own dropbox or to someone else's? -- Mark Wieder mwie...@ahsoftware.net ___ u

Re: a *fast* check for whether another machine is on the local network?

2013-06-13 Thread dunbarx
Richard. Would the "openSockets" function do what you need? Not as direct as what OS9 could do, but those days are over. And I am sure there must be an appleScript gadget that could query the network. Craig Newman -Original Message- From: Dr. Hawkins To: How to use LiveCode Sent:

a *fast* check for whether another machine is on the local network?

2013-06-13 Thread Dr. Hawkins
Is there a *fast* way to see if another machine is currently on the local network, by name (somemachine.local) or otherwise, from within livecode? There's always sending a message and waiting for it to hang, but I'd like something that happens quickly. -- Dr. Richard E. Hawkins, Esq. (702) 508-8

Re: Dropbox in livecode

2013-06-13 Thread Mike Kerner
I'm doing this right now, and going back and forth with iOS, as well. On Thu, Jun 13, 2013 at 3:49 PM, Matthias Rebbe < matthias_livecode_150...@m-r-d.de> wrote: > Hi Tom, > > Guglielmo Braguglia published a dropbox library some time ago. > > http://www.phoenixsea.ch/downloads/Livecode/phxDropbo

Re: 6.1

2013-06-13 Thread Monte Goulding
On 14/06/2013, at 3:05 AM, "J. Landman Gay" wrote: > This is a good example of why contributors need to be especially careful not > to change or break existing behaviors. RunrevMark does a very good job of > monitoring that, but this one slipped by. It hasn't slipped by it just wasn't clearl

Re: 6.1

2013-06-13 Thread Peter Haworth
There's been discussion recently on what the purpose of the developers list is. I think discussion of contributed engine and IDE changes is a perfect use for it. Forums are fine but they require an active effort to go look at them whereas the email lists just turn up. I think that's been discusse

Re: 6.1

2013-06-13 Thread Mark Wieder
Richmond writes: > but I cannot understand why it might leave out some of those listed in 4.5 It sometimes helps to read a thread before responding. tl;dr: it's a work in progress. -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing l

Re: Dropbox in livecode

2013-06-13 Thread Matthias Rebbe
Hi Tom, Guglielmo Braguglia published a dropbox library some time ago. http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip Regards, Matthias Am 13.06.2013 um 21:21 schrieb Thomas McGrath III <3mcgr...@comcast.net>: > Is it possible to directly load a text file stored on dropbox int

Re: Dropbox in livecode

2013-06-13 Thread Scott Rossi
Hi Tom: Am pretty sure files in the Public folder allow direct access. Last I checked (v1.x), you had to use a full file path; you couldn't access a folder and get a list of files -- not sure if they changed this with 2.0. AFAIK, other files are not available without going through Web sharing. R

Dropbox in livecode

2013-06-13 Thread Thomas McGrath III
Is it possible to directly load a text file stored on dropbox into LC for processing then change that info and re-upload to the same file on dropbox??? The share link from dropbox is to a web addy that includes a link to download the file instead of a direct link to the file itself. Tom Thoma

Re: 6.1

2013-06-13 Thread Richmond
On 06/12/2013 11:03 PM, Peter Haworth wrote: Just read the release notes for 6.1, some nice stuff in there - I really like the new pageRange property. However, I'm not so happy about the properties changes, at least until I check them out and see exactly what the changes are. It sounds like "th

Re: [OT] Change Default Finder View On OS X?

2013-06-13 Thread Scott Rossi
[ forehead smack #6,437 ] Thanks Mike Bonner, knew it had to be something simple. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/13/13 11:24 AM, "Mike Bonner" wrote: >If its the same as mountain lion, go to preferences for finder, general >tab, mid way down change "

Re: 6.1

2013-06-13 Thread Dar Scott
Maybe one stage in discussion might be an entry or notice in some declaration web pages. It might be easy to find proposed changes and there might be some easy name for the list, like "green pages" or "bust notices". I have said too much for one not volunteering. Dar On Jun 13, 2013, at 1

Re: [OT] Change Default Finder View On OS X?

2013-06-13 Thread Mike Bonner
If its the same as mountain lion, go to preferences for finder, general tab, mid way down change "New Finder Windows Show:" to whatever you wish to be default. On Thu, Jun 13, 2013 at 12:20 PM, Scott Rossi wrote: > ( On OS X Lion ) > Anybody know if it's possible to change the default window con

[OT] Change Default Finder View On OS X?

2013-06-13 Thread Scott Rossi
( On OS X Lion ) Anybody know if it's possible to change the default window contents when opening a new Finder window? Every time I launch a new window, the Finder defaults to showing "All My Files". This would be fine except it includes email messages, which numbers over 10,000 and can take seve

Re: 6.1

2013-06-13 Thread J. Landman Gay
On 6/13/13 11:38 AM, Peter Haworth wrote: I contributed to the discussion on the engine forum, as Monte is suggesting, but the change went ahead anyway, This is a good example of why contributors need to be especially careful not to change or break existing behaviors. RunrevMark does a very g

Re: Truncate Text Based On Available Space?

2013-06-13 Thread J. Landman Gay
On 6/13/13 9:54 AM, Jan Schenkel wrote: That's why for the pageRanges property, I limited myself to figuring out how the pageHeights property worked and taking it from there. If I had started dissecting the whole thing I might have given up or maybe you would have found me sobbing in a corner

Re: 6.1

2013-06-13 Thread Peter Haworth
In response to the various posts. My need is to get the names of all the properties of any given object, not necessarily the values. As far as I know, the only way to do that is to get the properties of the object and then get the keys of the result. So yes, an extension to the propertynames as

RE: change orientation on just one card

2013-06-13 Thread Ralph DiMola
I found that (at least on mobile) pass is always a good idea for pre/open/resize handlers. For example I found if did not pass resizestack... In iOS the page just flipped hard and did not smoothly rotate. Also things would sometimes go sideways if didn't pass preopencard and opencard. So. I st

Re: change orientation on just one card

2013-06-13 Thread Thomas McGrath III
PASS seems to help a lot when working with many libraries. ;-) But tracking down the messages path for this with locked libraries is a real pain. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 13, 2013, at 12:04 PM, Dar Scott wrote: > Maybe PASS in such handlers is a g

Re: change orientation on just one card

2013-06-13 Thread Dar Scott
Maybe PASS in such handlers is a good habit. I'm not sure. Dar On Jun 13, 2013, at 9:04 AM, Thomas McGrath III wrote: > FYI, I had a library interrupting the preOpenCard handler and so was not > getting the expected results that I needed. It is fixed now and this works as > expected for me.

Database connection fails using community server 6.0.2

2013-06-13 Thread Ralf Bitter
Has anyone been able to connect successfully to a MySQL / PostgreSQL database using the community edition of LiveCode server 6.0.2? Replaced version 6.0.0-rc-1 with the community version. Since then I am unable to establish a database connection. (Permissions are correct) Ralf

Re: XML and Unicode

2013-06-13 Thread Dar Scott
You can often find the encoding of an XML file in the XML declaration. Look for the encoding attribute: Or, since you say "specific", assume what you think is right. Converting to your native encoding is lossy. You might lose characters. You can check that by converting back and seeing if

RE: change orientation on just one card

2013-06-13 Thread Ralph DiMola
Tom, I do this using similar code in both iOS and Android. It has given the same user experience on both platforms. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On B

Re: change orientation on just one card

2013-06-13 Thread Thomas McGrath III
FYI, I had a library interrupting the preOpenCard handler and so was not getting the expected results that I needed. It is fixed now and this works as expected for me. John, I have my set allowed in the preOpen card and it works on iOS. Which one is needed for Android??? Thanks to everyone for

Re: Truncate Text Based On Available Space?

2013-06-13 Thread Jan Schenkel
- Original Message - > From: Monte Goulding > To: How to use LiveCode > Cc: > Sent: Thursday, June 13, 2013 5:52 AM > Subject: Re: Truncate Text Based On Available Space? > > > On 13/06/2013, at 1:23 PM, J. Landman Gay wrote: > >> Dr Raney called the field object "The Beast". Time t

Re: 6.1

2013-06-13 Thread Jan Schenkel
Thanks for the positive feedback on the new pageRanges property :-)   Jan Schenkel. = Quartam Reports & PDF Library for LiveCode www.quartam.com = "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) - Original Message - > From: Peter

Re: 6.1

2013-06-13 Thread Dar Scott
Perhaps, for me, a table in the dictionary or a good book would suffice for displaying all properties of an object. It doesn't have to be a function. There are advantages of a function that I might exploit, but I'm always reluctant to add new things. Dar On Jun 12, 2013, at 7:44 PM, Dar Sc

Re: XML and Unicode

2013-06-13 Thread Pascal Lehner
Thanks, that works perfectly :-) I did not try using decode and encode at the same time.. Pascal On 13 June 2013 15:08, Mark Schonewille wrote: > Hi Pascal, > > Read the data as binary and convert it. > > put url "binfile:folder/file.xml" into myData > put uniDecode(uniEncode(myData,"UTF8"))

Re: XML and Unicode

2013-06-13 Thread Mark Schonewille
Hi Pascal, Read the data as binary and convert it. put url "binfile:folder/file.xml" into myData put uniDecode(uniEncode(myData,"UTF8")) into myData -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.

AW: XML and Unicode

2013-06-13 Thread Tiemo Hollmann TB
You could try: put unidecode(uniencode(tContents,"UTF8"),"english") into tContents where tContents is what you have read from your XML file. Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Pascal Lehner > Gesendet: Donn

XML and Unicode

2013-06-13 Thread Pascal Lehner
Hi everyone, I am working on small tool to convert a specific XML file into several html pages. The whole thing looks good and should be working fine eventually. However, there is one thing I did not figure out yet: Unicode. My XML is partially french and has a lot of symbols like this: Pe

Re: Android and iOS embedded fonts used in native browser control.

2013-06-13 Thread Paul Maguire
Hey Ralph. I prepped some bits yesterday but haven't filed anything (never actually filed a LC bug report). I have had no time at all in past 2 days - sorry. If you are up for it, please use my example by all means. Thanks again for your help on this. Btw in my Android porting I'm coming acr