Re: Drives not updated after mappings updated
Posted: 12 Jan 2024 10:05
Tested on Windows 10 and works fine. I don't see what could have changed or what I could change.
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
If there was any macro command that would update the drives bar, I could /feed that - but I've not found one. Did I miss anything?...is there perhaps a way I could force XY to refresh from my mapping script?
How can I refresh the list of drives?
GPT
In XYplorer, to refresh the list of drives, you can use the scripting command refreshdrives(). This command updates the list of available drives in the application, reflecting any recent changes like added or removed drives.
Here's an example of how you might use it in a script:
refreshdrives(); // This will refresh the list of drives in XYplorer
After running this script, XYplorer will re-scan the available drives on the system and update the drive list accordingly. This is particularly useful if you've recently connected a new external drive or network share, or if a drive has been removed, and you want XYplorer to recognize these changes without having to restart the application.
For more specific or advanced usage, you might want to consult the scripting documentation in XYplorer, or explore relevant discussions and examples on the XYplorer message board, as they often contain valuable insights and user-contributed scripts. My knowledge includes information up to April 2023, so for the most current features or updates, referring to the latest documentation or community resources is advisable.
tab then refreshlist obsolete)