Skip to main content

BARCODE

Comments

1 comment

  • Emory Dunn

    The background script handlers aren't terribly well documented, though I try to keep my blog post about them up-to-date. 

    You'll need to use the barcode handler to be notified when a barcode is scanned and then get the `barcode` property of the current document. If the folder's name is just the barcode you can easily construct the path and set it as the capture folder. 

    If the folder name is more complex you can search for the folder with something like:

    tell application "System Events"
    return first folder in theFolder whose name contains "1234"
    end tell

    Hope that helps!

    0

Please sign in to leave a comment.