So I finally found something equivalent by google, but it was just the
source of an AppleScript:
http://www.garoo.net/fr/archives/2005/10/23/223207/
So I wrote this prettier one for BBEdit.
set TheFileName to ""
-- ask BBEdit to save the file and give us file name
tell application "BBEdit"
save document 1 of window 1
set TheFileName to (file of document 1 of window 1)
end tell
-- ask Transmit to open the file, which is equivalent to dragging the
file to the Transmit dock icon
tell application "Transmit"
open TheFileName
end tell
-- hide Transmit, since it has the bad habit of coming to the front on
a docksend
tell application "System Events"
set TheApplication to some item of (get processes whose name =
"Transmit")
set visible of TheApplication to false
end tell
I saved this to the ~/Library/Application Support/Scripts/ folder and
specified a key combo for it in BBEdit...
I love AppleScript...
On Nov 13, 2007, at 1:42 PM, Errol Sayre wrote:
I've started using DockSend in Transmit to get away from the "bad
habit" of editing directly on the server...
Does anyone know of a BBEdit plug-in or script to automate the
process? If not, I'll probably write an AppleScript to do this for
me...
Thanks,
--
Errol Sayre
Web and Database Application Developer
Office of Research and Sponsored Programs
The University of Mississippi
[EMAIL PROTECTED]
ph: 662-915-7482
fax: 662-915-7577
100 Barr Hall
University, MS 38677
Apple Certified Desktop Technician
Apple Certified Portable Technician
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>