On 18 jan 2008, at 18:06, Mr. Dan Pouliot wrote:
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.
Maarten
--
------------------------------------------------------------------------
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]>