Scripting: rich operations
Posted: 01 Nov 2008 14:27
- I'd still like a scrollto command very much.
- But one thing I would really love right now, is the ability to start a rich operation from scripting. Of course there are requirements in the source items for this to work (they all need to share a same parent), but if the items-list as source doesn't match the command could simply fail I guess. But I'd really love an extra param <path> for copyto/moveto, with <path> being the equivalent of the search location when used in XY.
For example, I have a script currently that I use when working on different projects, and right now the script does a goto to the destination (since there's no scrollto, so it's quite slower since it's a network location) and then run a search on the source location (inc. subfolders). But then I need to manually locate & select all items that have been created/modified since last time and that needs to be copied, then I drag&drop them to do the rich copy.
My script can (and very soon will) take care for me of determining which items have been created/modifed, and so needs to be copied. But the thing is, I can't simply do a copyto with that list of items because obviously there's a structure to be preserved and I need to do a rich copy.
I guess I could sort the list, select items in root folder and copyto there, select items in a subfolder and do a copyto there, and so on for all different folders, but that sounds very much like a PITA, really. If I could just add an extra param <path> (source "root" folder) to copyto to get a rich operation going, that would really be awesome!
- But one thing I would really love right now, is the ability to start a rich operation from scripting. Of course there are requirements in the source items for this to work (they all need to share a same parent), but if the items-list as source doesn't match the command could simply fail I guess. But I'd really love an extra param <path> for copyto/moveto, with <path> being the equivalent of the search location when used in XY.
For example, I have a script currently that I use when working on different projects, and right now the script does a goto to the destination (since there's no scrollto, so it's quite slower since it's a network location) and then run a search on the source location (inc. subfolders). But then I need to manually locate & select all items that have been created/modified since last time and that needs to be copied, then I drag&drop them to do the rich copy.
My script can (and very soon will) take care for me of determining which items have been created/modifed, and so needs to be copied. But the thing is, I can't simply do a copyto with that list of items because obviously there's a structure to be preserved and I need to do a rich copy.
I guess I could sort the list, select items in root folder and copyto there, select items in a subfolder and do a copyto there, and so on for all different folders, but that sounds very much like a PITA, really. If I could just add an extra param <path> (source "root" folder) to copyto to get a rich operation going, that would really be awesome!