Re: Newly created alias is not an alias

2014-09-02 Thread Alain Farmer
Hello Kay, I tested it empirically. In version 6.6.2, the aliasReference of a file/folder returns the path to file/folder itself; not empty as you suggest. Either way, my function below works: function isAlias pathToAlias return the aliasReference of pathToAlias is not pathToAlias end isAlias

Re: Simulcast

2014-09-02 Thread William Prothero
Graham: You will need a password, but the link is: https://new.livestream.com/runrevlivetrack1/ Bill On Sep 2, 2014, at 10:37 AM, Graham Samuel wrote: > I have lost all reference to the simulcast itself, although I may well have a > right to view it. Can anyone give me a link before the Unicode

Re: Newly created alias is not an alias

2014-09-02 Thread Kay C Lan
On Wed, Sep 3, 2014 at 2:18 AM, Alain Farmer wrote: > Thank you, Mark, but the aliasReference is NEVER empty. > The Dictionary says: Comments: If the aliasPath does not exist, the aliasReference function returns empty and the result is set to "can't get". If you are seeing something different, s

Re: Strange group behavior

2014-09-02 Thread Tim Selander
OK, I have to admit that when I saw the Subject: line, I thought the post would be, umm, about those of us on the listserve! Tim Selander Tokyo, Japan On 14/09/02 12:33, Geoff Canyon wrote: I've experienced something that might be related. For several versions, culminating in 6.6.x, the acti

Re: Re: NOT using a proxy with 6.7 on Windows...

2014-09-02 Thread Trevor DeVore
On Tue, Sep 2, 2014 at 2:08 PM, Malte Brill wrote: > what exactly would be needed to troubleshoot? > Malte, I'm actually going to talk about this at the conference Thursday morning :-) With any internet app I recommend adding lots of logging. I would add a front script or library script with t

Re: Speed testing: Fastest search method

2014-09-02 Thread Peter Haworth
On Mon, Sep 1, 2014 at 5:58 PM, Geoff Canyon wrote: > All justifications aside, I'd use method 3 all the time unless something > broke. ;-) > A recent post on a similar topic (filtering lines by filetype from the output of "the files") made me think of this thread again. I tried Alex's test aga

Re: Filtering FIle Types

2014-09-02 Thread JB
You posted >> Thew new syntax for the filter command (don;t recall which version it was >> introduced but it works in 6.6.2) Maybe that is why I get an error when I even put the script into my button. It works on LiveCode 6.6.2 and higher not Revolution. Not to be critical of LiveCode I just hap

Re: Filtering FIle Types

2014-09-02 Thread Peter Haworth
Not sure I understand your question. The regex is in the filter command example I posted. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Sep 2, 2014 at 10:16 AM, JB wro

Re: Filtering FIle Types

2014-09-02 Thread Peter Haworth
In that case, the new filter command lets you put the output into a second variable: filter lines of tFiles with regex pattern ".*\.jpg|png" into tFilteredFiles That way, tFiles will not be changed and tFilteredFiles will contain the result of the filter command Pete lcSQL Software

Re: permuting a string (was Re: Speed)

2014-09-02 Thread Beat Cornaz
Mon, 1 Sep 2014 19:35:31 -0500 From: 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. Great, Geoff, this works fine. Quite clever thinking :-) Mon, 1 Sep 2014 19:47:58 -0500 From: Geoff Canyon > I think this is

Re: Newly created alias is not an alias

2014-09-02 Thread Alain Farmer
Explaining this has made me come-up with the solution: function isAlias pathToAlias return the aliasReference of pathToAlias is not pathToAlias end isAlias on testAliases currentFolder -- put currentFolder & "test/" into targetFolder put currentFolder & "test-alias" into aliasPath

Re: Newly created alias is not an alias

2014-09-02 Thread Alain Farmer
Thank you, Mark, but the aliasReference is NEVER empty. Therefore cannot use: if the aliasReference of it is empty to test if something is an alias.: on testAliases currentFolder -- put currentFolder & "test/" into targetFolder put currentFolder & "test-alias" into aliasPath --

How To: Delete columns of data

2014-09-02 Thread FlexibleLearning.com
This takes 2ms to remove 4 columns from a 100x100 data table... on mouseUp --| Syntax: deleteColumns , --| data: Specifies the data to parse --| cols: A comma separated list of columns to be removed deleteColumns fld "Input","5,10,15,20" -- Specify what to do with 'the result'...

Re: Re: NOT using a proxy with 6.7 on Windows...

