The Smile Blog, With News, Tips, Photos and Other Stuff That Makes Us Smile
Posted 05/13/2009 by admin
I set it up this way a while ago (I should’ve posted it, sorry!). Works great. Textexpander with Dropbox is an awesome combo!
I’ve used an Automator workflow to create symlinks in the past for use with Dropbox.
I take it could use this to make the symlink & place in in the ~Library/Application Support folder rather than using the Terminal?
Jono: Yes, I suspect an Automator workflow to create the symlinks would work fine.
Hi, it is possible to import snipets from typinator 3.4 to textexpander ?
Typinator uses a proprietary format for their snippet data storage and does not offer a non-proprietary export format, so TextExpander cannot presently support importing snippets from Typinator. We have expressed our concern about this to Ergonis, the developer of Typinator, as we believe it benefits all text expansion utilities to either store their data in a non-proprietary format or to offer export in a non-proprietary format.
I got all the way to the Terminal part.
Could not figure it out.
Any I typed in: ln -s ~/Dropbox/Library/TextExpander ~/Library/Application\ Support/TextExpander
Am I doing something wrong? I got;
-bash: In: command not found
Brian - that’s a lowercase L and a lowercase N, not an uppercase I and a lowercase N. It’s a shortened form of “link,” much as the Unix cp command is a shortened form of “copy”.
Thanks for the reply back. I couldn’t get it to work, it kept saying “Can not save” and then it would error out on the subsequent machine. But no worries, I just made a copy of the key and placed it back in the subsequent machine’s ~/Library/Application Support/TextExpander folder.
So, I dont have a self updating solution, but at least I was able to transfer over all the saved snippets. I am sure this is just operator error on my part, but my solution at least got me far enough.
Would it cause data loss keeping it open on both computers as it does with Things? Iâ€™m not really sure how that would work with a plugâ€“in, as Things I just shut down and not worry about it, where a plugâ€“in is working all the time.
I am trying out the program and love it—but I can’t get it to sync via Mobile Me no matter how hard I try. Is there something I’m doing wrong?
I’ve taken this a little further and have written a Perl script that auto-converts TextExpander snippet files to AutoHotKey (free, open source) scripts that you can use directly on Windows.
After conversion you just double-click on the converted .ahk file in Windows and all your TextExpander snippets are available there. Very useful if you’re forced to work on both platforms. Combined with the Dropbox solution, which also works on Windows, it enable you to synch your TextExpander snippets across multiple Mac and Windows machines, including Windows virtual machines.
It now just needs a TextExpander AppleScript snippet to run it, I haven’t got around to that yet.
Randy: Please send a message to the TextExpander support team at firstname.lastname@example.org. They’ll be able to help you sort it out.
Just updated the TextExpander to Windows converter with a couple of improvements:
Expand mode (immediately, at delimiter with keep/delete) is read from TextExpander and exported to the AHK script.
Abbreviation mode (case sensitive/ignore case) is read from TextExpander and exported to the AHK script. However, â€œAdapt snippet to case of abbreviationâ€ does not work in AHK â€“ at least, I havenâ€™t been able to make it work, even though it’s supposed to.
The keep/abandon delimiter macros in individual snippets are now evaluated and work correctly in AHK.
Having trouble setting up on a subsequent MAC. Have removed TextExpander folder from the Home Application Support folder per the above. I simply copied and pasted the above Terminal command into the Terminal App. No alias is showing up in the Application Support folder. If the problem is the simple copy and paste that I did, would you mind writing the command in proper format and putting it in an email that I could copy and paste?
I don’t know how to imput the above strings into Terminal. So I’ve looked into other ways to sync up TextExpander.
Sure enough, there is a simpler and easier (no need to type strings into Terminal) way to sync TextExpander between two MACS. You do this by creating a Symbolic Link between the place where TextExpander expects to find the TextExpander folder [user|Library|Application Support|) and DropBox on all your MACS.
Start by going to Apple’s home page and search for Create Symbolic Link. Download JuneCloud’s Automator workflows and import “Create Symbolic Link” into Automator on all your MACS.
Now all you have to do is move the TextExpander folder on your main MAC from user|Library|Application Support| to a folder you create in your DropBox you call “Library.” Trash all the TextExpander folders on your other MACS and create symbolic links from your Dropbox|Library| to your user|Library|Application Support folders. Don McAllister’s Screencastsonline.com show number 202 provides an elegant explantion of how to do this.
I got the same problem with the TE complaining it couldn’t save to the linked folder.
This worked though:
ln -s /Users/derek/Dropbox/Library/TextExpander Library/Application\ Support/TextExpander
These instructions in the index post worked for my primary machine, but the instructions for “subsequent macs” did not.
A free program available on the apple.com website, SymbolicLinker 2.0 was the solution for my secondary machines. SymbolicLinker can be found by searching for “SymbolicLinker 2.0” on apple.com
Step by step:
1. Install Dropbox on both primary and subsequent machines.
2. Install SymbolicLinker 2.0 (after reading the brief installation and usage instructions - there are instructions for both Snow Leopard and Leopard/Tiger… and they are different) on both machines, or only on the subsequent machines. I followed the Snow Leopard install directions.
3. Install TextExpander on primary machine.
4. On your primary machine, follow instructions under “On your primary machine” in the index post above (open Terminal etc).
5. Install Textexpander on “subsequent” machine.
6. On the subsequent machine, in: System Preferences—> TextExpander preference pane—> Preferences disable TextExpander (uncheck the enable box). Then quit System Preferences.
7. Open the Dropbox folder on subsequent machine in Finder. Navigate to /Library and highlight the TextExpander folder. Right click and choose “Make symbolic link” from the drop-down menu. A folder with a name ending in symblink (or something like that) will be created - the icon will have a curved arrow in the left lower corner indicating ‘alias’ or ‘symbolic link.’
8. Open a new Finder window and navigate to /Users/username/Library/Application Support/ - delete the “TextExpander” folder you find there. Drag the symbolic-linked folder you created in the Dropbox folder in the first Finder window to the Application-Support folder in the second. THEN RENAME that folder “TextExpander” (without the quotes).
9. Log out and log back in. (Not sure if this is necessary, but it couldn’t hurt). Make sure TextExpander is enabled in System Preferences—> TextExpander—> Preferences.
DONE. All should be well - TextExpander synch’ed via Dropbox on multiple macs.
Hope this helps someone who, like me, could not get subsequent macs sync’ed up using the index post instructions or the other helpful Comments.
It’s important that you create a symlink to the TextExpander folder and not just the files it contains.
When TE creates the Settings Backup.textexpander file it seems to do this by making a copy of the original file and renaming it. because the original is a symlink, the renamed file still points to the original file and you end up with both files referencing the same file on Dropbox.
This isn’t an issue when you symlink the folder.
None of this worked for me. The instructions aren’t clear about shutting down SystemPrefs, vs. somehow closing out TE. So, when I moved the folder initially, TE freaked out and crashed. Creating the symlink worked, but then destroyed all of my snippets and reverted back to… well, nothing.
I tried bringing things back via Time Machine, but that made everything much worse. Now TE won’t launch at all, even after a re-install.
Why can’t they just include a feature like Typinator to sync with Dropbox. Comeon people, get it over with it. Move to Typinator if they dont implement this feature anytime soon.
WARNING: This symlink solution worked great until for some reason the symlink broke. Once it broke TE couldn’t access it’s prefs files and brought the UI to a crawl and ultimately becoming unresponsive. Of course those two simple sentences don’t represent the hair pulling I went through getting back up to operational and tracking down the issue. BUYER BEWARE with this solution!
@Alex: I’m not sure how the symlink would break, but if you can contact us at email@example.com, I’d love to help figure out where things went wrong.
Works great! Thanks!
Any plans for official Dropbox syncing support? Love to be able to just tell it to move the folder where my snippets are to Dropbox.
Built-in Dropbox support is planned for TextExpander 3, due out in March. For more details, check out this interview with Greg on MacVoicesTV.
Don't put anything here
Remember my personal information
Notify me of follow-up comments?
Submit the word you see below: