Utility compare directory

This forum is for ideas and or code to be contributed for general use.
Message
Author
D. Schuster
Posts: 38
Joined: Mon Feb 15, 2010 4:01 am

Re: Utility compare directory

#11 Post by D. Schuster »

Here is an alternative.
After selection of a directory a list of available file extensions is displayed
at the field 'Define filter'
Dieter
Attachments
SYNCRO4.zip
(386.5 KiB) Downloaded 432 times

User avatar
GeneB
Posts: 158
Joined: Sun Jan 31, 2010 8:32 am
Location: Albuquerque, New Mexico, USA
Contact:

Re: Utility compare directory

#12 Post by GeneB »

Very nice addition.
Thank you for sharing this.
-GeneB

User avatar
GeneB
Posts: 158
Joined: Sun Jan 31, 2010 8:32 am
Location: Albuquerque, New Mexico, USA
Contact:

Re: Utility compare directory

#13 Post by GeneB »

Suggestion: a push button to mark/unmark all green files, a similar button to also mark/unmark yellow files, white files, and a way to mark/unmark all files. This would save a lot of mouse clicking.

D. Schuster
Posts: 38
Joined: Mon Feb 15, 2010 4:01 am

Re: Utility compare directory

#14 Post by D. Schuster »

DS_SYNCHRO5.zip
(388.78 KiB) Downloaded 408 times
Thank for your suggestion. The idea was realized in form of Comboboxes.

Dieter

User avatar
GeneB
Posts: 158
Joined: Sun Jan 31, 2010 8:32 am
Location: Albuquerque, New Mexico, USA
Contact:

Re: Utility compare directory

#15 Post by GeneB »

Good change.
'all' is to 'none' wie 'alle' ist zu 'keine'

D. Schuster
Posts: 38
Joined: Mon Feb 15, 2010 4:01 am

Re: Utility compare directory

#16 Post by D. Schuster »

Thanks for the tranlslation help, please exchange
in line 89 and 90 'No' for 'None'.
Dieter

User avatar
unixkd
Posts: 490
Joined: Thu Feb 11, 2010 1:39 pm

Re: Utility compare directory

#17 Post by unixkd »

Hi

It will be nice to have the browse to show only marked items like :

@ .... DCCHECKBOX lMarkedOnly[1] PROMPT 'Show Only Marked Files in Directory A' ACTION {||DC_GetRefresh(GetList)}
@ .... DCCHECKBOX lMarkedOnly[2] PROMPT 'Show Only Marked Files in Directory B' COLOR GRA_CLR_BLUE ACTION {||DC_GetRefresh(GetList)}

I try using FILTER clause of DBBROWSE but it gives error like:

FILTER {|a| IF(oBrowse1:arrayElement>0, a[11] .And. lMarkedOnly[1], .T.) }

Thanks

Joe

User avatar
rdonnay
Site Admin
Posts: 4157
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Utility compare directory

#18 Post by rdonnay »

Joe -

Upload your latest source.
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 490
Joined: Thu Feb 11, 2010 1:39 pm

Re: Utility compare directory

#19 Post by unixkd »

Here it is:
Attachments
DS_SYNCHRO.zip
(5.45 KiB) Downloaded 434 times

D. Schuster
Posts: 38
Joined: Mon Feb 15, 2010 4:01 am

Re: Utility compare directory

#20 Post by D. Schuster »

Hi,
The proposal was good and was incorporated. Array element 12 is determinant for the filter, not 11.
Please find attached the new version.
One small problem: I could not define the color for DCCHECKBOX!

Dieter
Attachments
DS_SYNCHRO6.zip
(389.71 KiB) Downloaded 431 times

Post Reply