Multi Commander > Support and Feedback
Filter + Custom commands broken?
Jungle:
Ulfhednar
Just one addition. You may also create filter (Configuration > Filters...) and use
--- Code: ---MC.Explorer.Selection.Select FILTERID=your_filter_id
--- End code ---
Ulfhednar:
Thanks Mathias.
I was wondering about interconnectivity & your explanation makes it much clearer to me - the consideration of depth/layer at which these operate is something I am aware of. But I wasn't absolutely clear. Maybe now fewer headaches for me. :D
Theoretically I could write a MS script that
selects zips (MS)
calls 7zip to extract & overwrite all older items (ext cmd)
selects zips (MS)
deletes the zips (CC)
I do not need to use a CC or external command but in that instance it should be possible.
I assume that that set of instructions could be improved by using MS alone & I can also try adding custom filters to the script via FilterLoadById.
Thanks Jungle ,I had been thinking of custom filters. In the example above that could easily allow me select zips from a certain date or size perhaps.
MC has become a hobby now, a toolbox to play with. As usual I am trying to see ways of using these new features a) that are immediately useful to me & b) that are something I can play around with.
Mathias (Author):
--- Quote from: Ulfhednar on May 15, 2016, 13:02:56 ---Thanks Mathias.
I was wondering about interconnectivity & your explanation makes it much clearer to me - the consideration of depth/layer at which these operate is something I am aware of. But I wasn't absolutely clear. Maybe now fewer headaches for me. :D
Theoretically I could write a MS script that
selects zips (MS)
calls 7zip to extract & overwrite all older items (ext cmd)
selects zips (MS)
deletes the zips (CC)
I do not need to use a CC or external command but in that instance it should be possible.
I assume that that set of instructions could be improved by using MS alone & I can also try adding custom filters to the script via FilterLoadById.
Thanks Jungle ,I had been thinking of custom filters. In the example above that could easily allow me select zips from a certain date or size perhaps.
MC has become a hobby now, a toolbox to play with. As usual I am trying to see ways of using these new features a) that are immediately useful to me & b) that are something I can play around with.
--- End quote ---
No The only other type of command MultiScript can run is CC commands. But you can execute external program from CC or MScript
As I said it can be a problem is you start processes that are run in the background becuse the script can continue before the background job is finished.
So depending on how you do it.. the call to 7zip to extract will probably start a background operation and then continue. so you might delete files before the extraction is finished.
But it depends.
Ulfhednar:
Thanks, that was pretty much what I concluded Mathias.
I could see in that example, that the script would need some way of pausing & waiting for the external program to complete before stepping forward. I had not searched to see if that kind of function was available.
So I decided it might work, it might not, but ultimately in this case better to stick to MS so I have things all synchronized.
I still have the idea that I need to be able to write great scripts like Jungle ;)
Sorry for dragging you away from Eurovision Mathias ;D
Navigation
[0] Message Index
[*] Previous page
Go to full version