Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to trigger scanning automatically on OS X? All I was able to find is, which is rather good, only that it can scan into pdfs. I don't feel like adding support for jpegs myself.

Can I scan documents with either with a terminal command or applescript?

share|improve this question
@slhck thanks, that would presumably work, but it's somewhat hacky solution. I'm kind of hoping for a better automation, one that would not interrupt users work. Will have to use this though if nothing else pops up. – Mikulas Dite Nov 19 '13 at 20:30
maybe there's something to hide a window. like for windows there's hstart by ntwind, but maybe there is something for osx. or something in applescript that hides the window – barlop Nov 20 '13 at 7:30
user285892 - Are you still looking for a solution? I can add a -jpg option to scanline relatively easily if you still need it. – Canadian Luke Dec 31 '13 at 18:21
@CanadianLuke indeed I am. You will be most awesome if you actually implement it :) I looked at the repo and as a matter of fact I tried to implement jpeg output. I suppose it would be handled somewhere around… but then again I have no idea. Thank you :) – Mikulas Dite Jan 2 '14 at 9:15
up vote 3 down vote accepted

I have added a -jpeg / -jpg option to scanline. Note that the comment above was from me, but @CanadianLuke reposted it as a comment because it was "not an answer". Hopefully this is considered an answer -- here's a direct link to download the scanline binary with -jpg support:

share|improve this answer
Thank you very much :) This utility of yours is great. – Mikulas Dite Jan 3 '14 at 18:41
Glad someone else finds it useful. Good luck! – klep Jan 3 '14 at 18:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.