Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try
- tell application "BBEdit"
- set theJavaScript to contents of document 1
- end tell
- tell application "Safari"
- activate
- do JavaScript theJavaScript in document 1
- end tell
- on error errMsg number errNum
- display dialog "AppleScript encountered an error." & ¬
- " Error Message: " & errMsg & " Number " & errNum
- end try
Add Comment
Please, Sign In to add comment