Jump to content

danieldiekmeier

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by danieldiekmeier

  1. Hi Daniel,

     

    I've shared you the file via Google Drive. 

     

    Really appreciate your help on this!!

     

    Best, 

     

    Bryan

     

    Hey Bryan, I had a look and the problem was that some of your snippets didn't have neither an abbreviation nor an expansion – they seem to be completely empty. My script didn't handle this well. I just implemented a fix on the website that simply skips these empty snippets, and your file does indeed work now. Good luck, and thanks for helping out by providing your file!

  2. Hi Daniel, 

     

    Thanks a lot for your web app. Really helpful!

     

    Actually I've met some problem. 

     

    I have 2 groups in Text Expander.  First I exported the first group and used your web-app and converted successfully.. Then I tried to convert the 2nd group but failed, and got the error message as : ERR_INVALID_RESPONSE

     

    After that I merged the 2 groups in 1 and exported it, this time I was trying to be smarter to use safari to get the job done. But when I uploaded, the browser automatically downloaded a html file with the content like msg below: 

     

     

    TypeError: Cannot read property 'replace' of undefined

       at transformSnippet (/home/danjel/te2a3-server/node_modules/textexpander-to-alfred3/textexpander-to-alfred3.js:31:35)
       at Array.map (native)
       at textexpander2Alfred (/home/danjel/te2a3-server/node_modules/textexpander-to-alfred3/textexpander-to-alfred3.js:69:6)
       at /home/danjel/te2a3-server/index.js:43:3
       at Layer.handle [as handle_request] (/home/danjel/te2a3-server/node_modules/express/lib/router/layer.js:95:5)
       at next (/home/danjel/te2a3-server/node_modules/express/lib/router/route.js:131:13)
       at Array.<anonymous> (/home/danjel/te2a3-server/node_modules/multer/lib/make-middleware.js:52:37)
       at listener (/home/danjel/te2a3-server/node_modules/multer/node_modules/on-finished/index.js:169:15)
       at onFinish (/home/danjel/te2a3-server/node_modules/multer/node_modules/on-finished/index.js:100:5)
       at callback (/home/danjel/te2a3-server/node_modules/multer/node_modules/on-finished/node_modules/ee-first/index.js:55:10)

     

     

    Just want you know what happened. Thanks again for your effort!!!

     

    Best, 

     

    Bryan

     

    Based on the Error message, it seems to be a problem with your file. The undefined variable is the plain text part of the snippet. Maybe the error occurs if your TextExpander snippet is RichText or images? Can you upload the file somewhere and send it to me, so I can have a look?

×
×
  • Create New...