Save my data in Android

2014-09-23 Thread Takashi Yoshino
Hi, I would like to save my data in Android. I wrote some texts in the field in my App on Android. When I quit my App, next time the text is lost. Could you tell me how to save my text in the field on Android. Best regards, Takashi ___

Re: Is there a problem with the On-Rev email server

2014-09-23 Thread Matthias Rebbe | M-R-D
Hm, i cannot confirm this. For about 2 years now we are using the on-rev server as primary MX for our business communication (order confirmations, billing and so on) without any big problem. Before that we used the on-rev system as backup MX, also w/o any significant problems. We have enabled

Re: file size

2014-09-23 Thread Dick Kriesel
On Sep 22, 2014, at 4:33 PM, Richard Gaskin ambassa...@fourthworld.com wrote: But it really should be a one-liner OK, Richard. Here's one. -- given variable tFile, containing the name of a file in the default folder -- given variable tSize, which is where to put the size of the file get

Re: file size

2014-09-23 Thread Thierry Douez
2014-09-23 9:47 GMT+02:00 Dick Kriesel dick.krie...@mail.com: But it really should be a one-liner -- given variable tFile, containing the name of a file in the default folder -- given variable tSize, which is where to put the size of the file get matchText( the detailed files, (

Re: file size

2014-09-23 Thread JB
Can you get the creation date, modified date and type etc. without using the detailed files? And if so would it be faster than using the detailed files? I know you could get it by using NSFIlemanager. If you want the type the detailed files is not reliable. John Balgenorth On Sep 23, 2014,

launch document fails sometimes with PDFs

2014-09-23 Thread Tiemo Hollmann TB
Hello, I am using launch document to show a PDF file since long time. Sometimes on some Windows machines LiveCode doesn't find the associated program to the PDF file extension and the launch fails, though the Adobe Reader IS associated with the PDF file extension. It seems to me, that it is the

Re: [OT] A Modern Typeface For Programmers

2014-09-23 Thread Dirk prive
I use this one: https://www.google.com/fonts/specimen/Source+Code+Pro#charset Dirk Cleenwerck On Tue, Sep 23, 2014 at 7:42 AM, J. Landman Gay jac...@hyperactivesw.com wrote: This font lets you customize the line spacing, among other things. Look at the download page where you can set up

Re: Save my data in Android

2014-09-23 Thread Klaus major-k
Konichi-wa Takashi-san, Am 23.09.2014 um 08:58 schrieb Takashi Yoshino yosh...@sys.wakayama-u.ac.jp: Hi, I would like to save my data in Android. I wrote some texts in the field in my App on Android. When I quit my App, next time the text is lost. Could you tell me how to save my

Open Folder

2014-09-23 Thread JB
Is there a way to open a folder in the finder with a script? John Balgenorth ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Open Folder

2014-09-23 Thread Klaus major-k
Hi John, Am 23.09.2014 um 13:13 schrieb JB sund...@pacifier.com: Is there a way to open a folder in the finder with a script? funny enough, this does in fact work :-) ... launch document /Users/klaus/Documents ... John Balgenorth Best Klaus -- Klaus Major http://www.major-k.de

Re: Open Folder

2014-09-23 Thread JB
Thanks for the fast reply and info, Klaus. I never thought of trying it and I was using the launch command yesterday. John Balgenorth On Sep 23, 2014, at 4:23 AM, Klaus major-k kl...@major-k.de wrote: Hi John, Am 23.09.2014 um 13:13 schrieb JB sund...@pacifier.com: Is there a way to open

Re: How to create an OS X 10.9 alias by script?

2014-09-23 Thread Paul Dupuis
On 9/22/2014 9:35 PM, Mark Wieder wrote: Paul- Monday, September 22, 2014, 8:01:33 AM, you wrote: command CreateOSXDockAlias pDockItem -- pDockItem is the fill path and name of the app Wow. That's impressive. Well, not really. The technique was found with a fairly easy Google search. And

Small code: leap year

2014-09-23 Thread Geoff Canyon
I came across http://exercism.io/about It's an interesting site for developers to improve their skills with simple problems and organized peer review. One of the simpler challenges is writing a function to return whether a year is a leap year. I wrote this: function isLeapYear Y return Y mod 4

Re: mobilepick as a live list

2014-09-23 Thread Mike Kerner
I wonder if I make the rectangle translucent if the effect would be better. H On Tue, Sep 23, 2014 at 1:43 AM, Gerry gerry.or...@gmail.com wrote: Mike Kerner wrote: Ooh. I didn't think of that. So just make the DG visible? How do you disable all the other controls while the DG

Re: [OT] A Modern Typeface For Programmers

2014-09-23 Thread Mike Kerner
I like this one even better than SCP. On Tue, Sep 23, 2014 at 6:08 AM, Dirk prive dirk.cleenwe...@gmail.com wrote: I use this one: https://www.google.com/fonts/specimen/Source+Code+Pro#charset Dirk Cleenwerck On Tue, Sep 23, 2014 at 7:42 AM, J. Landman Gay jac...@hyperactivesw.com wrote:

Constraining window dimensions proportionally while resizing

2014-09-23 Thread Devin Asay
Hi all, I just posted this question on stackoverflow. But I thought I’d ask it here where I think I’ll get some great answers, and hopefully a good answer can get posted back to stackoverflow to make the answer more widely accessible to web searches. In a LiveCode project I want the end user

Re: Constraining window dimensions proportionally while resizing

2014-09-23 Thread Roger Eller
I've never seen the window constrained while resizing, but you should be able to look at the larger dimension after a resizeStack, and snap the other dimension to a calculated size. Pretty quick, but not in realtime. ~Roger On Tue, Sep 23, 2014 at 11:25 AM, Devin Asay devin_a...@byu.edu wrote:

Re: RELEASE: LiveCode 7.0 RC 2

2014-09-23 Thread Peter Bogdanoff
OS X: System SettingsSecurity PrivacyAllow apps downloaded fromAnywhere On Sep 22, 2014, at 11:31 AM, Terence Heaford t.heaf...@btinternet.com wrote: “Install LiveCode Community 7.0 (rc 2)” can’t be opened because the identity of the developer cannot be confirmed. “Install LiveCode

Re: Constraining window dimensions proportionally while resizing

2014-09-23 Thread Scott Rossi
Hi Devin: One way to do this is to use a dedicated object for the resizer and to calculate the new dimensions before resizing the stack. Execute this in your message box: go url http://www.tactilemedia.com/download/constrained.livecode; This demonstrates one way to do a 4 x 3 ratio stack. I'm

Re: Constraining window dimensions proportionally while resizing

2014-09-23 Thread BNig
Hi Devin, I am with Roger on this. here is a little code snippet that does constrain the aspect after resizing --- on resizeStack pNewWidth, pNewHeight, pOldWidth, pOldHeight -- block repeat loop if you want to have all the changes

Re: Is there a problem with the On-Rev email server

2014-09-23 Thread J. Landman Gay
On 9/23/2014, 2:10 AM, Matthias Rebbe | M-R-D wrote: I am not sure that just using an other ISP´s smtp system would avoid such a problem. It´s a general problem of all shared mail servers. Even if YOU are using that system for normal email communication, it is not granted that this problem

If your stack uses QT...

2014-09-23 Thread J. Landman Gay
Just a heads up in case your project depends on QuickTime like mine does. The new default in LC 7 is not to set QT to load automatically as it used to do. The reason makes sense to me: QT is now deprecated and apps that use it will no longer be accepted into the App Store. I was thrown off

On-Rev Secure WebDisk Problems?

2014-09-23 Thread Rick Harrison
Hi there, Is anyone else having problems accessing their Secure WebDisk on the tio server? It would be nice to know that it isn’t just me, so we could get this problem fixed sooner if possible. Thanks, Rick ___ use-livecode mailing list

Re: Constraining window dimensions proportionally while resizing

2014-09-23 Thread dunbarx
Devin, I see you have some feedback, but do any of these address what I thought was your real question, that is, to constrain while dragging? It seems that trapping the resizeStack message, which acts sort of like the mouseMove message in that it is sent with every nudge of the stack size

Re: Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-23 Thread sty...@roguemusic.com
Thanks for the input but no solution yet. The user has admin privileges and the app can create and write new files to its default folder with no problem. Escape key doesn’t seem to make a difference, but what is it supposed to do anyway? Maybe there’s something there. For whatever reason, it

Delay After mobilePhotoPickPhoto?

2014-09-23 Thread Scott Rossi
I have app in which I'm using mobilePickPhoto to pull an image into a stack from the user's photo library. Once a (large) photo is chosen it can take several seconds for the photo to be available on the card. The problem is, there's doesn't seem to be any way to display a wait or progress

sort lines by length

2014-09-23 Thread larry
Hello, this line doesn't work: sort lines of field myField by length of each Can someone please tell me the code for sorting a field by length of line? Thanks! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Is there a problem with the On-Rev email server

2014-09-23 Thread Peter Haworth
Just as a follow up to a post I made a couple of weeks ago, I still do not see any posts to this list from people with yahoo and aol addresses. Only way I find out is if someone replies to them. Every week or so, I get an automated email from the list administration that my membership has been

Re: Delay After mobilePhotoPickPhoto?

2014-09-23 Thread Stephen MacLean
Hi Scott, I ran into this issue, I worked around it (mostly) by using mergAV. The delay is about a second now (on an iPhone 5). Still no way I know of to display a wait or loading progress. Maybe move to a card that is a One moment screen before you call mobilePickPhoto? Best, Steve MacLean

Re: sort lines by length

2014-09-23 Thread Klaus major-k
Hi Larry, Am 23.09.2014 um 20:53 schrieb la...@significantplanet.org la...@significantplanet.org: Hello, this line doesn't work: sort lines of field myField by length of each Can someone please tell me the code for sorting a field by length of line? this compiles and kinda works, but

Re: sort lines by length

2014-09-23 Thread Colin Holgate
If you look at the dictionary entry for length you’ll see that it’s a function. You say either: sort fld 1 by the length of each or: sort fld 1 by length(each) but not: sort fld 1 by length of each ___ use-livecode mailing list

Re: Q: Standalone with drag and drop works on one Windows machine but not two others… why?

2014-09-23 Thread Trevor DeVore
On Tue, Sep 23, 2014 at 2:06 PM, sty...@roguemusic.com sty...@roguemusic.com wrote: Thanks for the input but no solution yet. The user has admin privileges and the app can create and write new files to its default folder with no problem. Escape key doesn’t seem to make a difference, but

Re: Problem with palette toplevel

2014-09-23 Thread Richmond
On 23/09/14 23:01, Richmond wrote: I have a stack that loads with this in the stackScript: on openStack palette me put the toplevel stack end openStack when I open this having previously opened another stack the palette stack still puts its name rather than that of the other . . . this

Re: Problem with palette toplevel

2014-09-23 Thread Richmond
On 23/09/14 23:04, Richmond wrote: On 23/09/14 23:01, Richmond wrote: I have a stack that loads with this in the stackScript: on openStack palette me put the toplevel stack end openStack when I open this having previously opened another stack the palette stack still puts its name rather

Re: Problem with palette toplevel

2014-09-23 Thread Richard Gaskin
Richmond wrote: Actually what becomes clear is that even if one has a 'palette' command in preOpenStack, openStack or openCard the stack still opens up as a regular stack rather than a palette. Set the style of the stack to palette and save it, and next time you open it it should be in

Re: Problem with palette toplevel

2014-09-23 Thread Richmond
On 23/09/14 23:18, Richard Gaskin wrote: Richmond wrote: Actually what becomes clear is that even if one has a 'palette' command in preOpenStack, openStack or openCard the stack still opens up as a regular stack rather than a palette. Set the style of the stack to palette and save it, and

Re: Problem with palette toplevel

2014-09-23 Thread Richard Gaskin
Richmond wrote: On 23/09/14 23:18, Richard Gaskin wrote: Set the style of the stack to palette and save it, and next time you open it it should be in palette mode. Or you could open it with the palette command. I wish that were true, but it doesn't work. [6.6.3] Seems to work here. You

Re: sort lines by length

2014-09-23 Thread Dave Cragg
On 23 Sep 2014, at 20:07, Klaus major-k kl...@major-k.de wrote: Hi Larry, Am 23.09.2014 um 20:53 schrieb la...@significantplanet.org la...@significantplanet.org: Hello, this line doesn't work: sort lines of field myField by length of each Can someone please tell me the code for

Re: sort lines by length

2014-09-23 Thread Geoff Canyon
On Tue, Sep 23, 2014 at 2:07 PM, Klaus major-k kl...@major-k.de wrote: this compiles and kinda works, but not as exspected :-/ ... sort lines of fld 1 by length(each) You want: sort lines of fld 1 numeric by length(each) Otherwise a line with length 13 will sort before a line with length

searching for chars within a string

2014-09-23 Thread larry
Hello, I have done a lot research and cannot find any way to do this: I have a string, AELPP and I want to see if all 5 of those letters are in search string If search string is: ABCDEKLP, then NO it isn't because there are two P's in the string I'm searching for. But if search string is:

P.S. on searching for chars within a string

2014-09-23 Thread larry
Hello again, I know how to do it with brute force, but I want to know the FASTEST way to find the chars. Thanks ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: file size

2014-09-23 Thread Dick Kriesel
On Sep 23, 2014, at 1:13 AM, Thierry Douez th.do...@gmail.com wrote: Here is a modified version of yours: matchText(the detailed files,((?m)^ urlEncode( tFile ) ,(\d+) ), tSize) Hi, Thierry. When the file name contains a space, urlEncode encodes the space as +, which regex interprets,

Re: Is there a problem with the On-Rev email server

2014-09-23 Thread Kay C Lan
On Tue, Sep 23, 2014 at 3:10 PM, Matthias Rebbe | M-R-D matthias_livecode_150...@m-r-d.de wrote: We have enabled SPF and DKIM for our account in cPanel under email-authentication. Matthias, Thank you for that, I wasn't aware of those settings so I took a look. SPF (outgoing) was already enabled

Re: searching for chars within a string

2014-09-23 Thread dunbarx
So much fun. A few ways to do this. How much do you know about arrays? Or if you like more old-fashioned sorts of methods, think about this. What if you made a repeat loop that examined each character in the source, AELPP, one by one. If that char exists in the target string, then delete

Re: P.S. on searching for chars within a string

2014-09-23 Thread dunbarx
Larry. Just read your brute force comment. Not sure how much data you want to compare, but a loop using the for each variant will run an awful lot of text in an awfully short time. What about that array thing, just for modernity and compactness/ Craig -Original Message- From:

Re: sort lines by length

2014-09-23 Thread Mark Wieder
Dave- Tuesday, September 23, 2014, 1:59:39 PM, you wrote: sort lines of fld 1 numeric by length(each) I think numeric is needed if the lengths can be over 9 characters. Otherwise it will do a text sort on the lengths. See bug^H^Henhancement request 9910. This has bugged me for some time

Install over previous version

2014-09-23 Thread Paul D. DeRocco
There really needs to be a way to install over an old version. I get tired of having to go into Control Panel (Windows) to uninstall the previous one. And since I keep a link to the User Guide on my desktop, I'd rather keep installing into the same old directory, instead of a different one each

Window expanded

2014-09-23 Thread JB
Is there a way to catch when a Mac user clicks the button at the top left of window to expand and shrink the current window? John Balgenorth ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Install over previous version

2014-09-23 Thread J. Landman Gay
I hope it's optional. I routinely keep at least 3 versions at the same time, for different purposes. On September 24, 2014 12:16:14 AM CDT, Paul D. DeRocco pdero...@ix.netcom.com wrote: There really needs to be a way to install over an old version. I get tired of having to go into Control