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


___
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/listinfo/use-livecode


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 SPF and DKIM for our account in cPanel under 
email-authentication.

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 will not happen.
Why? Because as soon as one of the other users of that mail system uses the 
system  to send spams or even just bulk email
to some of the big providers like gmail, aol or others, it could happen / it 
will happen that the smtp server gets a bad reputation.


Matthias


Am 23.09.2014 um 07:13 schrieb Mark Wieder mwie...@ahsoftware.net:

 Kay-
 
 Monday, September 22, 2014, 9:55:16 PM, you wrote:
 
 Any advice appreciated.
 
 The short form is don't bother trying to use the on-rev smtp server.
 I haven't used it in many years, primarily because of stuff like this.
 You're lucky to have gotten a response from the receiving server... a
 lot will just dump the message and not respond at all, leaving you
 wondering why your emails never arrived.
 
 Use the smtp server your isp provides, or use gmail's smtp servers.
 
 -- 
 -Mark Wieder
 ahsoftw...@gmail.com
 
 This communication may be unlawfully collected and stored by the National 
 Security Agency (NSA) in secret. The parties to this email do not 
 consent to the retrieving or storing of this communication and any 
 related metadata, as well as printing, copying, re-transmitting, 
 disseminating, or otherwise using it. If you believe you have received 
 this communication in error, please delete it immediately.
 
 
 ___
 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/listinfo/use-livecode





___
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/listinfo/use-livecode


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 matchText( the detailed files, ( (?m)^\Q  urlEncode( tFile )  
,\E(\d*).* ), tSize )

Too bad it's so hard to read, remember, and type.
___
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/listinfo/use-livecode


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, ( (?m)^\Q  urlEncode( tFile )  
 ,\E(\d*).* ), tSize )

Excellent! I like it :)

 Too bad it's so hard to read, remember, and type.

Dick,

Here is a modified version of yours:

matchText(the detailed files,((?m)^  urlEncode( tFile )  ,(\d+) ), tSize)


and  I really don't find hard at all to read...


Regards,

Thierry



Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage

___
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/listinfo/use-livecode


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, at 1:13 AM, Thierry Douez th.do...@gmail.com wrote:

 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, ( (?m)^\Q  urlEncode( tFile )  
 ,\E(\d*).* ), tSize )
 
 Excellent! I like it :)
 
 Too bad it's so hard to read, remember, and type.
 
 Dick,
 
 Here is a modified version of yours:
 
 matchText(the detailed files,((?m)^  urlEncode( tFile )  ,(\d+) ), 
 tSize)
 
 
 and  I really don't find hard at all to read...
 
 
 Regards,
 
 Thierry
 
 
 
 Thierry Douez - http://sunny-tdz.com
 Maker of sunnYperl - sunnYmidi - sunnYmage
 
 ___
 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/listinfo/use-livecode
 


___
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/listinfo/use-livecode


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 same issue as LiveCode doesn't find Quicktime on some windows machines,
though it is correct installed.

Is this a known issue and anything I can do?

I am thinking about replacing it with starting the Adobe Reader via shell.

Can I just always start AcroRD32.exe without specified path on all windows
machines? (it works at least on my machines fine). I don't like to get the
path from the registry.

Was the Adobe Reader already called Acrord32.exe on XP and will it
hopefully stay by that?

Any experiences welcome

Tiemo

 

 

 

___
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/listinfo/use-livecode


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 several options, including
 customized character glyphs per font set.

 On September 22, 2014 11:18:16 PM CDT, Paul D. DeRocco 
 pdero...@ix.netcom.com wrote:

 Every other mono font I've tried wastes lots of space between
 lines. And the sample image of Input Mono looks like no exception.

 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com

 ___
 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/listinfo/use-livecode

___
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/listinfo/use-livecode


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 text in the field on Android.

you are allowed to write in - specialfolderpath(documents),
so use something like this when the stack closes or whenever:
...
## Create a filename
put specialfolderpath(documents)  /my_saved_text.text into tFile
put the text of fld your field here into url(file:  tFile)
...

To read the data in again, you first need to check if the file is present:
...
put specialfolderpath(documents)  /my_saved_text.text into tFile
if there is a file tFile then
  put url(file:  tFile) into fld your field here
end if
...

Hope that helps!

 Best regards,
 
 Takashi

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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/listinfo/use-livecode


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:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
kl...@major-k.de


