The Neat Company Forums

Welcome to The Neat Company Forums Sign in | Join | Help
in Search

file naming?

Last post 12-29-2008, 3:14 AM by BobW. 8 replies.
Sort Posts: Previous Next
  •  05-28-2008, 6:51 PM 4540

    file naming?

    The files that are 'synced' to a folder have completely unusable names, such as NEAT 06A3E288-AA75-458A-A51A-5DC150E51DF6.pdf.  Is there any way to have these named in a useful manner?  Currently If I have a collection with 20-30 receipts, I have to open every one of them to find the correct one to attach to a specific line item on an expense report.  Can't really pass them on to my admin either, as they have no meaning without opening each one.

     

    Any ideas? 

  •  05-29-2008, 12:14 PM 4549 in reply to 4540

    Re: file naming?

    I second this as an enhancement. 

    File system access to those PDFs will make NR more like a paperless filing cabinet than a database when the situation arises when you need to access a pdf outside the NR interface.
  •  05-31-2008, 6:16 AM 4560 in reply to 4549

    • BobW is not online. Last active: 2009-01-06, 2:06 AM BobW
    • Top 10 Contributor
    • Joined on 04-21-2008
    • Phoenix, AZ, USA
    • MVP

    Re: file naming?

    I threw together a simple workflow that will do the job for you. You can download it from here:

    <http://www.trivectus.com/Downloads/temp/RenameNEATReceiptSensibly.zip>

    Deflate the zip archive, then place the application it contains into:

    ~/Library/Workflows/Applications/Folder Actions/

    Create any folders in the path that don't already exist. Then, configure the newly installed workflow as a Folder Action on the folder where you save the receipt PDFs (right-click, or control-click, on the folder, and you'll see the appropriate menu commands). Now, when a receipt is saved into that folder, it will automatically be renamed. For example, I just did a test where this:

    985A78A8-C370-4489-BAF4-19BB187405E7.pdf

    became this:

    NEAT Receipt-The Melting Pot Thu Mar 20 2008 $141.59.pdf

    If you prefer to do things manually in batches, here's another version:

    <http://www.trivectus.com/Downloads/temp/RenameSelectedNEATReceiptsSensibly.zip>

    Install this one to:

    ~/Library/Workflows/Applications/Finder/

    Again, create the path folders as necessary. Then just select a bunch of PDF receipts in the Finder, right-click (or control-click) on them, and select the rename script from the Automator menu. The PDF files will all be renamed right in place, and any non-PDF files that are selected will be ignored.

    I'll leave these posted for a while to give folks a chance to grab 'em. Hopefully, NR itself will come through in the not-too-distant future with a baked-in solution.

    BTW, I've only tested these under 10.5; I have no idea whether they'll work under 10.4. At the very least, they're quite unlikely to cause any harm under 10.4; they just may not work. (Of course, please make sure you're working only with data that you can restore, no matter what OS you're using!)

    Hope this helps some of you....

  •  09-11-2008, 4:31 PM 5174 in reply to 4560

    Re: file naming?

    This is a fantastic tool, but I'm having trouble getting it to work. I'm not very familiar with automator, so that's what's holding me up. Would you be willing to explain it a little more for me so I can get this to work? I'm running 10.5.4.
  •  09-12-2008, 4:02 AM 5177 in reply to 5174

    • BobW is not online. Last active: 2009-01-06, 2:06 AM BobW
    • Top 10 Contributor
    • Joined on 04-21-2008
    • Phoenix, AZ, USA
    • MVP

    Re: file naming?

    Well, I can try... can you tell me more specifically what you've done and where you're having trouble?
  •  09-29-2008, 2:23 AM 5231 in reply to 4560

    • BobW is not online. Last active: 2009-01-06, 2:06 AM BobW
    • Top 10 Contributor
    • Joined on 04-21-2008
    • Phoenix, AZ, USA
    • MVP

    Re: file naming?

    Well, it looks like this is no longer needed as of 1.1. I don't remember seeing the change documented (though I've not looked at the release docs recently), but when I dragged a receipt out as a test, I got a file with this name: "Receipt-Costco Gas Mon Sep 22 2008 $78.14.pdf".
  •  11-04-2008, 3:25 PM 5407 in reply to 5231

    Re: file naming?

    I figured out the issue- you have to open these scripts in Automator, then go to Save As Plug In... then select Finder or Folder action depending on which one you are using.

     

    Question- how do we edit these scripts?  My automator/applescript knowledge is decent, I don't know how to get into the script to change a couple things.

     Also, I don't see where 1.1 fixed this issue- I still have ugly names with 1.1.4.

     

    Thanks for your experimentation on this!

  •  11-19-2008, 6:37 PM 5465 in reply to 5231

    Re: file naming?

    This is only fixed for drag'n'drop exporting, not the library folder sync.  Glad they've got the right idea with the dragged receipts though, it's a start.
  •  12-29-2008, 3:14 AM 5663 in reply to 5407

    • BobW is not online. Last active: 2009-01-06, 2:06 AM BobW
    • Top 10 Contributor
    • Joined on 04-21-2008
    • Phoenix, AZ, USA
    • MVP

    Re: file naming?

    hunterhicks:

    Question- how do we edit these scripts?

    Just double-click the file to open it in Automator; you should see the actions listed and available to be edited. I'm just using the Apple-supplied rename action right now; if you wanted, you could instead write a separate AppleScript script or shell script to do something fancier and then call that instead. In fact, my first version did use a shell script for greater flexibility, but in the end, I opted for the simplicity of Apple's Automator action.

View as RSS news feed in XML