I've been using BBEdit 7 for a long time and am evaluating upgrading to 8.7.2 (got a demo copy), but one of my applescripts that worked fine in 7 is now failing in 8.7.2.

I've boiled it down to this:

tell application "BBEdit"
        set ftpInfo to FTP Info of document of window 1
        set ftpPath to URL of ftpInfo
end tell


Does this work?

tell application "BBedit"
        set ftpInfo to FTP Info of active document of window 1
        set ftpPath to URL of ftpInfo
end tell

Has to do with multiple document in a single window.

Interesting. Thanks for the tidbit. It runs, but unfortunately it still fails.

What is more odd, all of these work:
set ftpPath to host of ftpInfo
set ftpPath to user of ftpInfo
set ftpPath to password of ftpInfo
set ftpPath to path of ftpInfo
set ftpPath to passive transfer of ftpInfo
set ftpPath to file of ftpInfo




--
------------------------------------------------------------------------
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_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to