Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 3823

Total Commander (English) • File list color refresh

$
0
0
Hello,

I've configured a custom color for 'blocked' files (using Colors - tc plugin, ZoneId=3) and added a menu button to unblock files using a PowerShell script. The menu button config is a simple custom command to run PowerShell executable:

Code:

COMMAND    : C:\Program Files\PowerShell\7\pwsh.exePARAMETERS : -WindowStyle Hidden
with the following added as a param for the menu button itself:

Code:

-NoProfile -File "D:\Program Files\totalcmd\__PS57\unblock.ps1" %P
It works ('unblocks' files), but... The file list does not refresh until I change directories - files, although unblocked, are still marked in the color I configured for the blocked ones. 'Reread Source' doesn't work, I also tried keybinds related to refreshing.

I tried my Google-fu, but the only thing I found (and I'm not even sure if it's related) is this: viewtopic.php?t=79591

Anyone with similar experience could shed light on what am I missing?

Statistics: Posted by ARCHETYPE — 2025-02-18, 18:08 UTC



Viewing all articles
Browse latest Browse all 3823

Trending Articles