Hi am I using the following script:
-- Action Import.applescript
-- DevonThink Pro
-- Created by Christian Grunenberg on Tue Dec 03 2002.
-- Copyright (c) 2002-2005. All rights reserved.
property pDestinationGroup : "/#ToDo"
on adding folder items to this_folder after receiving added_items
try
tell application "DEVONthink Pro" to launch
tell application "DEVONthink Pro" to set incomingGroup to create location pDestinationGroup
repeat with theItem in every item of added_items
try
set thePath to theItem as text
if thePath does not end with ".download:" then
tell application "DEVONthink Pro" to import thePath to incomingGroup
end if
end try
end repeat
end try
end adding folder items to
Is it possible to modify it to exclude files ending in p2p in the folder with the action-script attached. I scan on one machine and use foldersync to ensure the files appear on my mac. I get a filename.pdf.p2p whilst it is transferring which then results in the proper name filename.pdf once it is transferred onto my machine.
Any help much appreciated!
Thanks,
Chris