2014-09-02 Thread Malte Brill
Hey Trevor, what exactly would be needed to troubleshoot? As I do not own the machines this happens on and only can have limited access it will be a little tricky to get information. My suspition is that LC picks up the PROXY information from the registry (which did not work before my engine sw

Re: Filtering FIle Types

2014-09-02 Thread JB
That looks like what i need!! Thank you very much! John Balgenorth On Sep 2, 2014, at 10:50 AM, Peter M. Brigham wrote: > Here's an expanded version -- feed it a list of filetypes and get them all at > once: > > function filterByType pFileList, pTypeList > -- assuming pTypeList is of the

Re: Filtering FIle Types

2014-09-02 Thread Peter M. Brigham
Here's an expanded version -- feed it a list of filetypes and get them all at once: function filterByType pFileList, pTypeList -- assuming pTypeList is of the form "jpg,png,gif" (for instance) repeat for each item t in pTypeList put pFileList into workingList filter workingList

Re: Simulcast

2014-09-02 Thread Graham Samuel
I have lost all reference to the simulcast itself, although I may well have a right to view it. Can anyone give me a link before the Unicode session starts, or is it somehow hidden? TIA Graham Sent from my iPad > On 29 Aug 2014, at 19:21, Richmond wrote: > > Can anyone tell what "direct to

Re: Filtering FIle Types

2014-09-02 Thread JB
Thank you. Is there a regex that will work with Revolution? John Balgenorth On Sep 2, 2014, at 8:18 AM, Peter Haworth wrote: > Thew new syntax for the filter command (don;t recall which version it was > introduced but it works in 6.6.2) lets you filter with a regular > expression, so the foll

Re: Filtering FIle Types

2014-09-02 Thread JB
Thank you for the reply and code. If I call it for every type I want then I will need to splice it back together with the other types I filtered after I am done calling for each type. I guess there comes a point when I have added a certain amount of types it will be faster to do one line at a tim

Re: Filtering FIle Types

2014-09-02 Thread Peter Haworth
Thew new syntax for the filter command (don;t recall which version it was introduced but it works in 6.6.2) lets you filter with a regular expression, so the following will do it in one filter command, no need to repeat for each line: filter lines of tFiles with regex pattern ".*\.jpg|png" Just r

Re: Simulcast

2014-09-02 Thread Richmond
On 02/09/14 14:05, Dave Kilroy wrote: Hello and best wishes to all LC'ers not in San Diego who will be attending the conference virtually, this simulcast-only version of the conference schedule may be of use (also with UK timings) https://www.dropbox.com/s/721349r4w46w20w/schedule-plus-8-hours.pd

Re: NOT using a proxy with 6.7 on Windows...

2014-09-02 Thread Trevor DeVore
On Tue, Sep 2, 2014 at 9:09 AM, Malte Brill wrote: > Hey all, > > anyone successfully *not* using a proxy with 6.7 DP9? > I have an application that needs to communicate with both LAN and WAN and > therefor needs to switch between not using a Proxy (for LAN access) and > using a proxy (for WAN ac

Re: how to stop mouse clicks from executing?

2014-09-02 Thread larry
Hi Peter, Thanks very much for the explanation. Larry - Original Message - From: "Peter M. Brigham" To: "How to use LiveCode" Sent: Tuesday, September 02, 2014 6:12 AM Subject: Re: how to stop mouse clicks from executing? On Sep 1, 2014, at 3:50 PM, wrote: Hi Paul, As Richmond

NOT using a proxy with 6.7 on Windows...

2014-09-02 Thread Malte Brill
Hey all, anyone successfully *not* using a proxy with 6.7 DP9? I have an application that needs to communicate with both LAN and WAN and therefor needs to switch between not using a Proxy (for LAN access) and using a proxy (for WAN access). It used to work fine up to 6.6.2 but with 6.7 DP9 it f

Re: Filtering FIle Types

2014-09-02 Thread Peter M. Brigham
you can use the following: function filterByType pFileList, pType -- assuming pType is of the form "jpg" or "png" filter pFileList by ("*." & pType) return pFileList end filterByType and call it repeatedly for whatever file types you want. -- Peter Peter M. Brigham pmb...@gmail.com htt

Re: how to stop mouse clicks from executing?

2014-09-02 Thread Peter M. Brigham
On Sep 1, 2014, at 3:50 PM, 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. > Perhaps you'd be willing to elaborate for me? Create a button with the following script:

Re: Simulcast

2014-09-02 Thread Dave Kilroy
Hello and best wishes to all LC'ers not in San Diego who will be attending the conference virtually, this simulcast-only version of the conference schedule may be of use (also with UK timings) https://www.dropbox.com/s/721349r4w46w20w/schedule-plus-8-hours.pdf?dl=0 Dave PS: also hello and best wi

Re: Simulcast

2014-09-02 Thread Richmond
I don't know what the difference is with those links (other than 2 different "tracks" of talks). Is there a page listing the subject matter/times for the talks on the different tracks? I searched the livecode website, but could not find such a page. Regards, Bernard Difficult to find: ht

Re: Simulcast

2014-09-02 Thread Bernard Devlin
I don't know what the difference is with those links (other than 2 different "tracks" of talks). Is there a page listing the subject matter/times for the talks on the different tracks? I searched the livecode website, but could not find such a page. Regards, Bernard On Fri, Aug 29, 2014 at 6:

Re: Newly created alias is not an alias

2014-09-02 Thread Richmond
On 2.09.2014 11:08, Kay C Lan wrote: On Tue, Sep 2, 2014 at 7:29 AM, Mark Wieder wrote: I've never heard of a "there is an alias" reference. Instead try The one true 'drawback' of a English like syntax; it certainly reads like it should work ;-) Of course LC's upcoming Open Language, will al

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

2014-09-02 Thread Richmond
On 1.09.2014 23:46, Klaus major-k wrote: not sure about the syntax for EXISTS and FILE, but -> url("file:"...) is surely not the way to go! Why not just use: if there is a file xyz...? Worked extremely well. Many thanks! Richmond. ___ use-live

Re: Newly created alias is not an alias

2014-09-02 Thread Kay C Lan
On Tue, Sep 2, 2014 at 7:29 AM, Mark Wieder wrote: > I've never heard of a "there is an alias" reference. Instead try The one true 'drawback' of a English like syntax; it certainly reads like it should work ;-) Of course LC's upcoming Open Language, will allow Alain to correct this syntax shortf

Re: [OT] Spies under the bed.

2014-09-02 Thread Kay C Lan
On Mon, Sep 1, 2014 at 4:08 AM, J. Landman Gay wrote: > When I last checked, it thought I was a 35 > year old male. I told you to stop playing with that time travel stack! Such inexplicable google side effects are permanent, but you knew that because I warned you about them tomorrow. ___