___
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/listinfo/use-livecode


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 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
 kl...@major-k.de
 
 
 ___
 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/listinfo/use-livecode
 


___
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/listinfo/use-livecode


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 the typo of fill instead of full is something I never noticed
before even after looking at the code a dozen times. Sigh.

___
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/listinfo/use-livecode


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 = 0 and (Y mod 100  0 or Y mod 400 = 0)
end isLeapYear

If you wanted to be accepting of bad data you could:

function isLeapYear Y
  return Y is a number and Y mod 4 = 0 and (Y mod 100  0 or Y mod 400 = 0)
end isLeapYear
___
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/listinfo/use-livecode


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 is up?

 In my case it's already visible (and it's not really being used as a pick
 list in the traditional sense) - it's a scrolling list of items on the left
 side of the iPad screen that the user can search and select (see
 https://dl.dropboxusercontent.com/u/67170/dynamicList.jpg).

 The user enters search terms into the native text control above the data
 grid and it does a dynamic live search for records that match the entered
 text.

 If I needed to hide and show it and to disable all the other controls I
 might group all the elements with a full screen rectangle graphic at the
 back of the group and make the rectangle opaque but set it's blend to 100 -
 that way touches anywhere behind the group wouldn't get through.

 Gerry







 ___
 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/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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/listinfo/use-livecode


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:

  This font lets you customize the line spacing, among other things.  Look
  at the download page where you can set up several options, including
  customized character glyphs per font set.
 
  On September 22, 2014 11:18:16 PM CDT, Paul D. DeRocco 
  pdero...@ix.netcom.com wrote:
 
  Every other mono font I've tried wastes lots of space between
  lines. And the sample image of Input Mono looks like no exception.
 
  --
  Jacqueline Landman Gay | jac...@hyperactivesw.com
  HyperActive Software   | http://www.hyperactivesw.com
 
  ___
  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/listinfo/use-livecode
 
 ___
 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/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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/listinfo/use-livecode


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 to be able to resize a window, but I 
want the window proportions -- the ratio of the width to the height -- to 
remain the same during the resize operation. I have tried various approaches, 
but none was satisfactory, often giving erratic performance. What is the best 
way to resize a stack window and constrain it proportionally?

I feel like I may be missing something really obvious. It wouldn’t be the first 
time. 

Thanks,

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University


___
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/listinfo/use-livecode


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:

 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 to be able to resize a window,
 but I want the window proportions -- the ratio of the width to the height
 -- to remain the same during the resize operation. I have tried various
 approaches, but none was satisfactory, often giving erratic performance.
 What is the best way to resize a stack window and constrain it
 proportionally?

 I feel like I may be missing something really obvious. It wouldn’t be the
 first time.

 Thanks,

 Devin


 Devin Asay
 Office of Digital Humanities
 Brigham Young University


 ___
 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/listinfo/use-livecode

___
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/listinfo/use-livecode

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 Community 7.0 (rc 2)” is on the disk image 
 “LiveCodeCommunityInstaller-7_0_0_rc_2-Mac.dmg”. Safari downloaded this disk 
 image today at 19:28 from livecode.com.
 
 
 
 All the best
 
 Terry
 
 
 On 22 Sep 2014, at 17:02, Fraser Gordon fraser.gor...@livecode.com wrote:
 
 Dear List Members.
 
 We are pleased to announce the release of LiveCode 7.0 RC 2.
 
 * Warning, this is a pre-release with new features which have the potential
 to cause issues. Please ensure you backup your stacks before testing this
 release.*
 
 *Release Focus*
 61 bug fixes
 
 *Important Changes*
 - We’ve update the platform component of the engine on Linux substantially.
 Think of it as the equivalent of the cocoa port for MacOS X. As a result,
 windowing related activities on Linux are subject to change. If you are
 testing on Linux we would encourage you to focus on windowing, window
 shapes, shortcuts, copy/paste and drag/drop.
 - LiveCode 7.0 is now based on LiveCode 6.7. It includes cocoa, the webkit
 browser, the new AVFoundation player on Mac.
 - The file format has changed for this release to accommodate Unicode. Old
 stacks will still work in 7.0, but stacks saved in 7.0 format will not open
 in previous versions of LiveCode. Therefore it is doubly critical to backup
 your stacks.
 
 *Release contents*
 The number of bugs fixed is so large that it no longer makes sense to
 include a summary in the release email. Instead, please look at the bug fix
 section of the release notes which can be found here:
 
 http://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_rc_2.pdf
 
 *Feeding Back*
 If you find an issue in this release, please report a bug at
 quality.runrev.com.
 
 Warm regards,
 
 The LiveCode Team
 ___
 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/listinfo/use-livecode
 
 ___
 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/listinfo/use-livecode


___
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/listinfo/use-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 not sure if it's
possible to get the window refresh to completely sync with the location of
the resizer, but maybe this will get you close.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 9/23/14 8:25 AM, Devin Asay devin_a...@byu.edu wrote:

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 to be able to resize a window,
but I want the window proportions -- the ratio of the width to the height
-- to remain the same during the resize operation. I have tried various
approaches, but none was satisfactory, often giving erratic performance.
What is the best way to resize a stack window and constrain it
proportionally?

I feel like I may be missing something really obvious. It wouldn¹t be the
first time. 

Thanks,

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University


___
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/listinfo/use-livecode



___
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/listinfo/use-livecode


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 occur after last
resize, kind of animation
   repeat for each line aMessage in the pendingMessages
  if aMessage contains adjustRatio then cancel item 1 of aMessage
   end repeat
   
   send adJustRatio pNewWidth, pNewHeight, pOldWidth, pOldHeight to me in
0 milliseconds
end resizeStack

on adJustRatio pNewWidth, pNewHeight, pOldWidth, pOldHeight
   put round (pNewWidth / 2) into tNewHeight
   put the rect of me into tRect
   put item 2 of tRect + tNewHeight into item 4 of tRect
   set the rect of me to tRect
end adJustRatio
---


Devin Asay wrote
 In a LiveCode project I want the end user to be able to resize a window,
 but I want the window proportions -- the ratio of the width to the height
 -- to remain the same during the resize operation. I have tried various
 approaches, but none was satisfactory, often giving erratic performance.
 What is the best way to resize a stack window and constrain it
 proportionally?
 
 Devin





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Constraining-window-dimensions-proportionally-while-resizing-tp4683639p4683642.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


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 will not happen.
Why? Because as soon as one of the other users of that mail system uses the 
system  to send spams or even just bulk email
to some of the big providers like gmail, aol or others, it could happen / it 
will happen that the smtp server gets a bad reputation.


I think you're right. The same thing happened on my shared server, 
hosted on JaguarPC, and I think it can happen anywhere. Whether the 
receiving server rejects the email depends on their spam settings, and 
some will blacklist whole blocks of IP numbers. One of my accounts sent 
an email with about 8 recipients, and five were rejected for bad 
reputation even though the email itself was short and generic.


The big name ISPs get more clearance. If I send through Comcast it goes 
though, and I'm told that all the large providers are accepted the same 
way. That's why Gmail is probably a safe bet if you can accept the 
scanning they do (you can turn off targeted ads in preferences though.)


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
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/listinfo/use-livecode


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 because suddenly my project did not work when I tested in 
7.0, and it turns out that dontUseQT is now set to true by default in 
the IDE.


The fix is easy, you can just set dontUseQT to false somewhere in your 
scripts, or turn the preference back on in the IDE.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/listinfo/use-livecode


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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 
change, you could track the ratio of the stack window.


By comparing the current ratio to the one just previous, perhaps stored in a 
custom property, you can see which dimension, X or Y, has exceeded the value of 
the one before. Since you are starting with a stack of a certain size, this 
ratio will start off in the way you want it. Then simply adjust that ratio so 
that you are keeping the aspect constant.

Craig


-Original Message-
From: Devin Asay devin_a...@byu.edu
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Tue, Sep 23, 2014 11:26 am
Subject: Constraining window dimensions proportionally while resizing


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 to be able to resize a window, but I 
want the window proportions -- the ratio of the width to the height -- to 
remain 
the same during the resize operation. I have tried various approaches, but none 
was satisfactory, often giving erratic performance. What is the best way to 
resize a stack window and constrain it proportionally?

I feel like I may be missing something really obvious. It wouldn’t be the first 
time. 

Thanks,

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University


___
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/listinfo/use-livecode

 
___
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/listinfo/use-livecode

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 works perfectly on my Win7 test machine, but not on the 
other two.
Maybe they don’t have the right Trojans installed?

The only major difference that comes to mind is that I have Livecode installed 
on the test machine.

I figure, if they can drag and drop on the desktop, they should be able to drag 
to my Livecode app.

Is there some way of associating files as “openable” by certain apps? 

Thanks for trying to help.

Joe F.

On Sep 22, 2014, at 4:20 PM, AndyP smudge.a...@googlemail.com wrote:

 I've come across something similar before and it is related to UAC and the
 solution was to.. wait for it ... hit the Esc button and try again.
 
 
 
 -
 Andy Piddock 
 
 
 My software never has bugs. It just develops random features. 
 
 Copy the new cloud space, get your free 15GB space now:
 Get Copy 
 
 
 Your LiveCode Work Desks - New Blog
 http://livecodemydesk.blogspot.de/  
 
 PointandSee is a FREE simple but full featured under cursor colour picker / 
 finder.
 http://www.pointandsee.co.uk  - made with LiveCode
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Q-Standalone-with-drag-and-drop-works-on-one-Windows-machine-but-not-two-others-why-tp4683548p4683600.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 
 ___
 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/listinfo/use-livecode


___
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/listinfo/use-livecode


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 indicator after a photo is selected from the picker.

My understanding is that the only options for mobilePickPhoto library
are to limit the import size.

Has anybody figured out a way to show wait or progress once a photo is
chosen from the photo picker?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




___
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/listinfo/use-livecode


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 subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
disabled due to too many bounces. Fortunately, there's a link that turns it
back on immediately so not a huge deal, just irksome that perfectly genuine
emails to the list are somehow bounced  for some list members.

Heather is aware of the problem but it seems there's little that can be
done to fix it.

Pete
lcSQL Software http://www.lcsql.com
Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and
SQLiteAdmin http://www.lcsql.com/sqliteadmin.html

On Tue, Sep 23, 2014 at 10:02 AM, J. Landman Gay jac...@hyperactivesw.com
wrote:

 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 will not happen.
 Why? Because as soon as one of the other users of that mail system uses
 the system  to send spams or even just bulk email
 to some of the big providers like gmail, aol or others, it could happen /
 it will happen that the smtp server gets a bad reputation.


 I think you're right. The same thing happened on my shared server, hosted
 on JaguarPC, and I think it can happen anywhere. Whether the receiving
 server rejects the email depends on their spam settings, and some will
 blacklist whole blocks of IP numbers. One of my accounts sent an email with
 about 8 recipients, and five were rejected for bad reputation even though
 the email itself was short and generic.

 The big name ISPs get more clearance. If I send through Comcast it goes
 though, and I'm told that all the large providers are accepted the same
 way. That's why Gmail is probably a safe bet if you can accept the scanning
 they do (you can turn off targeted ads in preferences though.)

 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com


 ___
 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/listinfo/use-livecode

___
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/listinfo/use-livecode

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

On Sep 23, 2014, at 2:12 PM, Scott Rossi sc...@tactilemedia.com wrote:

 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 indicator after a photo is selected from the picker.
 
 My understanding is that the only options for mobilePickPhoto library
 are to limit the import size.
 
 Has anybody figured out a way to show wait or progress once a photo is
 chosen from the photo picker?
 
 Thanks  Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX/UI Design
 
 
 
 
 ___
 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/listinfo/use-livecode



___
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/listinfo/use-livecode


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 not as exspected :-/
...
 sort lines of fld 1 by length(each)
...

 Thanks!

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
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/listinfo/use-livecode


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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 what is it supposed to
 do anyway? Maybe there’s something there.


There is an odd issue on Windows that occurs for a lot of people (not just
for LiveCode apps). Drag and drop basically stops working and pressing the
escape key fixes it. Based on your description I don't think it will help,
however, as you see the problem after a restart.

For whatever reason, it works perfectly on my Win7 test machine, but not on
 the other two.
 Maybe they don’t have the right Trojans installed?


Perhaps it would be worth gathering some more information on the machines
that don't work. You might modify your handles so that they provide some
extra information. For example, here are your handlers with some slight
modifications that provide some feedback and let you do some debugging.

on dragEnter
   -- set the allowabledragactions to copy,link # you should't be setting
this here. This is only used in dragStart if you are offering up draggable
data
   set the dragAction to copy
   set the hilite of me to true
end dragEnter

on dragDrop
   if the dragdata[files] is not empty then beep # some audio feedback
   set the clipboardData to the dragdata[files] # paste this into Notepad
and see what the value is

   if the dragdata[files] is not empty then put the dragdata[files]
into gDroppedData
   DoMyStuff
end dragDrop

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com-www.clarify-it.com
___
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/listinfo/use-livecode

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 is not satisfactory.

Richmond.


on openStack
   palette me
   put the topstack
end openStack

seems to make no difference.

___
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/listinfo/use-livecode


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 than that of the other . . .

this is not satisfactory.

Richmond.


on openStack
   palette me
   put the topstack
end openStack

seems to make no difference.


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.

Linux.

Richmond.

___
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/listinfo/use-livecode


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 palette mode.


Or you could open it with the palette command.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/listinfo/use-livecode


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 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]

