Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
BarrySumpter
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Post
by BarrySumpter » Sun May 08, 2011 11:56 am
Code: Select all
put pList into tList
filter tList without "."
filter tList without ".."
##---------------------------------------------
if the hilite of btn chkMOV and the hilite of btn chkMP4 then
## answer "chkMOV"
Filter tList with "*.mov" -- this shortlist
Filter tList with "*.mp4" -- but this just clears the list
end if
##---------------------------------------------
If I filter witn one of the other its ok.
But if I filter with both the list is blank.
Any help would be greatly appreciated.
Last edited by
BarrySumpter on Wed Jul 27, 2011 7:52 am, edited 1 time in total.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
jmburnod
- VIP Livecode Opensource Backer

- Posts: 2729
- Joined: Sat Dec 22, 2007 5:35 pm
-
Contact:
Post
by jmburnod » Sun May 08, 2011 1:49 pm
Hi,
Filter change the content of tList. You must keep it for the next filter
Something like that :
Code: Select all
if the hilite of btn chkMOV and the hilite of btn chkMP4 then
## answer "chkMOV"
put tList into tbufMov --•• keep tList
Filter tbufMov with "*.mov" -- this shortlist
put tList into tbufMp4
Filter tbufMp4 with "*.mp4" -- but this just clears the list
put tbufMov&return&tbufMp4 into tListfinal
end if
Jean-Marc
https://alternatic.ch
-
BarrySumpter
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Post
by BarrySumpter » Sun May 08, 2011 2:08 pm
Code: Select all
if the hilite of btn chkMOV and the hilite of btn chkMP4 then
## answer "chkMOV"
put tList into tbufMov --•• keep tList
Filter tbufMov with "*.mov" -- this shortlist
put tList into tbufMp4
Filter tbufMp4 with "*.mp4" -- but this just clears the list
put tbufMov & return & tbufMp4 into tListfinal
end if
Of course!
Funny how that is so logical now that I can see the solution.
Thanks heaps for that.
The two Filter Withouts made me beliece I should be able to have two filter withs.
Last edited by
BarrySumpter on Wed Jul 27, 2011 8:12 am, edited 1 time in total.
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.
-
BarrySumpter
- Posts: 1201
- Joined: Sun Apr 24, 2011 2:17 am
Post
by BarrySumpter » Mon May 09, 2011 3:30 am
I've just changed the code around in the Video Library example.
Adding MOV and MP4 filters.
Anyone know if there are more for QuickTime.
And also on winxp is there a difference between the video control when I have just QuickTime or QuickTime Pro installed?
I chandged it to recurse folder to a full drive c:\
But its giving me the FOLLOWING ERROR:
tHE hANDLER : fILTEREDfIELES HAS REACHED THE RECURSION LIMIT OF : 400000.
EXECUTION WILL BE TERMINATED TO PREVENT HANG.
Yeah ok fair enough.
----
Also, since it processes for so long I wanted to show an hours or progress wheel.
Anyone know how to do this?
Otherwise, chasing arrows.gif freezes and the Indeterminate Prog Bars freeze during the List Files with Paths.
Anyone know how to make these continue spinnig?
-
Attachments
-
- Recursive File Lister 2.zip
- (2.61 KiB) Downloaded 221 times
All my best,
Barry G. Sumpter
Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.