Drives not updated after mappings updated

Things you’d like to miss in the future...
admin
Site Admin
Posts: 59751
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Drives not updated after mappings updated

Post by admin »

Tested on Windows 10 and works fine. I don't see what could have changed or what I could change.

MBaas
Posts: 529
Joined: 15 Feb 2016 21:08

Re: Drives not updated after mappings updated

Post by MBaas »

Too bad - but I understand...

But in that case, my earlier question gets interesting:
...is there perhaps a way I could force XY to refresh from my mapping script?
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?

BTW, just for giggles, I asked XYguru (and he lied again):
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.
______________________________________________
Happy user ;-)

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

Re: Drives not updated after mappings updated

Post by admin »

refreshdrives() ... crazy, it sounds so XY-ish, I almost feel compelled to add it just because that word is missing.

I'll consider that toolbar refresh.

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Drives not updated after mappings updated

Post by highend »

Make it a more general command like tab then :)
The data argument could be "toolbar", "drives", even "list" (which could make refreshlist obsolete)
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

MBaas
Posts: 529
Joined: 15 Feb 2016 21:08

Re: Drives not updated after mappings updated

Post by MBaas »

:tup: :tup: :tup:
______________________________________________
Happy user ;-)

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

Re: Drives not updated after mappings updated

Post by admin »

Yes, I had the same thought. But refresh is complex and there are countless parameters. Anyway, I add a primitive refresh command and hope no one wants refinements :)

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Drives not updated after mappings updated

Post by highend »

I always want refinements^^ :ghost:
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

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

Re: Drives not updated after mappings updated

Post by admin »

I know

MBaas
Posts: 529
Joined: 15 Feb 2016 21:08

Re: Drives not updated after mappings updated

Post by MBaas »

I'm happy (no, VERY happy actually) to report that "refresh" helped to solve my issue! :tup:

Many thanks for such a super-fast response! :beer:
______________________________________________
Happy user ;-)

Post Reply