Hi there,
Is there an easy way to set up Photo Supreme to automatically run a Verify All process on a designated folder when it first opens?
I have a specific folder that I import all new images to to be catalogued, processed and filed. Because that is done across multiple apps, I find myself using Verify All regularly to ensure that external changes are reflected in the Photo Supreme data.
Failing that - is there any way to assign a hotkey to the Verify All command? It doesn't appear to have a hotkey assignment at the moment.
Thank you!
'Verify All' on Specific Folder on Launch?
Re: 'Verify All' on Specific Folder on Launch?
Here is a script that you can use to start a verification. Check the constants at the top for configuration.
Save this script to a file (e.g. VerifyFolder.psc)
Then start PSU with the -runscript parameter (check the Maintenance manual) to automatically start the script when PSU starts.
Save this script to a file (e.g. VerifyFolder.psc)
Code: Select all
const
cFolderToVerify = 'C:\MyPhotos\_Import\';
cVerifyMethod = 1; // set to 0 for "Verify All"...set to 1 for "Verify Quick"
cAutoHandleResults = 0; // set to 0 for False, set to 1 for True
var
AFilePath: TCatalogFilePath;
begin
AFilePath := TCatalogFilePath.Create(nil);
try
if not PublicCatalog.EnumFilePathForFolder(cFolderToVerify, AFilePath, False) then
begin
Say2('Verification Folder not found', cFolderToVerify);
end
else
begin
VerificationService.VerifyFolder(
AFilePath.FilePath,
cVerifyMethod,
True,
vfkFull,
-1,
cAutoHandleResults = 1,
WideFormat(Translate('Verifying %s'), [AFilePath.FilePath]),
'',
''
);
end;
finally
AFilePath.Free;
end;
end;
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Re: 'Verify All' on Specific Folder on Launch?
am I doing something wrong with my parameters?
I added runScript to my normal call line but it doesn't run.
no matter what I insert in the script for a directory.
the latter is a local directory, previously on a share
I added runScript to my normal call line but it doesn't run.
Code: Select all
"C:\Program Files\IDimager Products\Photo Supreme 6\IDimagerSU.exe" -a "c:\Users\Ralf\AppData\Local\IDimager Systems, Inc\" -D "E:\PhotoSupreme DB-V6\fotos.cat.db" -runScript "E:\PhotoSupreme-Autostart\VerifyFolder.psc"
the latter is a local directory, previously on a share
Code: Select all
;cFolderToVerify = 'F:\_Import\';
;cFolderToVerify = '\\Intranetserver\Foto\_Import\';
;cFolderToVerify = '\\192.168.254.4\Foto\_Import\';
cFolderToVerify = 'D:\_Import2\';
Ralf
---------------------------------------------------------------------------------
Hobby photographer with many pictures (> 100000) of the family over generations.
(Excuse my english)
---------------------------------------------------------------------------------
Hobby photographer with many pictures (> 100000) of the family over generations.
(Excuse my english)
Re: 'Verify All' on Specific Folder on Launch?
To comment out (disable) a line you should use double slash, not a semicolon
e.g.
e.g.
Code: Select all
const
//cFolderToVerify = 'C:\MyPhotos\_Import\';
cFolderToVerify = '\\Intranetserver\Foto\_Import\';
etc
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Re: 'Verify All' on Specific Folder on Launch?
Embarrassing, that was it... Sorry for the trouble
runs perfect
runs perfect
Ralf
---------------------------------------------------------------------------------
Hobby photographer with many pictures (> 100000) of the family over generations.
(Excuse my english)
---------------------------------------------------------------------------------
Hobby photographer with many pictures (> 100000) of the family over generations.
(Excuse my english)