Help with importing to Keep It

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Help with importing to Keep It Mon Oct 22, 2018 7:14 am • by bongobong
Hi everyone,
I've switched from Yojimbo and Evernote and I'm having trouble with scripting; I can't really work it out. I'm using Keep It and my rule used to be:

Code: Select all
set this_file to theFile

tell application "Evernote.app"
   activate
   «event EVRNcrnt» given «class kfil»:theFile, «class Ennb»:{"PDFs"}, «class Engg»:{"HMRC"}
end tell


But now I need to switch to Keep It. I've contacted the developer but feel like I've hassled him/her enough so I wanted to see whether anyone on here can help me.

The dev said "You can use "add files" for that.

add files [list of files] with tags {"tag 1", "tag 2"} "

And added this: Image

I've tried swapping out the terms but my scripting knowledge is beyond poor. Can anyone help me?
Thanks.
bongobong
 
Posts: 8
Joined: Sat Oct 10, 2015 6:40 am

Re: Help with importing to Keep It Mon Oct 22, 2018 11:33 am • by Mr_Noodle
It looks like that AppleScript is missing a dictionary needed to interpret those entities. Also, the image is not coming through.

Not sure how Keep It figures into this. There's no reference to it in the script. Can you go into how this all ties together?
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Help with importing to Keep It Mon Oct 22, 2018 1:32 pm • by bongobong
Oh there's a dictionary for Keep It
it's weird that it's not coming through
Her's the link:
https://www.dropbox.com/s/6cwfrguo86q3v3z/Keep%20It%20dictionary.png?dl=0
bongobong
 
Posts: 8
Joined: Sat Oct 10, 2015 6:40 am

Re: Help with importing to Keep It Tue Oct 23, 2018 10:57 am • by Mr_Noodle
Again, not sure how Keep It is applicable here. The script seems to be talking to Evernote and for whatever reason, whatever program you copied that script text from does not have access to the AppleScript dictionary.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Help with importing to Keep It Tue Oct 23, 2018 12:23 pm • by bongobong
Ah. Sorry I think I must not have explained it properly. This was my rule for Evernote that I'm trying to alter to get it to import to Keep It instead.
bongobong
 
Posts: 8
Joined: Sat Oct 10, 2015 6:40 am

Re: Help with importing to Keep It Wed Oct 24, 2018 10:46 am • by Mr_Noodle
I suggest you contact the Keep It dev as it's not something I have any knowledge of. If you have problems integrating the script with Hazel then I can provide assistance but the nuts and bolts of the script are something specific to Keep It.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support