Export to Devonthink from Prizmo

Hello!

Can someone tell me if there is anything wrong with this script. not working on my end.

Sorry about the copy paste but I don’t see know how to make it nicely for post.


Export to Devonthink with OCR within Devonthink using the Finereader engine.

on run argv
	if (count of argv) is greater than 0 then
		repeat with theItem in argv
			tell application id "DNtp" to launch
			try
				set thePath to theItem as text
				tell application id "DNtp"
					set theRecord to ocr file thePath to incoming group
				end tell
			end try
		end repeat
	end if
end run

You should not be trying to rely on ChatGPT to write your scripts. They are usually either broken, poorly written, or just nonsense. Your example is all three.

And for code blocks, you put three backticks as the first and last lines, e.g.,…
```
tell app “Finder” to beep 3
```

Have you purchased the Pro Pack for Prizmo?

2 Likes

yes, its all sorted, the script had to be in specific location within Prizmos files.

Thank you