For several years I have been using a simple Applescript to monitor the contents of a folder, print new files then delete these files:
------
on adding folder items to this_folder after receiving added_items
repeat with each_item in added_items
tell application "AddPrinter" to open each_item
delay 30
tell application "Finder" to delete each_item
tell application "AddPrinter"
quit
end tell
end repeat
end adding folder items to
------
After the last Mavericks update it has stopped working and gives the error message "the document m3.txt could not be opened. AddPrinter cannot open files in the text format"
The same happens for PDF files.
Is there some way to restore the previous AddPrinter functionality?
------
on adding folder items to this_folder after receiving added_items
repeat with each_item in added_items
tell application "AddPrinter" to open each_item
delay 30
tell application "Finder" to delete each_item
tell application "AddPrinter"
quit
end tell
end repeat
end adding folder items to
------
After the last Mavericks update it has stopped working and gives the error message "the document m3.txt could not be opened. AddPrinter cannot open files in the text format"
The same happens for PDF files.
Is there some way to restore the previous AddPrinter functionality?