moving files above/below/top or bottom
-
kotlmg
- Posts: 321
- Joined: 30 Jun 2010 17:14
moving files above/below/top or bottom
i need a script to shift the selected files in xyplorer viewer window to top or bottom or above or below within the same folder. can any one please give me the xyscript code for achieving the above result.
-
kotlmg
- Posts: 321
- Joined: 30 Jun 2010 17:14
Re: moving files above/below/top or bottom
i think no one has understood my question? my problem is to move selected files in xyplorer list view either to top or bottom or above 5 files or below 5 files or move one by one up or down. at present no such facility is available in xyplorer list view. i badly require this script.
-
Biggynuff
- Posts: 110
- Joined: 13 May 2010 14:08
Re: moving files above/below/top or bottom
Will this help . . .
I'm assuming that you want to move files so that the list appears however you want it to appear, with no automatic sorting of the order of files?
Ok, if that's the case view your list and do this:
Tools > Customize List > Manual Sorting
Select the above option so the menu item is 'ticked'. Now when you select a list item and drag it, an small indicator bar appears to show you where it will be dropped. You can now manually sort the list in any order you like
It wouldn't be possible to automate this with a script, because how would the script know which order you want the list items to be in?
Hope I've understood your question and that this helps
Biggy
I'm assuming that you want to move files so that the list appears however you want it to appear, with no automatic sorting of the order of files?
Ok, if that's the case view your list and do this:
Tools > Customize List > Manual Sorting
Select the above option so the menu item is 'ticked'. Now when you select a list item and drag it, an small indicator bar appears to show you where it will be dropped. You can now manually sort the list in any order you like
It wouldn't be possible to automate this with a script, because how would the script know which order you want the list items to be in?
Hope I've understood your question and that this helps
Biggy
-
kotlmg
- Posts: 321
- Joined: 30 Jun 2010 17:14
Re: moving files above/below/top or bottom
can anyone give script on the above requirement. basically i need a rename file script. before renaming i want the selected files to be ordered by modified date in ascending order and rename is to be applied.
please help me with script.
please help me with script.
-
Twisten
- Posts: 204
- Joined: 27 Apr 2008 10:30
Re: moving files above/below/top or bottom
What you want is to 'filter' explicitly so only the selected files are visible, than you want to 'sortby' the Modified column.
-
kotlmg
- Posts: 321
- Joined: 30 Jun 2010 17:14
Re: moving files above/below/top or bottom
my requirement is "'filter' explicitly so only the selected files are visible, thanto 'sortby' the Modified column" and apply rename function on the above selected result files.Twisten wrote:What you want is to 'filter' explicitly so only the selected files are visible, than you want to 'sortby' the Modified column.
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: moving files above/below/top or bottom
>>Show only the selected items (click)<<
Possible script (as first start. Has to be adjusted to suit your needs):
See help > "Scripting Commands Reference > rename" for more.
Possible script (as first start. Has to be adjusted to suit your needs):
Code: Select all
//Show only the selected items:
filter '"selected items" ' . get("SelectedItemsNames", "|");
//sortby [column], [order (|a|d|clk)]
//Sorts by Modified in ascending order:
sortby m, a;
//call rename
//rename [mode (b|r|s|k|e)], pattern, [preview (p)], [itemlist],
rename b, '*', p;
See help > "Scripting Commands Reference > rename" for more.
-
kotlmg
- Posts: 321
- Joined: 30 Jun 2010 17:14
Re: moving files above/below/top or bottom
thanks stefan, it works.
XYplorer Beta Club