sepulchra Posted May 12, 2016 Share Posted May 12, 2016 Is there a workflow for importing textexpander snippets into alfred snippets? I have been searching around, but have not had much luck. Thanks, Michael Link to comment
politicus Posted May 12, 2016 Share Posted May 12, 2016 I do not think there is any workflow but can u se this tool: https://github.com/danieldiekmeier/textexpander-to-alfred3 rigrassm 1 Link to comment
danieldiekmeier Posted May 19, 2016 Share Posted May 19, 2016 Hey Guys! I am the creator of the script, and I just released it as a web app, so people not familiar with Node should have no problem converting their files: http://alfred.danieldiekmeier.de/ Thanks for your interest! <3 thanasut and heartbreak 2 Link to comment
bryanzk Posted May 19, 2016 Share Posted May 19, 2016 Hey Guys! I am the creator of the script, and I just released it as a web app, so people not familiar with Node should have no problem converting their files: http://alfred.danieldiekmeier.de/ Thanks for your interest! <3 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 Link to comment
danieldiekmeier Posted May 20, 2016 Share Posted May 20, 2016 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? Link to comment
bryanzk Posted May 20, 2016 Share Posted May 20, 2016 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? Hi Daniel, I've shared you the file via Google Drive. Really appreciate your help on this!! Best, Bryan Link to comment
danieldiekmeier Posted May 21, 2016 Share Posted May 21, 2016 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! bryanzk 1 Link to comment
bryanzk Posted May 23, 2016 Share Posted May 23, 2016 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! This is REALLY HELPFUL! Thanks a lot, Daniel! I'm hoping everyone else could benefit from your great work! Link to comment
jonniecharles Posted April 21, 2017 Share Posted April 21, 2017 On 19/05/2016 at 9:34 PM, danieldiekmeier said: Hey Guys! I am the creator of the script, and I just released it as a web app, so people not familiar with Node should have no problem converting their files: http://alfred.danieldiekmeier.de/ Thanks for your interest! <3 After receiving an email from Frown-on-my-mac this morning, and realising textexpander was disabled. I was a bit stunned. Fortunately this thread and Daniel's web app (URL in his thread above) for converting my multitude of textexpander shortcuts to Alfred snippets - solved it - and worked a treat. First time, I lost all my folders, however by quickly re-outputting them all from inside textexpander I was able to maintain folder structure as well. Brilliant thank you. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now