Get Source from Internet Explorer to BBEdit
This script will take the source of the front window in Internet Explorer and open it in BBEdit.
tellapplication"Internet Explorer"
setstoGetSource
endtell
tellapplication"BBEdit 6.5"
activate
makenewtext window
setcontentsofwindow1tos
selectinsertion pointbeforecharacter1oftext window1
setsource languageoftext window1to"HTML"
setcurrent glossary setto"HTML Glossary.html"
endtell
Studio Log
Back
|
|