Go Back   FlashFXP Forums > >

Custom Commands Download, share, or get help creating your own.

Closed Thread
 
Thread Tools Display Modes
Old 05-01-2005, 10:55 PM   #1
Dundee
Junior Member
 
Join Date: Dec 2004
Posts: 14
Default Custom Command

I'd like to make a command that will execute something in every subfolders of the selected folders.

This works for depth 1:

cwd %f
site rescan
cdup
Delay 5


I'd like to make it for a depth 2.
Can somebody help?



Exemple:

/MyNewAlbums/VA-80's_bests
/MyNewAlbums/VA-Rock_Classics
are selected.

With depth 1, "site rescan" will be executed in
/MyNewAlbums/VA-80's_bests
/MyNewAlbums/VA-Rock_Classics




/MyNewAlbums
/IncomingAlbums
are selected.

With depth 2, "site rescan" will be executed in
/MyNewAlbums/Britney_S-I_Suck_So_Much
/IncomingAlbums/Chopin-Greatest_hits
etc
Dundee is offline  
Old 05-01-2005, 11:49 PM   #2
DayCuts
Senior Member
FlashFXP Beta Tester
 
Join Date: Dec 2003
Posts: 421
Default

%f refers to the selected items, obviously the items in subdirs of where you execute the command wont be selected, therefor the command isn't run on them.

Being able to roll through all subdirs of selected dirs and execute the command in each would likely require scriptability. (because it would have to request a LIST then parse the results) This is something FFXP does not offer.

I wonder, are there any plans to add scriptability to flash in the future? and/or expand on the current availible 'script commands' in the custom command editor?

(perhaps with a way to call a custom command from within the custom command, the use of LIST and COMPARE within that command (after entering the subdir) could be rigged up to semi work, but i am unsure of the proper use of compare in custom commands)
DayCuts is offline  
Old 05-01-2005, 11:55 PM   #3
Dundee
Junior Member
 
Join Date: Dec 2004
Posts: 14
Default

Haha!
I now understand why there were no good exemples of custom commands!
Dundee is offline  
Old 05-02-2005, 12:45 AM   #4
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

Quote:
Originally posted by Dundee
Haha!
I now understand why there were no good exemples of custom commands!
what do you mean no good examples?
we have 5 pretty complete sets of custom commands for a few different servers...
those are pretty good examples
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Closed Thread

Tags
/mynewalbums/va-80s_bests, depth, rescan, selected, site

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
banned hache General Discussion 1 04-05-2005 07:02 AM


All times are GMT -5. The time now is 04:45 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)