[quote user="Mike fox"][quote user="Euler GERMAN"]
Mike,
These settings are saved on STATE.PMJ file on your mailbox directory. Below a sample of two sorting states over the same Pmail folder:
[quote]
3LMCKVNP:3995:FOL05F9F=77,49,756,313,"220,290,114,256,52,0" (by date, unread before read, apply timezone)
3LMCKVNP:3995:FOL05F9F=77,49,756,313,"220,290,114,257,52,0" (by subject, unread before read, apply timezone)
[/quote]
Anyway, Michael just presented us with a pinch of mustard. Here we go trying to figure how W10 works...
[/quote]
Euler
Are you suggesting that I make a change to STATE.PMJ to switch to the required sort.
If so I assume the examples you give are specific to your system so are there any fixed numbers or strings in the examples you give that I should be looking for.[/quote]
Heavens, no! Please forgive me if I gave you this impression. In fact I'm against hacking Pegasus Mail configuration files despite they are mostly plain text files.
First I'd have to know exactly what those numbers mean. Some are quite easy to figure: window dimensions and column spacing, but that I underlined is clearly a bitsum. I'd need to know how the properties were mapped prior to play with it. Yes, it can be hacked but I'm really not in the mood.[;)]
So, to clarify the thing, my only intention was to point a way to see if Pegasus Mail is writing settings to the file correctly or not. I did this:
- Save a copy of STATE.PMJ file
- Open a Pmail folder and change a sort order
- Close that folder. Settings should be written to STATE.PMJ
- Compare your current STATE.PMJ with its previous saved copy (I used WinMerge)
- If a difference exist it should be highlighted
Another approach would be trying to find which application is "using" a particular file, the STATE.PMJ in this case. If you have the Process Explorer (Sysinternals/Microsoft Technet) application on hand this is quite easy:
- Run procexp.exe
- Key in Ctrl + F
- Inform the full path of STATE.PMJ, say C:\Pmail\MAIL\USERNAME\state.pmj in the Handle or DLL substring field, and click Search button
- One, more than one or none application will be listed, if any. If any application other than Pegasus Mail (or none) appear here you found your culprit.
[quote user="Mike fox"][quote user="Euler GERMAN"]<p>Mike,</p><p>These settings are saved on STATE.PMJ file on your mailbox directory. Below a sample of two sorting states over the same Pmail folder:</p><p>[quote]</p><p>3LMCKVNP:3995:FOL05F9F=77,49,756,313,"220,290,114,<u>256</u>,52,0" (by date, unread before read, apply timezone)
</p><p>3LMCKVNP:3995:FOL05F9F=77,49,756,313,"220,290,114,<u>257</u>,52,0" (by subject, unread before read, apply timezone)</p><p>[/quote] </p><p>Anyway, Michael just presented us with a pinch of mustard. Here we go trying to figure how W10 works...
</p><p>[/quote]</p><p>&nbsp;Euler
Are you suggesting that I make a change to STATE.PMJ to switch to the required sort.</p><p> If so I assume the examples you give are specific to your system so are there any fixed numbers or strings in the examples you give that I should be looking for.[/quote]</p><p>Heavens, no! Please forgive me if I gave you this impression. In fact I'm against hacking Pegasus Mail configuration files despite they are mostly plain text files.</p><p>First I'd have to know exactly what those numbers mean. Some are quite easy to figure: window dimensions and column spacing, but that I underlined is clearly a bitsum. I'd need to know how the properties were mapped prior to play with it. Yes, it can be hacked but I'm really not in the mood.[;)]</p><p>So, to clarify the thing, my only intention was to point a way to see if Pegasus Mail is writing settings to the file correctly or not. I did this:</p><ol><li>Save a copy of STATE.PMJ file</li><li>Open a Pmail folder and change a sort order</li><li>Close that folder. Settings should be written to STATE.PMJ</li><li>Compare your current STATE.PMJ with its previous saved copy (I used WinMerge)</li><li>If a difference exist it should be highlighted</li></ol><p>Another approach would be trying to find which application is "using" a particular file, the STATE.PMJ in this case. If you have the Process Explorer (Sysinternals/Microsoft Technet) application on hand this is quite easy:</p><ol><li>Run&nbsp; procexp.exe</li><li>Key in Ctrl + F</li><li>Inform the full path of STATE.PMJ, say C:\Pmail\MAIL\USERNAME\state.pmj in the Handle or DLL substring field, and click Search button</li><li>One, more than one or none application will be listed, if any. If any application other than Pegasus Mail (or none) appear here you found your culprit.
</li></ol>
-- Euler
Pegasus Mail 4.81.1154 Windows 7 Ultimate
IERenderer: 2.7.1.5 AttachMenu: 1.0.1.2
PMDebug: 2.5.8.34 BearHTML 4.9.9.6