Update the current list when program is activated
-
Julian
- Posts: 48
- Joined: 16 Dec 2022 08:24
Update the current list when program is activated
Very often I work with my files and in XY the directory is outdated. New files are not displayed automatically.
I understand the directory watch event is difficult to implement but it should be pretty easy to execute the F5 action in the windows WM_ACTIVATE message.
I understand the directory watch event is difficult to implement but it should be pretty easy to execute the F5 action in the windows WM_ACTIVATE message.
-
RalphM
- Posts: 2086
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Update the current list when program is activated
You might want to check out CEA (Custom Event Actions) where you can set whatever you want to happen on location changes and so much more.
Ralph 
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
admin
- Site Admin
- Posts: 66093
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Update the current list when program is activated
Very often? It happens here very rarely and only in connection with programs that fail to notify Windows when they create or change a file. So can you talk about the context?
FAQ | XY News RSS | XY X
-
eil
- Posts: 1864
- Joined: 13 Jan 2011 19:44
Re: Update the current list when program is activated
Just to be sure, check that you have View > Auto-Refresh enabled.
Win 7 SP1 x64 100% 1366x768|1900x1080
-
Julian
- Posts: 48
- Joined: 16 Dec 2022 08:24
Re: Update the current list when program is activated
"Automatisch aktualisieren" has a check mark.
I now toggled that setting off-on - I have to check when it happens. With notepad I cannot reproduce now.
I now toggled that setting off-on - I have to check when it happens. With notepad I cannot reproduce now.
-
autocart
- Posts: 1378
- Joined: 26 Sep 2013 15:22
Re: Update the current list when program is activated
I also notice that the auto refresh does not always work 100 % of the time. I would say, it works >95 %, though. If it fails, then I think it mostly fails in OneDrive folders.
Anyway, as you indicate yourself, my life experience also tells me that XY is not the only software that sometimes struggles with refresh issues. A refresh on activate may sound nice but with long lists or on network paths, I am not sure if that could cause delays on each activation. Maybe not, but that thought just crossed my mind. Maybe as a tweak for the brave?
Anyway, as you indicate yourself, my life experience also tells me that XY is not the only software that sometimes struggles with refresh issues. A refresh on activate may sound nice but with long lists or on network paths, I am not sure if that could cause delays on each activation. Maybe not, but that thought just crossed my mind. Maybe as a tweak for the brave?
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
Julian
- Posts: 48
- Joined: 16 Dec 2022 08:24
Re: Update the current list when program is activated
I can reproduce the problem like this:
Write text.docx (i.e. with Word)
Use right drag (or CTRL C,V) to copy to a new file (this creates "text-kopie.docx")
Rename (F2) "text-kopie.docx" to "text.zip"
Double click on text.zip to open 7-zip
Use the extract button and extract to a sub folder called "text"
Close 7-ZIP
>>> The sub folder "text" is not there in XY
Write text.docx (i.e. with Word)
Use right drag (or CTRL C,V) to copy to a new file (this creates "text-kopie.docx")
Rename (F2) "text-kopie.docx" to "text.zip"
Double click on text.zip to open 7-zip
Use the extract button and extract to a sub folder called "text"
Close 7-ZIP
>>> The sub folder "text" is not there in XY
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Update the current list when program is activated
Reproduced this, see the .gif...
You do not have the required permissions to view the files attached to this post.
One of my scripts helped you out? Please donate via Paypal
-
Julian
- Posts: 48
- Joined: 16 Dec 2022 08:24
Re: Update the current list when program is activated
Yes, it works when you create a new file.
It never works when I do this before I open the file
Use right drag (or CTRL C,V) to copy to a new file (this creates "text-kopie.docx")
I do not want to proove myself right here, I want to give the developer a possibility to track down this glitch.
Edit: Sorry - and thanks for showing the glitch in the GIF
It never works when I do this before I open the file
Use right drag (or CTRL C,V) to copy to a new file (this creates "text-kopie.docx")
I do not want to proove myself right here, I want to give the developer a possibility to track down this glitch.
Edit: Sorry - and thanks for showing the glitch in the GIF
Last edited by Julian on 19 Dec 2023 08:53, edited 1 time in total.
-
autocart
- Posts: 1378
- Joined: 26 Sep 2013 15:22
Re: Update the current list when program is activated
Maybe I misunderstand you, but highend is supporting your case by showing in his GIF that you are correct.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
admin
- Site Admin
- Posts: 66093
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Update the current list when program is activated
I could repro it once and then never again.
I see nothing in XY I could do about it.
FAQ | XY News RSS | XY X
-
Julian
- Posts: 48
- Joined: 16 Dec 2022 08:24
Re: Update the current list when program is activated
@highend
Sorry - and thanks for showing the glitch in the GIF.
@admin - what about updating the list when XY regains the focus (see caption of this thread).
And - this is just one case where it happens, it happens in other cases, too.
For me quite frequently. Sometimes I have new folders in the list, but they are not in the tree.
Sorry - and thanks for showing the glitch in the GIF.
@admin - what about updating the list when XY regains the focus (see caption of this thread).
And - this is just one case where it happens, it happens in other cases, too.
For me quite frequently. Sometimes I have new folders in the list, but they are not in the tree.
-
admin
- Site Admin
- Posts: 66093
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Update the current list when program is activated
No, that's not practical. But there are plans to look at Refresh for a general overhaul anyway.
FAQ | XY News RSS | XY X
-
autocart
- Posts: 1378
- Joined: 26 Sep 2013 15:22
Re: Update the current list when program is activated
I just realized, that as a workaround, you could use a really very simple AHK script to update XY at every window activation.
If you want to try it but need help in doing so, just ask.
Code: Select all
#requires AutoHotkey v2+
while 1
{
WinWaitActive("ahk_class ThunderRT6FormDC ahk_exe XYplorer.exe")
; Sleep 20
Send "{F5}"
WinWaitNotActive("ahk_class ThunderRT6FormDC ahk_exe XYplorer.exe")
}You do not have the required permissions to view the files attached to this post.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
highend
- Posts: 14925
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Update the current list when program is activated
Please use a 
shellhook for such kind of stuff, not a while 1 loop One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club