07-03-2012, 06:41 AM
On client computers import the file as shared file (the 3-rd button in the file viewer).
However on client computers it will be updated not immediately. When QM restarted or main QM file reloaded. To immediately reload main QM file, click menu File -> Recent -> first item.
To automatically reload main QM file when a shared file modified, can be used macro with file trigger, like this:
Function reload_qm_shared_file
Trigger $f 0x3F8 "\\server\sharesfolder" "shared.qml"
However on client computers it will be updated not immediately. When QM restarted or main QM file reloaded. To immediately reload main QM file, click menu File -> Recent -> first item.
To automatically reload main QM file when a shared file modified, can be used macro with file trigger, like this:
Function reload_qm_shared_file
Trigger $f 0x3F8 "\\server\sharesfolder" "shared.qml"

function event $name [$newname]
;event: 1 added, 2 removed, 4 renamed, 8 modified
;out F"{event} {name}"
MES m.style="YNn"; m.x=-1
sel mes("Shared file modified on server computer. Update it here in QM? It will reload your main QM file.[][]%s" "Quick Macros" m name)
,case 'Y'
,shutdown -5
;Also check 'Allow single instance' in Properties -> Function properties.