This seems to be a continuation of
http://forums.camerabits.com/index.php?topic=5169.0I am using PM 4.6.6 on Windows 7 x32
I have a Stationery Pad that defines this expression to process the filename "donation2010_DEP03_05.tif"
{filenamebase:-13,4} Donations Deposit {filenamebase:-5,2} Page {filenamebase:-2,2} And this, when applied, results in a caption of
2010 Donations Deposit 03 Page 05Works great, so I do the same for the keywords:
SMCORG; {filenamebase:-000013,4}; Page_{filenamebase:-00002,000002}; deposit_{filenamebase:-000005,000002};
DEPOSIT{filenamebase:-00005,00002}; Clinic; donationWhich should result in the keywords:
SMCORG; 2010; Page_05; deposit_03; DEPOSIT03; Clinic; donation(Note that, per the previous posting, I have changed the keyword separator to semicolon)
When I save the Stationery Pad, and reopen it, the field changes to
SMCORG; {filenamebase:-000013,4},Page_{filenamebase:-00002,000002},deposit_{filenamebase:-000005,000002},DEPOSIT{filenamebase:-00005,00002}; Clinic; donationwhich is really 4 keywords:
SMCORG
{filenamebase:-000013,4},Page_{filenamebase:-00002,000002},deposit_{filenamebase:-000005,000002},DEPOSIT{filenamebase:-00005,00002}
Clinic
donationSO I edited it again, replacing the bad commas with " ;; ; ; ; ;; ;" thinking that multiple semicolons in a sequence with spaces might trigger the parser to behave...
Reload:
SMCORG; {filenamebase:-000013,4},Page_{filenamebase:-00002,000002}; deposit_{filenamebase:-000005,000002},DEPOSIT{filenamebase:-00005,00002}; Clinic; donationCloser.
Now I moved the non-expression keywords between the expressions.
{filenamebase:-000013,4} ; SMCORG ; Page_{filenamebase:-00002,000002}; JUNK; deposit_{filenamebase:-000005,000002} ; donation ; DEPOSIT{filenamebase:-00005,00002}; Clinic; Reload:
{filenamebase:-000013,4}; SMCORG; Page_{filenamebase:-00002,000002}; JUNK; deposit_{filenamebase:-000005,000002}; donation; DEPOSIT{filenamebase:-00005,00002}; ClinicAnd now the string is saved. And the keywords are correct.
2011; SMCORG; Page_05; JUNK; deposit_03; donation; DEPOSIT03; ClinicI think you might still have a problem with parsing multiple keyword expressions.
Thanks for a great program!