Add Entry- Text Function

I have just started using this application and I know how to add individual keyword/functions for text entry, but I have around 86 unique keyword/text function commands I need to add, is there a way to add all of these at one time via a bulk action?


2 comments.




Andrew Langford   2 weeks ago

If your keywords and text functions are coming from another machine, you can transfer those settings by following these instructions -- https://keybreeze.com/forum/post/23.

If you want to transfer some keywords or text functions from another machine, but not everything, you can use the export entries and import entries commands.

If these 86 unique keywords or text functions have never been added to Keybreeze Desktop in the past, you could try creating your own export file, which is a text file with a .kpack extension. You would need to format your keywords and text functions in a JSON object like the following.

[
{
"entry": "Replace this with the name of the text function",
"target": "function:Replace this with the name of the text function",
"the_path": "",
"type": "text function",
"option_name": [
"text"
],
"option_value": [
"Replace this with the content of the text function"
]
},
{
"entry": "Replace this with the keyword name",
"target": "Replace this with the target",
"the_path": "",
"type": "keyword",
"option_name": [],
"option_value": []
}
]

 

If you save that as a text file with a .kpack extension, you can run the import entries command to do a bulk import of that data. Creating this file manually can be a challenge though. The easiest option would likely be to use the add command to add each keyword or text function individually. Once they are in the proper format, you can export them or back up the files in the %appdata%\keybreeze5 directory if you want to copy them to another machine.

ecarr   1 week ago
Just to piggyback on this... I found manually adding each one is the fastest way. The kpack method Andrew explained can work but that will take more time than the ~15 minutes or less to create them one by one. (I also highly encourage using Keybreeze Folders when creating Keywords... it's a huge time saver when needing to export/import!)