Richmond.

___
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/listinfo/use-livecode


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 may need to check the mode of the stack manually:

  put the mode of stack StackThatShouldBeAPalette

Also, remember that on Linux the raisePalettes global property is off by 
default (I have no idea why).  Turning that on makes the palette mode 
more obvious (and is really the only significant difference between 
palette and modeless on Linux, since Gnome provides no special 
appearances for palettes).


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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/listinfo/use-livecode


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 sorting a field by length of line?
 
 this compiles and kinda works, but not as exspected :-/
 ...
 sort lines of fld 1 by length(each)
 ...


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.

Cheers
Dave
___
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/listinfo/use-livecode


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 4
___
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/listinfo/use-livecode


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:  ABCDEKLLLMMOOPP, then YES the string I'm searching 
for is found in the search string.

It is important to my program that I just find the 5 chars anywhere within the 
search string and they do not have to be sequential in the search string.

Thanks for any help,
Larry
___
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/listinfo/use-livecode


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 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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, causing the match to fail and tSize to be empty.  The \Q...\E 
causes regex to see everything enclosed as a literal, including the +, so the 
match succeeds and tSize is correct.

Glad you like it.

-- Dick
___
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/listinfo/use-livecode


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 whilst DKIM (incoming) was not, so
really everything was already set for the best chance of outgoing
mails getting through. As I looked down the other settings I noticed
that 46.105.105.217 was listed as the MX IP address, so it was
certainly a problem from the on-rev end.

