wishing my scripts could refresh individual items in list

Features wanted...
Post Reply
autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

wishing my scripts could refresh individual items in list

Post by autocart »

see topic :cry:
meaning opposed to refreshing the whole (or visible) list

EDIT: in order to programmatically update custom column entries without having to update the column for all items.
Last edited by autocart on 24 Mar 2017 10:45, edited 1 time in total.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: wishing my scripts could refresh individual items in list

Post by bdeshi »

on the other hand, I wish my script could skip refreshing individual items.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: wishing my scripts could refresh individual items in list

Post by admin »

It wouldn't be impossible. But how to identify the cell to refresh? Full filename X column caption? Or list position X column position?

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: wishing my scripts could refresh individual items in list

Post by autocart »

admin wrote:It wouldn't be impossible. But how to identify the cell to refresh? Full filename X column caption? Or list position X column position?
The more options the better. but if thry should be limited, I'd vote for filename & column caption. :-)

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: wishing my scripts could refresh individual items in list

Post by TheQwerty »

What about having your script tag the items using one of the extra tags?

EDIT: As for Sammay's wish perhaps a new variable <cc_currentValue>? This would return the cell's current value if it exists which would allow us the ability to act on or even modify it.

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: wishing my scripts could refresh individual items in list

Post by autocart »

TheQwerty wrote:What about having your script tag the items using one of the extra tags?
I'm not sure what would be achieved by that in this thread's context?

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: wishing my scripts could refresh individual items in list

Post by TheQwerty »

autocart wrote:
TheQwerty wrote:What about having your script tag the items using one of the extra tags?
I'm not sure what would be achieved by that in this thread's context?
The active pane's active tab will automatically refresh the extra column when tagging items and you can explicitly tag only the items you want to "refresh".

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: wishing my scripts could refresh individual items in list

Post by bdeshi »

TheQwerty wrote:EDIT: As for Sammay's wish perhaps a new variable <cc_currentValue>? This would return the cell's current value if it exists which would allow us the ability to act on or even modify it.
One of my CC scripts can cause another sibling item's metadata (specifically <mtime>) to change, causing a compete list refresh: cue an infinite loop. This can't be averted even if I hide the modified date column.
Instead of your suggested <cc_currentValue>, if there were a way to set certain arbitrary data per row, then maybe I can save the last exec time, and do something with it.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: wishing my scripts could refresh individual items in list

Post by autocart »

TheQwerty wrote:
autocart wrote:
TheQwerty wrote:What about having your script tag the items using one of the extra tags?
I'm not sure what would be achieved by that in this thread's context?
The active pane's active tab will automatically refresh the extra column when tagging items and you can explicitly tag only the items you want to "refresh".
I see, could be a solution for now. I am only afraid of the limit of only 5 columns. But knowing about that now, I would be ok, if CCs stay the same atm. Thx for the hint.

Post Reply