I’ve been wanting a script for a while now, that would pop a bunch of terminals, change to some useful directories, start services, and sit where I want them… oh, and be the size that I want them too… oh, and open up my app in TextMate too. I googled around for a while, but never really came up with much, so I decided to take some time this morning, and figure it out. As it turns out, Applescript it isn’t terribly complicated, and with a little bit of time spent reading the docs, I was able to bust this out. Check the link below for Apple’s official documentation:
So, I’ll start with how to run the thing, and then go into some details about configuring it for your particular setup. You should know though, that the script makes a few assumptions about your development environment:
- You’re on a Mac (duh)
- You’re gonna download the script (get it here)
- You use Quicksilver (if not, get it here, it’s free)
- You use TextMate (if not, get it here, there’s a free trial)
- You have a sane structure to your project directory, and keep them in ~/work (This is easily changed, if you wish)
- You like a terminal for your server, log, and console, and keep them all on the same display/desktop (again, you can change this)
Okay, with all of that out of the way, let’s get on with it. The way this baby works is simple. You invoke Quicksilver (usually ctrl + space) and hit . (the period key) to enter some text. Type out the FULL name of the folder of the app you want to start. Assuming you’re set up with the defaults above, your app called “codeFoo” would live in ~/work/codeFoo, and you would simply type codeFoo in the input field of quicksilver. Next you’ll hit tab to move to the action pane, and type dev or dev_r or something to that effect, to get Quicksilver to look up the script for you. (If you’re not already aware, quicksilver learns the stuff you use and like, and will eventually move that to the top of the list of actions, if it’s not already there. Just use the same string every time to get it.) Once you’ve got the script, hit return, and watch it go! It will fire up three shells for you, start a server, a console, tail the development log, and open your app in TextMate. Productivity bliss, I tell you!
So now that you’re frothing at the mouth to get started using this thing, you need to know how to install it. Again, simple. Just download the script, untar it, and stick it in ~/Library/Application Support/Quicksilver/Actions. If the Actions directory doesn’t exist yet, go ahead and create it now. I’ll wait… Done? Ok, sweet. Just restart Quicksilver (or rescan the catalog, but it seems that doesn’t always work) to pick up the changes, and you’re on your way!
Now, I know you’re anxious to get to work and all, and this script will work with the defaults, but you’ll likely want to do some customization of your own to make it fit your setup just right. To tweak it out, just open it up in the AppleScript Editor, and follow the instructions. You can control the placement of your terminals, change their sizes, change the directory it looks in for your rails apps, etc. If you want, you can even add some arguments to make your terminals different colors, but I didn’t include that in this release. (Just look at the dictionary for termial in the script editor) The default placement of the terminals assumes you are running dual displays, with the secondary to the left, running 1280×1024, and will drop all of your terminals there. If you don’t like that, or you don’t have a secondary display, you should either hit up craigslist, or change this before you use the script. (I haven’t tested it on just a single display to see where the terminals will go with the default settings.)
I had hoped to set this up so that you could navigate directly to the folder you wanted to act on, without having to type in the full name manually, but as of this writing, Quicksilver and AppleScript don’t get down like that, so the only thing we can access is the text you input. Hopefully, one day, in the not so distant future, we’ll have that capability. I’m also looking into what can be done with Spaces (the new, but somewhat sketchy multiple desktop feature in Leopard) via AppleScript, but for now, this stuff will all open on the same “desktop”, and I don’t know how to change it. So, for now, enjoy!
ekibastos…
ekibastos…
Casino 4921c78937…
Casino 4921c78937…
Drug store pain med with no rx…
Drug store pain med with no rx…
Buy cheap tramadol overnight from foreign pharmacies…
Buy cheap tramadol overnight from foreign pharmacies…
Dilaudid 2mg…
Dilaudid 2mg…
Buy tramadol without prescription…
Buy tramadol without prescription…
Can i take acepromazine…
Can i take acepromazine…
200mg tramadol overnight…
200mg tramadol overnight…
Mexican pain killers no prescription…
Mexican pain killers no prescription…
Tramadol without prescriptions…
Tramadol without prescriptions…
Acepromazine buy…
Acepromazine buy…
Tramadol without a prescription delivered by ups…
Tramadol without a prescription delivered by ups…
What is tramadol…
What is tramadol…
Tramadol without a prescription florida…
Tramadol without a prescription florida…
Dilaudid ordering…
Dilaudid ordering…
Ordering meds tramadol forums…
Ordering meds tramadol forums…
Tramadol and pregnant…
Tramadol and pregnant…
Tramadol vs hydro…
Tramadol vs hydro…
Cheap tramadol from mexico on line…
Cheap tramadol from mexico on line…
Super cheap tramadol by fedex…
Super cheap tramadol by fedex…
Pain pills for dogs…
Pain pills for dogs…
Hydromorphone tablets no rx…
Hydromorphone tablets no rx…
Order tramadol 100mg…
Order tramadol 100mg…
Tramadol online to florida overnight…
Tramadol online to florida overnight…
Pharmacy online india no prescription…
Pharmacy online india no prescription…
20mg oxycontin versus 200mg tramadol…
20mg oxycontin versus 200mg tramadol…
Side effects of tramadol hci…
Side effects of tramadol hci…
Pain killers buy pay at delivery…
Pain killers buy pay at delivery…
Side effects of snorting hydromorphone…
Side effects of snorting hydromorphone…
Rx dog meds tramadol…
Rx dog meds tramadol…
Soma medication shipped overnight cod…
Soma medication shipped overnight cod…
Can you snort 5 50 mg tramadol…
Can you snort 5 50 mg tramadol…
Online dilaudid from mexico…
Online dilaudid from mexico…
Tramadol 100 mg without a prescription…
Tramadol 100 mg without a prescription…
10 mg hydromorphone snort…
10 mg hydromorphone snort…
Taking tramadol and soma at the same time…
Taking tramadol and soma at the same time…
Viagra sold at walmart…
Viagra sold at walmart…
Nitric oxide in herbs and spices…
Nitric oxide in herbs and spices…
Viagra stay hard after ejaculation…
Viagra stay hard after ejaculation…
Female viagra over the counter…
Female viagra over the counter…
Cialis v viagra tests…
Cialis v viagra tests…
Can you purchase otc viagra in mexico…
Can you purchase otc viagra in mexico…
Cheapest herbal viagra…
Cheapest herbal viagra…
Forums taking viagra fun young…
Forums taking viagra fun young…
Side effects of unprescribed viagra…
Side effects of unprescribed viagra…
Generic viagra pro…
Generic viagra pro…
Long term viagra safety…
Long term viagra safety…
Viagra without a prescription…
Viagra without a prescription…
Amsterdam sex stories…
Amsterdam sex stories…
Viagra doctor thorn…
Viagra doctor thorn…
Rx in mexico…
Rx in mexico…
Painkillers without presciption…
Painkillers without presciption…
Can u snort tramadol…
Can u snort tramadol…
Tramadol cheap with cod delivery no presciption needed…
Tramadol cheap with cod delivery no presciption needed…
No prescription pharmacies on line…
No prescription pharmacies on line…
Tramadol drug tests…
Tramadol drug tests…
Tramadol in germany…
Tramadol in germany…
Tramadol cod…
Tramadol cod…
Tramadol use in dogs side effects restlessness…
Tramadol use in dogs side effects restlessness…
Tramadolrx without prescrtion…
Tramadolrx without prescrtion…
Painkillers tablets…
Painkillers tablets…
Can tramadol be iv…
Can tramadol be iv…
Tramadol vs dilaudid…
Tramadol vs dilaudid…
Hydromorphone prescription mexico…
Hydromorphone prescription mexico…
Tramadol florida cod…
Tramadol florida cod…
Tramadol with hydromorphone dog for pain…
Tramadol with hydromorphone dog for pain…
Canine poison tramadol…
Canine poison tramadol…
Dilaudid overnight delivery…
Dilaudid overnight delivery…
How can i buy liquid hydromorphone…
How can i buy liquid hydromorphone…
Purchase hydromorphone hcl online…
Purchase hydromorphone hcl online…
Tramadol liquid for dogs…
Tramadol liquid for dogs…
Presciption pain medication…
Presciption pain medication…
Tramadol dosage in dogs…
Tramadol dosage in dogs…
Buy soma shipped to florida no rx needed…
Buy soma shipped to florida no rx needed…
Cheap tramadol buy on line…
Cheap tramadol buy on line…
India tramadol prescription…
India tramadol prescription…
Cheap dilaudid…
Cheap dilaudid…
What states do not control dilaudid…
What states do not control dilaudid…
Tramadol hydrochl tablets…
Tramadol hydrochl tablets…
Dilaudid 180…
Dilaudid 180…
Where is little river la…
Where is little river la…
Acepromazine without prescription…
Acepromazine without prescription…
Hydromorphone and drug testing…
Hydromorphone and drug testing…
How do you purchase soma with a checking account…
How do you purchase soma with a checking account…
What happens crush tramadol…
What happens crush tramadol…
Death from tramadol…
Death from tramadol…
Injecting liquid tramadol…
Injecting liquid tramadol…
Tramadol india over the counter…
Tramadol india over the counter…
Canines and tramadol…
Canines and tramadol…
Dilaudid from india…
Dilaudid from india…
Tramadol extended release brand name india…
Tramadol extended release brand name india…
Tramadol pregnent…
Tramadol pregnent…
Tramadol pain med for canines…
Tramadol pain med for canines…
200mg extended release tramadol…
200mg extended release tramadol…
Tramadol 250mg dose…
Tramadol 250mg dose…
Tramadol hcl dogs…
Tramadol hcl dogs…
Tramadol-acetaminophen overdose…
Tramadol-acetaminophen overdose…
Side effects of tramadol hci in dogs…
Side effects of tramadol hci in dogs…
Pay on delivery tramadol…
Pay on delivery tramadol…
Long term use of tramadol…
Long term use of tramadol…
Canine pain killers…
Canine pain killers…
Painkillers without prescriptions…
Painkillers without prescriptions…
Tramadol 200mg when pregnant…
Tramadol 200mg when pregnant…
Tramadol no prescription online e-check…
Tramadol no prescription online e-check…
Tramadol pay later…
Tramadol pay later…
Buy liquid acepromazine non prescription…
Buy liquid acepromazine non prescription…
How do you snort hydromorphone…
How do you snort hydromorphone…
Buy tramadol injections…
Buy tramadol injections…
Buying tramadol experience fundeling…
Buying tramadol experience fundeling…
Online pharmacy hydromorphone no rx…
Online pharmacy hydromorphone no rx…
Hydromorphone buy online…
Hydromorphone buy online…
India online pharmacy hydromorphone hcl…
India online pharmacy hydromorphone hcl…
India pain clinic prescription…
India pain clinic prescription…
Tramadol 100mg effects snorting…
Tramadol 100mg effects snorting…
Buy tramadol overnight delivery in florida…
Buy tramadol overnight delivery in florida…
Tramadol is great…
Tramadol is great…
Snorting tramadol without being prescribed…
Snorting tramadol without being prescribed…
Tramadol taken with advill…
Tramadol taken with advill…
Indian medicine hydrochloride metabolism tablets…
Indian medicine hydrochloride metabolism tablets…
Forum cash delivery tramadol…
Forum cash delivery tramadol…
Acepromazine pills for dogs…
Acepromazine pills for dogs…
C.o.d. tramadol…
C.o.d. tramadol…
Tramadol 50 mg forum…
Tramadol 50 mg forum…
Does tramadol from india work…
Does tramadol from india work…
Order united states tramadol…
Order united states tramadol…
Online pharmacy accepts rx checks…
Online pharmacy accepts rx checks…
Tramadol medication in mexico…
Tramadol medication in mexico…
Great tramadol experience…
Great tramadol experience…
Hydromorphone rx…
Hydromorphone rx…
Tramadol 100mg overnight cod…
Tramadol 100mg overnight cod…
The side effects of snorting tramadol…
The side effects of snorting tramadol…
Buy dilaudid online pharmacy…
Buy dilaudid online pharmacy…
What category is tramadol if pregnant…
What category is tramadol if pregnant…
Tramadol hydro 100mg…
Tramadol hydro 100mg…
Hydromorphone without prescription overseas…
Hydromorphone without prescription overseas…
Hydromorph without prescription…
Hydromorph without prescription…
Farmacia express…
Farmacia express…
Ultram tramadol for dogs…
Ultram tramadol for dogs…
Tramadol for dogs without a prescription…
Tramadol for dogs without a prescription…
How to buy dilaudid without a prescription overseas…
How to buy dilaudid without a prescription overseas…
What is the cost of hydromorphone…
What is the cost of hydromorphone…
Buy soma in florida without a prescription…
Buy soma in florida without a prescription…
Canine respiration tramadol post operative…
Canine respiration tramadol post operative…
Tramadol experience…
Tramadol experience…
Buy tramadol online without a prescription with e check…
Buy tramadol online without a prescription with e check…
Tramadol 50mg tablets…
Tramadol 50mg tablets…
Tramadol american express…
Tramadol american express…
Tramadol 100mg india…
Tramadol 100mg india…
Tramadol and amex…
Tramadol and amex…
Buy pain pills cheap…
Buy pain pills cheap…
Online medications from india…
Online medications from india…
Crush tramadol…
Crush tramadol…
Canadian viagra purchase…
Canadian viagra purchase…
Cialis viagra levitra mix…
Cialis viagra levitra mix…
Pictures of guys on viagra…
Pictures of guys on viagra…
Free trial of viagra…
Free trial of viagra…
Walmart generic viagra…
Walmart generic viagra…
Blackmarket cialis…
Blackmarket cialis…
Viagra cuponds…
Viagra cuponds…
Viagra price at walmart…
Viagra price at walmart…
Viagra dossage…
Viagra dossage…
Cost of cialis in brazil…
Cost of cialis in brazil…
Generic viagra mastercard free shipping…
Generic viagra mastercard free shipping…
Wemon viagra…
Wemon viagra…
What are viagra pro ingredients?…
What are viagra pro ingredients?…
Viagra in the water…
Viagra in the water…
Woman and mens viagra…
Woman and mens viagra…
Viagra testimonials from women…
Viagra testimonials from women…
Does arginine work…
Does arginine work…
Medicare formulary viagra…
Medicare formulary viagra…
What does a viagra tablet look like…
What does a viagra tablet look like…
Horny goat weed compare prices…
Horny goat weed compare prices…
Wal mart viagra…
Wal mart viagra…
After taking viagra does it stay hard for a long time…
After taking viagra does it stay hard for a long time…
Old man viagra cartoons…
Old man viagra cartoons…
Can i safely use viagra after heart bypass…
Can i safely use viagra after heart bypass…
Australian herbal viagra alternatives…
Australian herbal viagra alternatives…
American sexstories…
American sexstories…
Mexican selling viagra levitra cialis…
Mexican selling viagra levitra cialis…
Viagra paperweight…
Viagra paperweight…
How young is too young for viagra…
How young is too young for viagra…
Viagra jacket mark martin…
Viagra jacket mark martin…
L-arginine woman’s viagra…
L-arginine woman’s viagra…
Viagra twice a day…
Viagra twice a day…
Expired viagra danger…
Expired viagra danger…
Price of 25mg pfizer viagra in india…
Price of 25mg pfizer viagra in india…
Can you take viagra daily…
Can you take viagra daily…
The average age use viagra in us…
The average age use viagra in us…
Viagra experience testimonials…
Viagra experience testimonials…
Taking unprescribed cialis…
Taking unprescribed cialis…
Legal viagra…
Legal viagra…
Does viagra effect your eyesight?…
Does viagra effect your eyesight?…
Walmart pharmacy-viagra…
Walmart pharmacy-viagra…
Am i too young for viagra…
Am i too young for viagra…
What of a girl takes viagra…
What of a girl takes viagra…
Order generic viagra usa…
Order generic viagra usa…
Is generic viagra ok…
Is generic viagra ok…
Viagra paypal no prescription samples…
Viagra paypal no prescription samples…
Length of erections with viagra…
Length of erections with viagra…
Viagra prescriptions on internet…
Viagra prescriptions on internet…
Mexico doctor erectile viagra…
Mexico doctor erectile viagra…
Survey how many men tried viagra…
Survey how many men tried viagra…
Thailand viagra for woman…
Thailand viagra for woman…
Viagra effects pictures…
Viagra effects pictures…
I had hemorage can i take viagra?…
I had hemorage can i take viagra?…
Free viagra trial…
Free viagra trial…
What is the best amino acid alternative to viagra…
What is the best amino acid alternative to viagra…
Compare cialis and viagra…
Compare cialis and viagra…
Pfizer viagra drink joke…
Pfizer viagra drink joke…
Viagra price walmart…
Viagra price walmart…
Cialis levitra viagra comparison discussion board…
Cialis levitra viagra comparison discussion board…
Woman using viagra studies…
Woman using viagra studies…
Getting viagra in uk…
Getting viagra in uk…
Company of mex tramadol a…
Company of mex tramadol a…
Mexican herbal viagra…
Mexican herbal viagra…
Can dogs take tramadol…
Can dogs take tramadol…
Generic dilaudid online no prescription…
Generic dilaudid online no prescription…
Tramadol shipped cod…
Tramadol shipped cod…
Tramadol hci medicine…
Tramadol hci medicine…
Tramadol hydrochloride extended release 200mg price…
Tramadol hydrochloride extended release 200mg price…
Tramadol canine pain management…
Tramadol canine pain management…
Tramadol tolerance…
Tramadol tolerance…
Hydromorphone pharmacy buy…
Hydromorphone pharmacy buy…
Tramadol no rx florida…
Tramadol no rx florida…
No prescription on acepromazine…
No prescription on acepromazine…
Cessation of tramadol…
Cessation of tramadol…
Tramadol hydrochloride abuse forum…
Tramadol hydrochloride abuse forum…
Cheap 100 mg tramadol without a rx…
Cheap 100 mg tramadol without a rx…
Purchase from mexico pharmacy acepromazine…
Purchase from mexico pharmacy acepromazine…
Tramadol hydrochloride side-effects dog…
Tramadol hydrochloride side-effects dog…
200mg regular tramadol…
200mg regular tramadol…
100mg tramadol next day…
100mg tramadol next day…
Tramadol effectiveness as compared with hydromorphone…
Tramadol effectiveness as compared with hydromorphone…
Tramadol mex…
Tramadol mex…