The good news is that I emailed my mum this morning and everything
seems to be back to normal. So to Heather and anyone else in support
that may have been sorting such thing out, thanks so much.

___
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/listinfo/use-livecode


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 that char from 
the target. Then you will either go through the entire source, in which case 
you know all the chars were there to begin with, or you will fail, in which 
case, well, you get the picture.


Can you think of yet another way?


Craig Newman



-Original Message-
From: larry la...@significantplanet.org
To: use-livecode use-livecode@lists.runrev.com
Sent: Tue, Sep 23, 2014 8:23 pm
Subject: searching for chars within a string


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:  ABCDEKLLLMMOOPP, then YES the string I'm searching 
for 
is found in the search string.

It is important to my program that I just find the 5 chars anywhere within the 
search string and they do not have to be sequential in the search string.

Thanks for any help,
Larry
___
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/listinfo/use-livecode

 
___
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/listinfo/use-livecode


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: larry la...@significantplanet.org
To: use-livecode use-livecode@lists.runrev.com
Sent: Tue, Sep 23, 2014 8:25 pm
Subject: P.S. on searching for chars within a string


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 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
___
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/listinfo/use-livecode


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
now. Is there ever a case when you'd want to sort alphabetically by
length()?

-- 
-Mark Wieder
 ahsoftw...@gmail.com

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.


___
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/listinfo/use-livecode


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 time.

Also, it would  be nice if it asked where in the Start Menu to put its
link. And whatever I choose should be instead of RunRev, not a prefix to
it, since there's no need for a separate folder if it's only got one thing
in it.

I've also proved to my satisfaction that the choices of which updates to
be notified of do not persist after LiveCode is closed and reopened.
That's a bug.

And I expect someone's already mentioned it, but in case they haven't, I
just installed 6.6.3 but Help-About and the title bar say 6.6.2. This is
a stable release, isn't it?

-- 

Ciao,   Paul D. DeRocco
Paulmailto:pdero...@ix.netcom.com 
 


___
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/listinfo/use-livecode


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 manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 Panel (Windows) to uninstall the previous
one. 

-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/listinfo/use-livecode