Re: Opening FTP/SFTP Browser Window with Applescript

2014-02-21 Thread Christopher Stone
On Feb 20, 2014, at 18:52, Lee Hinde leehi...@gmail.com wrote:
 I'd like to open an FTP/SFTP browser window bookmark with Applescript. 
 Recording the action doesn't do anything. And, while I see FTP browser window 
 in the scripting dictionary, I have no idea how to use it.
__

Hey Lee,

This stuff is not well documented in the manual (that I can find).

This works and produces a FTP Browser Window.  Unfortunately you cannot speak 
to the window once it's open.

---

tell application BBEdit
activate
make new FTP browser window
end tell

---

You would expect to be able to do something like this, but you can't.

---

set theURL to ftp://yourdomain.com;
set userName to yourUserName
set thePassword to yourPassword

tell application BBEdit
activate
make new FTP browser window with properties {server:theURL, 
user:userName, password:thePassword}
end tell

---

This is what actually works to open a FTP browser window to your desired 
location:

---

tell application BBEdit
open location ftp://username:passw...@yourdomain.com:21/;
end tell

---

You can do the same thing using the command line tool:

bbedit 'ftp://username:passw...@yourdomain.com:21/'

--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Re: Opening FTP/SFTP Browser Window with Applescript

2014-02-21 Thread Lee Hinde
Thank you!

On Feb 21, 2014, at 8:05 AM, Christopher Stone listmeis...@suddenlink.net 
wrote:

 On Feb 20, 2014, at 18:52, Lee Hinde leehi...@gmail.com wrote:
 I'd like to open an FTP/SFTP browser window bookmark with Applescript. 
 Recording the action doesn't do anything. And, while I see FTP browser 
 window in the scripting dictionary, I have no idea how to use it.
 __
 
 Hey Lee,
 
 This stuff is not well documented in the manual (that I can find).
 
 This works and produces a FTP Browser Window.  Unfortunately you cannot speak 
 to the window once it's open.
 
 ---
 
 tell application BBEdit
   activate
   make new FTP browser window
 end tell
 
 ---
 
 You would expect to be able to do something like this, but you can't.
 
 ---
 
 set theURL to ftp://yourdomain.com;
 set userName to yourUserName
 set thePassword to yourPassword
 
 tell application BBEdit
   activate
   make new FTP browser window with properties {server:theURL, 
 user:userName, password:thePassword}
 end tell
 
 ---
 
 This is what actually works to open a FTP browser window to your desired 
 location:
 
 ---
 
 tell application BBEdit
   open location ftp://username:passw...@yourdomain.com:21/;
 end tell
 
 ---
 
 You can do the same thing using the command line tool:
 
 bbedit 'ftp://username:passw...@yourdomain.com:21/'
 
 --
 Best Regards,
 Chris
 

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.


Opening FTP/SFTP Browser Window with Applescript

2014-02-20 Thread Lee Hinde
I'd like to open an FTP/SFTP browser window bookmark with Applescript. 
Recording the action doesn't do anything. And, while I see 
FTP browser window in the scripting dictionary, I have no idea how to use 
it.

Any pointers would be appreciated.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit

--- 
You received this message because you are subscribed to the Google Groups 
BBEdit Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.