Page 1 of 1

Quick Question re: custom dates

PostPosted: Sun Oct 16, 2016 8:24 am
by dorian_grey
Hello,

I want to process a file called [sometext]_2016_09_[sometext].pdf: Get |year| and |month| in separate tokens from the filename, then move the file to a certain folder, put it in a subfolder |year| and rename the file to |year|_|month|-[sometext]|extension|.

For getting |year| and |month| I created two tokens via Hazel's custom date token: My new token called "year" only contained the token |year| from the custom date section, same with my token "month" (with the respective |month| token).

Now I got an error regarding some array being 2 instead of being between 0 and 1.

I solved the problem by using the |custom text| token from Hazel, but I'd like to know why it didn't work the other way nevertheless.

Thanks

Re: Quick Question re: custom dates

PostPosted: Mon Oct 17, 2016 10:58 am
by Mr_Noodle
Can you email in to support with the full text of the error?