Posts: 1,256
Threads: 292
Joined: Jul 2022
09-01-2026, 04:09 AM
(This post was last modified: 09-01-2026, 11:39 PM by Davider .)
When the folder name contains two CJK characters(e.g: 戏梦), the trigger fails to fire.
using two CJK characters as a folder name is quite common.
This problem has existed for a long time. Is there any way to solve it?
Posts: 1,256
Threads: 292
Joined: Jul 2022
I really need this trigger. Although it's not common to use two CJK characters as a file name, once it happens, I have to handle it manually.
Posts: 12,316
Threads: 144
Joined: Dec 2002
09-01-2026, 10:33 AM
(This post was last modified: 09-01-2026, 12:10 PM by Gintaras .)
Fixed in the attached qm.exe. Replace the exe and dll.
Attached Files
qm.zip (Size: 860.63 KB / Downloads: 18)
Posts: 1,256
Threads: 292
Joined: Jul 2022
load error:
Posts: 12,316
Threads: 144
Joined: Dec 2002
Different version. Replace the dll too. I added it to the same zip.
Posts: 1,256
Threads: 292
Joined: Jul 2022
09-01-2026, 12:37 PM
(This post was last modified: 09-01-2026, 12:39 PM by Davider .)
dll loaded. but Still cannot trigger.
QM ver: 2.4.12.2
Steps:
1. Create the function using the code below;
2. Create a folder named "TEST2" on the desktop.
3. Create a folder named "戏梦" on the desktop, then drag it into the "TEST2" folder.
Function
Function2
Trigger
$f 0x1001 "$desktop$\TEST2"
;\
function event $ name [$ newname]
;event: 1 added, 2 removed, 4 renamed, 8 modified
out F "{ event} { name}"
Posts: 12,316
Threads: 144
Joined: Dec 2002
Works here.
The attached qm.exe is 2.4.13.0.
Posts: 1,256
Threads: 292
Joined: Jul 2022
Posts: 1,256
Threads: 292
Joined: Jul 2022
When replacing, the following message box always pops up. Is there any impact? Can the popup window be suppressed?
Posts: 12,316
Threads: 144
Joined: Dec 2002
it's normal in this case. Version changed without running setup. Cannot be suppressed.