Re: exists(file on my computer) not doing very well

2014-09-01 Thread Richmond
On 1.09.2014 23:46, Klaus major-k wrote: Hi Richmond, Am 01.09.2014 um 21:21 schrieb Richmond : In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped Germanic languages/writing-systems I have this script: on preOpenCard set the title of stack "grendel" to the short n

Re: Strange group behavior

2014-09-01 Thread Geoff Canyon
I've experienced something that might be related. For several versions, culminating in 6.6.x, the activation dialog had multiple invisible controls, making it very difficult for me to activate LC. I also found that sometimes whole groups would go invisible in my stacks. I never found a consistent t

Strange group behavior

2014-09-01 Thread Peter Haworth
I'm busy getting everything ready for the conference and that involves setting up software on a pretty old Mac laptop running OSX 10.6.8. One of the programs I'll be using has a handler that creates a group on a card and the copies a control into it, all with straightforward "create group" and "co

[OT] Flying in tonight

2014-09-01 Thread Skip Kimpel
My wife an I are flying in at about 10:30pm tonight. Anybody arriving around that time and need a ride? If not, see you all tomorrow morning! SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscr

Re: Speed testing: Fastest search method

2014-09-01 Thread Geoff Canyon
On Sun, Aug 31, 2014 at 4:04 PM, Alex Tweedly wrote: > I also added method4, which tries to get the best of both worlds. It > restricts the additional memory usage (by building up a second variable, > but removing sections of the input variable at the same time), and also > does relatively few d

Re: permuting a string (was Re: Speed)

2014-09-01 Thread Geoff Canyon
On Mon, Sep 1, 2014 at 10:32 AM, Beat Cornaz wrote: > This is my fastest script so far : > I think this is faster for many arguments. It might be slower for others. I removed the dependency on an external routine for removing duplicates. It also removes duplicates only when needed, and event the

Re: permuting a string (was Re: Speed)

2014-09-01 Thread Geoff Canyon
I have a set of code that seems to do the trick. It takes as an argument the number of each element to permute. So for your examples: On Mon, Sep 1, 2014 at 10:32 AM, Beat Cornaz wrote: > On my computer : > Input : 1112223334568320 mSec > Input : 123358 m

Re: Newly created alias is not an alias

2014-09-01 Thread Mark Wieder
Alain Farmer writes: >setDirectoryTo someFolder >create alias "myAlias" to folder "existingFolder" >if the result is not empty then die the result >answer there is an alias "myAlias" -- returns false !?! I've never heard of a "there is an alias" reference. Instead try create ali

Re: mergAVCam camera control

2014-09-01 Thread Monte Goulding
On 1 Sep 2014, at 11:33 pm, Richard Miller wrote: > Thanks. I guess it is not available at present. Hi Richard I know you contacted me privately too but I may as well respond here. mergAndroid is currently available as a bonus for mergExt Complete users. This is because anything I do for And

Re: exists(file on my computer) not doing very well

2014-09-01 Thread Klaus major-k
Hi Richmond, Am 01.09.2014 um 21:21 schrieb Richmond : > In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped > Germanic languages/writing-systems I have this script: > > on preOpenCard > set the title of stack "grendel" to the short name of this card > ## if exists(url

Re: Filtering FIle Types

2014-09-01 Thread JB
I have not tried it yet but if it works the problem is I might want to use a variety of file types so the repeat would filter one line at a time and then you check for that type in the list of types you will allow. The way you provided would need it to allow a list of types or I would need to keep

Re: Filtering FIle Types

2014-09-01 Thread Martin Koob
I think you can use the filter command with a wildcard and your extension. Put your folder path into tMyFolderPath then: set the folder to tMyFolderPath put the files into theFiles filter theFiles with "*.jpg" Martin -- View this message in context: http://runtime-revolution.278305.n4.nabbl

Filtering FIle Types

2014-09-01 Thread JB
If I have folder with thousands of files I can use the Files and get a list of the file names and it will end with the type preceded by a dot such as .jpg. I can set the item delimiter to “.” and do a repeat to get the last item of each line and I will have a list of all file types and the name/li

Re: how to stop mouse clicks from executing?

2014-09-01 Thread Richmond
On 1.09.2014 22:50, la...@significantplanet.org wrote: Hi Paul, As Richmond says, "That's a clever idea." However, I have no understanding of what a frontScript is and no understanding of how to trap those events. Nor have I :) and, despite it being clever, I fail to see any particular advan

Re: how to stop mouse clicks from executing?

2014-09-01 Thread larry
Hi Paul, As Richmond says, "That's a clever idea." However, I have no understanding of what a frontScript is and no understanding of how to trap those events. Perhaps you'd be willing to elaborate for me? Thanks, Larry - Original Message - From: "Paul Dupuis" To: Sent: Monday, Septe

Re: exists(file on my computer) not doing very well

