Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Made a "Open Terminal here" button' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Made a "Open Terminal here" button
Authored by: eti on Mar 27, '07 01:03:46PM
Using the principles put forth in this tip, I made a folder toolbar button that opens a terminal widow and sets it's path to the folder you were at.
tell application "Finder" to set p to target of window 1 as string

set x to POSIX path of file p

tell application "Terminal"
	activate
	do script "cd " & x
end tell


[ Reply to This | # ]