Jump to content

FooFourtyOne

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by FooFourtyOne

  1. 1 hour ago, Blfarris said:

    I'm trying to make this script work and I'm running into some issues. I downloaded the script to a folder that contains just the imporSmippets.py file and the exported snippets.textexpander file (from TE 5.16).

     

    When I ran the script I got 

     

    Traceback (most recent call last):

      File "./importSnippets.py", line 17, in <module>

        with open (sourceFile, 'rt') as csvfile:

    IOError: [Errno 2] No such file or directory: 'snippets.csv'

     

    So I ran > touch snippets.csv to create the file

     

    After that it ran fine, but created no output. 

     

    I'm on Big Sur 11.2.1

     

    Try this, maybe it helps

     https://bit.ly/2IgVrRH 

  2. 14 hours ago, deanishe said:

     

    Thanks for the answer. I knew this script already. I thought 4 years not updated it might not work on Alfred 4 since the description says it was designed for Alfred 3.

    Anyways, I did a little research and found out, that it is actually very easy to create these *.alfredsnippets files which one need to import snippets into Alfred 4. Since the derickfay script describes the process a little different (to put the files into the Contents folder). Which does not work anymore, because as far as I understand, the snippets get stored into a binary *.alfdb file.

     

    So I decided to write my own script and add a little spice to it: https://bit.ly/2IgVrRH 

  3. Hi,

     

    I have tons of text snippets saved in TextExpander. Like many people do. Since Alfred becomes powerful on that topic, I wanted to fully change to Alfred and leaving TextExpander behind. Why using two Apps when it can be done with just one, right? But as you can imagine, "converting" all TextExpander Snippets into Alfred by hand would be a hell of work, that I am not willing to do. As far as I'm aware, there's actually no import function to import snippets from CSV files?

     

    So that would be a very handy feature to have. Or at least some kind of script that does the job ones (which most of the times would be case anyway).

     

    I thought of coding a script myself in Python. But as I understand, snippets now get stored in a binary alfdb file.

     

    Thank you very much!

    Michael

×
×
  • Create New...