2014-09-01 Thread Richmond
On 1.09.2014 22:21, Richmond wrote: In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped Germanic languages/writing-systems I have this script: on preOpenCard set the title of stack "grendel" to the short name of this card if exists(url("file:" & "GrendelBackUp.rtf

exists(file on my computer) not doing very well

2014-09-01 Thread Richmond
In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped Germanic languages/writing-systems I have this script: on preOpenCard set the title of stack "grendel" to the short name of this card if exists(url("file:" & "GrendelBackUp.rtf")) then put "exists" set t

Re: how to stop mouse clicks from executing?

2014-09-01 Thread Richmond
On 1.09.2014 21:22, Paul Dupuis wrote: insert a frontScript containing mouseDown and mouseUp handlers to trap those events when you want to block them and remove the frontScript when done That will still allow mouseStillDown and mouseRelease messages to be passed for drag operations That's a

Re: how to stop mouse clicks from executing?

2014-09-01 Thread Paul Dupuis
insert a frontScript containing mouseDown and mouseUp handlers to trap those events when you want to block them and remove the frontScript when done That will still allow mouseStillDown and mouseRelease messages to be passed for drag operations On 9/1/2014 2:14 PM, Richmond wrote: > > On 1.09.201

Re: how to stop mouse clicks from executing?

2014-09-01 Thread Richmond
On 1.09.2014 21:03, miked...@gmail.com wrote: ‎ How about setting the cursor to none and locking the cursor‎? Because the chap may still need the cursor for something else (such as grab). Mike Original Message From: Richmond Sent: Monday, September 1, 2014 1:59 PM To: How to use LiveCod

Re: how to stop mouse clicks from executing?

2014-09-01 Thread mikedoub
‎ How about setting the cursor to none and locking the cursor‎? Mike Original Message   From: Richmond Sent: Monday, September 1, 2014 1:59 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: how to stop mouse clicks from executing? On 1.09.2014 20:23, la...@significantplanet

Re: how to stop mouse clicks from executing?

2014-09-01 Thread Richmond
On 1.09.2014 20:23, la...@significantplanet.org wrote: I have a situation in my program where I'm showing the user some stuff. I do not want the user to be able to click with the mouse during this time. What is the best way to do that? Actually it would be great if the user couldn't even move

Re: how to stop mouse clicks from executing?

2014-09-01 Thread Alain Farmer
on showToUser set the cursor to none -- show end showToUser On Monday, September 1, 2014 1:24:32 PM, "la...@significantplanet.org" wrote: I have a situation in my program where I'm showing the user some stuff. I do not want the user to be able to click with the mouse during this ti

how to stop mouse clicks from executing?

2014-09-01 Thread larry
I have a situation in my program where I'm showing the user some stuff. I do not want the user to be able to click with the mouse during this time. What is the best way to do that? Actually it would be great if the user couldn't even move the mouse (within my program) during this time. TIA Larr

Re: permuting a string (was Re: Speed)

2014-09-01 Thread Beat Cornaz
Sat, 30 Aug 2014 09:01:16 -0400 From: Geoff Canyon > This was my initial thought as well, but I didn't like having to work > line-by-line on (potentially) large sets of lines from the initial > not-duplicate set of permutations. Doing the dupes first is weirder > conceptually, but it means that

Re: Speed testing: Fastest search method

2014-09-01 Thread David Epstein
Thanks to j...@souslelogo.com for the suggestion that hasMemory(bytes) might be useful. I haven't tried this yet. Thanks to for replies to my other questions. On the memory cost of writing fld "data" to tVar Q2. Of course it does, but the same condition is in place in all three tests.

Re: mergAVCam camera control

2014-09-01 Thread Richard Miller
Thanks. I guess it is not available at present. On 9/1/14, 9:04 AM, Matthias Rebbe | M-R-D wrote: Hi Richard, i just checked the file mergAndroid.html which is included in the mergAndroid archive. I cannot find anything about mergAVCam. But there is a function mergAVPick listed. --> functi

Re: mergAVCam camera control

2014-09-01 Thread Matthias Rebbe | M-R-D
Hi Richard, i just checked the file mergAndroid.html which is included in the mergAndroid archive. I cannot find anything about mergAVCam. But there is a function mergAVPick listed. --> function mergAVPick [pSource],[pQuality],[pDurationLimit] Record video Parameters: • pSource - (op

mergAVCam camera control

2014-09-01 Thread Richard Miller
Is this Android external actually available? I can't find anything about it. It's supposed to be part of MergAndroid, but I can't find out much on that either. Thanks, Richard Miller ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Speed testing: Fastest search method

2014-09-01 Thread FlexibleLearning.com
Hi Alex Agreed. And your #4 is a nice solution. Hugh Senior FLCo From: Alex Tweedly Hugh, The condition you've chosen for deciding whether to delete the line is whether or not the line is empty. So in method 2, replacing those lines by "" has no effect on the data. That is, I think, an in

Re: Speed testing: Fastest search method

2014-09-01 Thread FlexibleLearning.com
hasMemory may indeed be of some use, but I have had problems with it in the past. Besides, as has been pointed out, anything that is likely to drain all memory should probably be served from a database anyway. heapSpace is for HC/SC compatibility and does not map on all (if any) platforms. From: