Page 2 of 4

Re: Is it possible to show OneDrive file status?

Posted: 08 Sep 2019 04:04
by jupe
I also ran into this issue since I upgraded to Windows 1903, I think that Microsoft must have changed the way the sync client works (or it is just malfunctioning, I have had OneDrive issues in the past) I didn't bother fully investigating it, at the time I just quickly knocked up the below modification to the script, you may be able to improve it (regexmatches/gettokenindex etc), I never bothered because it worked well enough for my needs as is, it requires versions of XY 19.80+, so wasn't possible to be done this way at the time of the original scripts creation.

Code: Select all

      $state = property("Attrib", <cc_item>);
      if ($state Like "*M*") {
       return "<xyicons>\od.ico";
     } elseif ($state Like "*P*") {
       return "<xyicons>\od_a.ico";
     } else { return "<xyicons>\od_dl.ico"; }

Re: Is it possible to show OneDrive file status?

Posted: 08 Sep 2019 19:44
by LukeDukem
Thanks for your answer. I tried your solution, but it seems that it doesn't work really well for all files and folders... your script seems not to be "complete", it doesn't handle all attributes.
I tried to complete the script by reading out the attributes a little bit better:

Code: Select all

$state = property("Attrib", <cc_item>);
if ($state == "A") { 
    return "<xyicons>\od_dl.ico"; }
elseif ($state == "D" || $state == "DAU" || $state == "DU" || $state == "DA" || $state == "AUM") { 
    return "<xyicons>\od.ico"; }
elseif ($state Like "*P*") {
       return "<xyicons>\od_a.ico"; }
else { return "<xyicons>\od_dl.ico"; }
But my testing results are not really good... some files are not shown the same icon as in original explorer file manager...

Anybody another idea? Would be so great if xyplorer could handle this, I think more and more users are using cloud data space, so this would be a rich enhancement for ths software.

Re: Is it possible to show OneDrive file status?

Posted: 20 Sep 2019 08:35
by LukeDukem
Got nobody an idea? How can we use XYPlorer with OneDrive Status Icons? I'm shure, this would be an important feature for many users.

Re: Is it possible to show OneDrive file status?

Posted: 14 Oct 2019 20:02
by Henrique
I realy miss that function

Re: Is it possible to show OneDrive file status?

Posted: 27 Jul 2020 07:43
by tosime
I was looking for a solution and simply jumped to the last entry.
I also need a solution so I don't have to switch between Explorer and XYplorer to know the cloud status of a file or directory.

Re: Is it possible to show OneDrive file status?

Posted: 24 Sep 2020 10:27
by admin
Does this issue persist in the current release of Windows 10?

Re: Is it possible to show OneDrive file status?

Posted: 03 Sep 2022 14:49
by drctrl
Working on my side.

Re: Is it possible to show OneDrive file status?

Posted: 03 Sep 2022 19:31
by Horst
Here the claud symbol is not shown in XY.
Only the Attr column shows ALU for files only available online.
My other file manager shows it as overlay on the file icon.

Re: Is it possible to show OneDrive file status?

Posted: 04 Sep 2022 10:01
by admin
The "L" in "ALU" is FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS. Is that a reliable indicator for "only available online"?

Re: Is it possible to show OneDrive file status?

Posted: 04 Sep 2022 15:00
by Horst
admin wrote: 04 Sep 2022 10:01 The "L" in "ALU" is FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS. Is that a reliable indicator for "only available online"?
Yes, at least for me.
Only OneDrive files not yet donloaded have this attribute.

Re: Is it possible to show OneDrive file status?

Posted: 05 Sep 2022 09:00
by admin
If you run this through the address bar, do you see the cloud overlay in that list?

Code: Select all

sysicons 1, 0;

Re: Is it possible to show OneDrive file status?

Posted: 05 Sep 2022 09:09
by Horst
admin wrote: 05 Sep 2022 09:00 If you run this through the address bar, do you see the cloud overlay in that list?

Code: Select all

sysicons 1, 0;
No

Re: Is it possible to show OneDrive file status?

Posted: 05 Sep 2022 09:46
by admin
In the next beta try this: sysicons a, 0;

Re: Is it possible to show OneDrive file status?

Posted: 05 Sep 2022 12:56
by Horst
It looks like this now
Screenshot - 05.09.2022 , 12_54_57.png
Screenshot - 05.09.2022 , 12_54_57.png (11.53 KiB) Viewed 1847 times

Re: Is it possible to show OneDrive file status?

Posted: 05 Sep 2022 13:14
by admin
Well, this cloud overlay or cloud icon is apparently not available for third-party apps. It's probably embedded in Explorer.exe. So I could just emulate the cloud with an overlay I made myself. This is not nice, since all possible icon sizes have to be served.