Customize the Output of Summarize Highlights

Ok, I did that and then it stops because it can’t find the jarfile:

“Error: Unable to access jarfile /usr/local/bin/extractHighlights.jar”

I looked for the line of code to change regarding this one, like with the other path you mentioned, but can’t find it. I tried to place this jarfile in the same folder I moved the other one to, but it didn’t work.

It is in the only line of the shell script:

java -jar /usr/local/bin/extractHighlights.jar com.jrvirtue.pdf.ExtractHighlights "$@"

Ok I think I’m getting confused between shell script and apple script. So it’s not in the apple script but I have to change it in the shell script, but I can’t open the shell script in the script editor and have to open it in terminal? This is unnecessarily complicated for someone who hasn’t ever done this before, especially for something so simple.

You can probably open the script in textedit.

It’s quite possible that complicated tasks require complicated solutions. If the task were “so simple”, it could be solved by simple means.

1 Like