On Sep 07, 2012, at 15:58, Colin <[email protected]> wrote:
> When I connect to my desktop system from my laptop and drag & drop a folder
> from the remote system onto BBEdit, it opens the folder at the same path, on
> the local drive instead.
______________________________________________________________________
Hey Colin,
Eddy answered the issue - and hopefully Apple will fix it - but I wouldn't hold
my breath in the meantime.
I don't have a remote share to test with at the moment, but what happens when
you run this script when the designated folder is selected in the Finder?
I use FastScripts and Keyboard Maestro to run my scripts these days
(pre-Mountain-Lion I used FS, KM, & QuicKeys), but I run all in-BBEdit scripts
from its own script menu.
Get back to me even if this doesn't work, because there are some other things
that can be tried.
--
Best Regards,
Chris
-------------------------------------------------------------------------------------
try
tell application "Finder"
set sel to selection as alias list
if sel ≠ {} then
set f to first item of sel
else
return
end if
end tell
tell application "BBEdit"
open f
activate
end tell
on error e number n
set e to "Error: " & e & return & return & "Error Number: " & n
beep
tell me to set dDlg to display dialog e buttons {"Cancel", "Copy", "OK"}
default button "OK"
if button returned of dDlg = "Copy" then set the clipboard to e
end try
-------------------------------------------------------------------------------------
--
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>