Re: How to filter a big list

2009-10-21 Thread David Glasgow
rator is a little beat slower (about 50 milliseconds) than the "filter ... with". There is no significant difference when the third char or more is typed. Of course I filter a variable before to put it in the list field How about the filter with only kicks in after the second

Re: How to filter a big list

2009-10-21 Thread Jim Ault
your asking a lot of a chunking function to scan a large body of text between key strokes. Start with the following steps to see if these help. -1- Showing a list of more than 50 hits may not be useful -2- Doing an filter operation with less than 3 chars may not be useful -3- Showing the

Re: How to filter a big list

2009-10-22 Thread Alex Tweedly
Richard Gaskin wrote: Jérôme Rosat wrote: I explained in my message that I wish to filter a list of names and addresses dynamically when I type a name in a field. This list contains 400'000 lines like this: Mme [TAB] DOS SANTOS albertina [TAB] rue GOURGAS 23BIS [TAB] 1205 Genève I

Re: How to filter a big list

2009-10-22 Thread Alex Tweedly
Alex Tweedly wrote: Note the use of ".." to give an indication that work is still in progress and there may be more matches to come. Hmmm that's a bit of a cheap way to do it. Much better to put the number of lines in sData into tDataSize, and then do put 20 - (20 * tCount

Re: How to filter a big list

2009-10-23 Thread Jérôme Rosat
à 20:07, David Glasgow a écrit : How about the filter with only kicks in after the second or third character is typed? The first two characters take a disproportionate amount of time, and probably don't reduce the list size substantially. David Gl

Re: How to filter a big list

2009-10-23 Thread DunbarX
Yesterday I went back to an old HC stack that filtered just such a list. I tried a Rev version of it on a list of 400,000 lines and it seems to run reasonably responsively. If this has already been dealt with better, then just ignore... There is a search field and another field named "results".

Re: How to filter a big list

2009-10-23 Thread Jérôme Rosat
Jim, Le 22 oct. 2009 à 05:41, Jim Ault a écrit : your asking a lot of a chunking function to scan a large body of text between key strokes. Start with the following steps to see if these help. -1- Showing a list of more than 50 hits may not be useful Good idea. -2- Doing an filter

Re: How to filter a big list

2009-10-23 Thread Jérôme Rosat
Alex, Thank you for your message. I'm not very at ease with messages and the command "send" but I will test your code. I think it is the good way to not slow down the typing of the user. Jerome Rosat Le 23 oct. 2009 à 00:33, Alex Tweedly a écrit : Would it be practical to break your lis

Re: How to filter a big list

2009-10-23 Thread Richard Gaskin
Jérôme Rosat wrote: Alex, Thank you for your message. I'm not very at ease with messages and the command "send" but I will test your code. I think it is the good way to not slow down the typing of the user. IMO well worth the time to try it. Alex Tweedly regularly comes up with non-obviou

Re: How to filter a big list

2009-10-23 Thread Mark Wieder
Jérôme- Friday, October 23, 2009, 8:51:18 AM, you wrote: > If some body in the list is looking for a file with names and address > (400K lines), I create a file with french name, French, Spanish, > Italians, Portuguese first name and address of Geneva in Switzerland. > It is possible to downloa

Re: How to filter a big list

2009-10-23 Thread Jérôme Rosat
Mark, My text file is a "raw" file. When I open a stack, I create a simpler tab list. Your code is much better for the 1 to 3 chars. But, if the name you search is at the end of the list (for example "rosat") it takes more time than my code. Jerome Rosat Le 23 oct. 2009 à 19:13, Mark W

Re: How to filter a big list

2009-10-23 Thread Mark Wieder
Jérôme- Friday, October 23, 2009, 10:55:26 AM, you wrote: > Your code is much better for the 1 to 3 chars. But, if the name you > search is at the end of the list (for example "rosat") it takes more > time than my code. Well, of course. There's no "rosat" in the data set, so you have to go throu

Re: evaluated string for filter doesn't work

