[TxMt] Projects pop-up, auto upload

Nate Beaty nate at clixel.com
Wed Dec 28 23:00:06 UTC 2005


I searched through the archives to see if there was some sort of  
functionality that would list all your TM Projects in a concise list  
(in either a sticky or popup window) to ease switching to different  
projects.. Didn't find anything (did I miss something?) and ended up  
putting something together with Butler that is really slick and  
thought I'd share.

* I moved all my .tmproj files to a single folder in my Websites  
directory
* added a container in Butler with the folder containing all  
my .tmproj files inside it
* assigned the container a hotkey ctrl-opt-w and set it to: "Opens a  
menu near the mouse"

I previously had all the .tmproj files inside each site's homedir,  
and set Butler to only show files with a .tmproj extension with 2  
levels of recursion, but it was too slow. Making a dedicated tmproj  
folder makes this an instantaneous popup with ctrl-opt-w that shows  
all my TM projects, which can be opened by keyboard or mouse. (I  
guess this could be done with within TM with shell commands, too, in  
a very similar manner, but using Butler allows you to open a project  
from anywhere.)

Also, this is buried in the wiki, but what put me over the fence on  
agreeing S/FTP integration in TM was unnecessary, allowed me to drop  
Dreamweaver from my workflow completely, and caused me to buy  
Transmit & TM instantly was this simple command:

osascript -e 'tell app "Transmit" to open POSIX file "'"$TM_FILEPATH"'"'

Set this to a command triggered with cmd-shift-u, and TM first saves  
the local file, then sends the file to Transmit, which will then auto- 
upload to the appropriate server if the file belongs to a DockSend- 
enabled favorite in Transmit. (Allan has this listed for Interarchy  
in the wiki: I just changed "Interarchy" to "Transmit".)

Nate.

---------------------
CLIXEL Design & Coding
http://clixel.com/




More information about the textmate mailing list