2008-07-28 Thread Jim Ault
You are adding quote chars to the filter string so that quote &".jpg""e would have to actually be in the the line to be a 'hit' Most file names do not contain quotes. -- try filter tFiles with tFilter or filter tFiles with ("*" & fld "e

Re: evaluated string for filter doesn't work

2008-07-28 Thread Andre Garzia
Aum Swami, I use this all the time in our stacks, I use double asterisks like: put "*.jpg*" into tFilter filter tFiles with tFilter and it works. Andre On Tue, Jul 29, 2008 at 12:25 AM, Sivakatirswami <[EMAIL PROTECTED]> wrote: > Field "extension" contains &

Re: evaluated string for filter doesn't work

2008-07-28 Thread Sivakatirswami
yep that was it... I was using "the detailed files" and forgot to add the * on the end Andre Garzia wrote: Aum Swami, I use this all the time in our stacks, I use double asterisks like: put "*.jpg*" into tFilter filter tFiles with tFilter and it works. Andre On Tue, J

Must be a way: escaping filter patterns

2009-05-01 Thread David Bovill
Still trying to figure this out - my hack ends up failing - I've returned a list of child names from XML, and wish to filter out all the "" elements which appear like tr[1], tr[2]. So I want to filter using "tr[*]", but as "[" is a special char... andthe usual &

Re: Filter Image Without Type on OSX?

2009-07-07 Thread Scott Rossi
Answering my own question: > Is it possible to use any kind of wildcard with file filtering on OSX? > > I have several JPEG images that show no file type (just the empty boxes) > which often happens when Preview gets ahold of them. Then when trying to > filter a list of images in

Re: Filter Image Without Type on OSX?

2009-07-07 Thread Rick Harrison
stion: Is it possible to use any kind of wildcard with file filtering on OSX? I have several JPEG images that show no file type (just the empty boxes) which often happens when Preview gets ahold of them. Then when trying to filter a list of images in an answer file dialog using &

Re: Implementation of "Filter with:" and " Scroll to:"

2002-10-07 Thread Sarah
The docs use 2 types: search which scrolls to the first matching entry and filter which only shows matching entries: If you want the scroll method and you have your list in a field called "List" then your search field needs a script like this: if me is empty then -- scroll b

compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread jbv
Hi there, Has anybody succeeded in using the compress() function on PDF data stream using the FlateDecode filter ? According to both docs (PDF ref and Rev), both compress() and FlateDecode are built around the public domain zlib library, but I didn't manage to include compressed data in

RE: Answer file with filter or of type

2003-09-24 Thread Monte Goulding
Hi Michael Join the club ;-) You migh twant to vote for enhancements 605 and 673 Cheers Monte > How do I successfully filter the file list in OS X? > > The docs say I can use either filter or of type but I have to use > four letter codes. "RSTK" works fine for rev

Re: Answer file with filter or of type

2003-09-24 Thread FlexibleLearning
How do I successfully filter the file list in OS X? I would like a filter for *.jpg and *.bmp files but all I am achieving at the moment is frustration. Not sure about a bmp file code on a Mac as I thought it was PC format only, but if you have it simply add to the codes in line 1

RE: answer file with filter on OSX Panther

2003-11-24 Thread Monte Goulding
> > is > > Answer file myprompt with filter type(s) > > broken on OS X Panther? It's not broken it's just not implemented ;-) You still need to use type codes but good luck if OS X decides not to apply them to your file. There's been a feature reques

[UPD] Filter Widget 1.1.1 (originally called Search Widget)

2006-08-21 Thread Sean Shao
Thanks to Ton Kuyper of Digital Media Partners [www.dmp-int.com] for submitting code changes. - Multiple Filter Widgets can be used on a single card - Filter Widget is easily resized using the resize handles http://shaosean.tk/ OR http://shaosean.wehostmacs.com

way OT bass players ... was filter without empty

2008-02-14 Thread Mick Collins
Yep, except I am a bass violin player (unless you count the Ashbory which, in my book really isn't a bass guitar, although it does have some things in common). I have played classical, now I play jazz, avante-garde, meditational (all the previous improv), and some fiddle music, but that I

Re: Must be a way: escaping filter patterns

2009-05-01 Thread Sarah Reichelt
On Sat, May 2, 2009 at 6:11 AM, David Bovill wrote: > Still trying to figure this out - my hack ends up failing - I've returned a > list of child names from XML, and wish to filter out all the "" elements > which appear like tr[1], tr[2]. So I want to filter using &q

Re: Must be a way: escaping filter patterns

2009-05-01 Thread David Bovill
OK - thanks! 2009/5/1 Sarah Reichelt > On Sat, May 2, 2009 at 6:11 AM, David Bovill wrote: > > Still trying to figure this out - my hack ends up failing - I've returned > a > > list of child names from XML, and wish to filter out all the "" > elements >

Re: Must be a way: escaping filter patterns

2009-05-02 Thread Bernard Devlin
does this work? filter tXmlText with "*tr[[2]]" When you wrote to the list about this problem before, I did a quick test and that seemed to work, so I thought "maybe I don't get the problem". I'm not sure if it will work using "[[*]]" Bernard On F

Re: Must be a way: escaping filter patterns

2009-05-02 Thread David Bovill
Afraid not :( 2009/5/2 Bernard Devlin > does this work? > > filter tXmlText with "*tr[[2]]" > > When you wrote to the list about this problem before, I did a quick > test and that seemed to work, so I thought "maybe I don't get the > problem

Re: Must be a way: escaping filter patterns

2009-05-02 Thread Jim Ault
The technique I have used in the past is to do a replace "[" with "†" in blockOfLines replace "]" with "^" in blockOfLines filter blockOfLines without "tr††*^^" --and in case there are kept lines that had the '[]' chars replace "

Re: Must be a way: escaping filter patterns

2009-05-03 Thread David Bovill
Thanks Jim - good to confirm that there is no way to escape chars for filter expressions. I guess this is the sort of thing that should be posted as a note to the dictionary. 2009/5/2 Jim Ault > The technique I have used in the past is to do a > > replace "[" with "†&qu

Re: Must be a way: escaping filter patterns

2009-05-03 Thread Bernard Devlin
I think this does what you require: put "tr[1]" & cr after tList put "tr(2)" & cr after tList put "tr[3]" & cr after tList put "tr[a]" & cr after tList put "td[1]" & cr after tList put "tra[1]" & cr after tList fi

Re: Must be a way: escaping filter patterns

2009-05-03 Thread David Bovill
after tList put "td[2]" & cr after tList put "tra[3]" & cr after tList put "tr[11]" & cr after tList filter tList without "th?[0-9]]" put tList But it is possible that there are more than 9 rows - in which case it will fail. What you really want to

Re: compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread Dar Scott
On Apr 17, 2005, at 10:20 AM, jbv wrote: Has anybody succeeded in using the compress() function on PDF data stream using the FlateDecode filter ? According to both docs (PDF ref and Rev), both compress() and FlateDecode are built around the public domain zlib library, but I didn't mana

Re: compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread jbv
Dar, > > The Revolution compress() creates gzip which has a wrapper around the > zlib format. You can dig into the binary and do primitive zlib > compression. And decompression IF you know the length of the result. > Thanks for the reply. Could you please elaborate a bit on this, especially "

Re: compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread Dar Scott
On Apr 17, 2005, at 2:53 PM, jbv wrote: The Revolution compress() creates gzip which has a wrapper around the zlib format. You can dig into the binary and do primitive zlib compression. And decompression IF you know the length of the result. Thanks for the reply. Could you please elaborate a bit

Re: compress(), zlib and FlateDecode filter in PDF stream

2005-04-17 Thread Dar Scott
On Apr 17, 2005, at 4:00 PM, Dar Scott wrote: If those deflate blocks are what you want, then this should do it. If you need zlib, then you need to wrap that. Dar -- ** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ A Sponsor

Re: way OT bass players ... was filter without empty

2008-02-14 Thread Richard Gaskin
Mark Smith wrote: >> Klaus Major >> http://www.major-k.de/bass > > Cool bass site! I believe Mark Wieder is also an earth shaker - any > others here? I haven't been in a band since college. These days, with music I'm more of an end-user (though I have a couple friends trying to coax me back i

Re: way OT bass players ... was filter without empty

2008-02-14 Thread Klaus Major
Hi Richard, Mark Smith wrote: >> Klaus Major >> http://www.major-k.de/bass > > Cool bass site! I believe Mark Wieder is also an earth shaker - any > others here? I haven't been in a band since college. These days, with music I'm more of an end-user (though I have a couple friends trying to

Re: way OT bass players ... was filter without empty

2008-02-15 Thread J. Downs
Cool bass site! I believe Mark Wieder is also an earth shaker - any others here? Did both my undergrad and master's in music, so I was playing quite a variety of instruments. Played upright bass for a bit: poorly. :P Spent more time with the electric bass—some jazz, mostly rock—but ha

Re: way OT bass players ... was filter without empty

2008-02-15 Thread Len Morgan
J. Downs wrote: Cool bass site! I believe Mark Wieder is also an earth shaker - any others here? Well I built a recording studio. Let's see...we've got a bass or two, a drummer... any guitarist and/or keyboard players? Maybe we can create a virutal "gig" using Rev? len morgan ___

Re: way OT bass players ... was filter without empty

2008-02-18 Thread Kay C Lan
On Feb 19, 2008 10:22 AM, Judy Perry <[EMAIL PROTECTED]> wrote: > Just bought myself a new (used) open hole, sterling head > flute ('cuz I always wanted one) Sorry, but the mention of jazz and flute in the same thread immediately brings to mind the scene from Anchorman with Will Ferrell. ___

Re: way OT bass players ... was filter without empty

2008-02-18 Thread Judy Perry
You (all) should! I played flute & piccolo (and recorder... and piano for about a year and a half) from 5th grade through high school and am just now picking it up again. Just bought myself a new (used) open hole, sterling head flute ('cuz I always wanted one) and had my picc serviced and am work

Re: way OT bass players ... was filter without empty

2008-02-20 Thread Richard Gaskin
Mark Wieder wrote: Richard- Klaus: no MP3s at your site? ...and no mp3s on my site either... apparently JaguarPC has been fiddling with server things again and lost all my website files so I'll have to upload them again, but I've got some at http://cdbaby.com/cd/alephnull if anyone cares.

Re: way OT bass players ... was filter without empty

2008-02-20 Thread Mark Wieder
Richard- > Klaus: no MP3s at your site? ...and no mp3s on my site either... apparently JaguarPC has been fiddling with server things again and lost all my website files so I'll have to upload them again, but I've got some at http://cdbaby.com/cd/alephnull if anyone cares... -- Mark Wieder

Re: way OT bass players ... was filter without empty

2008-02-20 Thread Mark Wieder
Richard- > Is there an option to purchase a download rather than wait for a physical > CD? Not that I'm aware of. I don't think cdbaby has that capability, but then I've never really followed up on it to find out. > PS: Really nice cover art. Gorgeous. Yes, thanks. I'm quite pleased with the

Re: way OT bass players ... was filter without empty

2008-02-21 Thread Len Morgan
Just in case you want to hear more of George, you can visit his site at georgebancroft.net. I've posted some of the new stuff we are working on for the 2nd CD (full band this time). Don't mean to advertise here but while we were on the subject of music len __

Filter by Item and What gives with my field?

2009-07-26 Thread Tom Cole
Dear Group, I have two items that I hope someone can help on. One is very straightforward: I need to filter a field by the items. That is, I have a field with zillions of records with four items (comma delimited) itemone,itemtwo,itemthree,itemfour I want itemfour to disappear after I put

filter and reorder a list via field on other stack

2005-05-11 Thread rev
earch List" with a field "ItemListFilter" and a button with a script on mouseUp filter fld "ItemList" of stack "tFileName" with ( "*" & field "ItemListFilter" of stack "Search List" & "*" ) --Note the 2 lines ab

Re: Filter by Item and What gives with my field?

2009-07-26 Thread Sarah Reichelt
> I have two items that I hope someone can help on. One is very > straightforward: I need to filter a field by the items. > That is, I have a field with zillions of records with four items (comma > delimited) > > itemone,itemtwo,itemthree,itemfour > > I want itemfour to d

Re: Filter by Item and What gives with my field?

2009-07-26 Thread Mark Wieder
Tom- Sunday, July 26, 2009, 4:23:36 PM, you wrote: > I want itemfour to disappear after I put the field into a variable. > The problem is that item four is never the same, so I can't filter by > a specific string. I'm sure there must be a way to just have all of > item fo

Re: Filter by Item and What gives with my field?

2009-07-26 Thread Mark Wieder
Sarah- Sunday, July 26, 2009, 5:22:50 PM, you wrote: >delete variable tData[4] ! That was the part I couldn't come up with... The only danger with this is that the first three items in each line have to define a unique key - any duplicates will be dropped, but that's the array-based approac

Re: Filter by Item and What gives with my field?

2009-07-27 Thread Robert Brenstein
On 26.07.09 at 16:23 -0700 Tom Cole apparently wrote: Dear Group, I have two items that I hope someone can help on. One is very straightforward: I need to filter a field by the items. That is, I have a field with zillions of records with four items (comma delimited) itemone,itemtwo

Re: filter and reorder a list via field on other stack

2005-05-12 Thread Sivakatirswami
Well, if there is any textual relationship between the actual content of the line on the list and the card itself, then I have (ever since hypercard and supercard days) *always* named my cards programatically and then using the clicktext function on the index listings: go to card (the clicktext

ask file with filter/type - how to read the selected type ?

2008-06-10 Thread viktoras didziulis
is there any way to know what file type user selects in ask file with filter dialog ? I need to specify different handlers for file "Save as", and now am first asking user to select the type of a desired output (i.e. raw binary, ascii text, png image or ppm image) and next opening

Re: ask file with filter/type - how to read the selected type ?

2008-06-10 Thread J. Landman Gay
viktoras didziulis wrote: is there any way to know what file type user selects in ask file with filter dialog ? I need to specify different handlers for file "Save as", and now am first asking user to select the type of a desired output (i.e. raw binary, ascii text, png image or ppm

Re: ask file with filter/type - how to read the selected type ?

2008-06-10 Thread viktoras didziulis
efore asking for the path. Now I guess if I wish to avoid displaying a chain of dialogs, I have to design own custom askFile() function or handler. The only role of ask file with type or ask file with filter that is described in the dictionary seems to be limited to displaying existing filen

Re: ask file with filter/type - how to read the selected type ?

2008-06-10 Thread J. Landman Gay
I didn't notice you were using "filter". But I just did a test using "with type" and it works. on mouseUp ask file "Export picture as:" with type "JPEG File|jpg|JPEG" or type "GIF File|gif|GIFf" put the result into tResult put it

Re: ask file with filter/type - how to read the selected type ?

2008-06-10 Thread viktoras didziulis
nds correct extension and directs output to a necessary processing handler. I misread your post, I didn't notice you were using "filter". But I just did a test using "with type" and it works. on mouseUp ask file "Export picture as:" with type "JPEG

Re: ask file with filter/type - how to read the selected type ?

2008-06-10 Thread Björnke von Gierke
ers/bvg/Desktop/file.txt Plain file Most likely "ask file with filter" will be marked as obsolete or discontinued in a not too distant future... Have Fun Björnke On 10 Jun 2008, at 17:57, viktoras didziulis wrote: Jacqueline, Thanks for the suggestion, still 'the result'

<    1   2   3