Hey Folks, Another script I've repurposed from the TextWrangler list.
After printing a few pages to PDF I got my Page Guide width pretty close to the printed page width. This script toggles the front window between Page Guide [ON] and Soft-Wrap to Page Guide and the current settings. -- Best Regards, Chris --------------------------------------------------------------------------- # Toggles front window between wrap-to-page-guide and the current settings. --------------------------------------------------------------------------- property oldSoftWrapMode : "" tell application "BBEdit" tell front text window if oldSoftWrapMode = "" then set oldSoftWrapMode to soft wrap mode set softWrapMode to soft wrap mode if softWrapMode ≠ page guide then set display magnification to 1 set show page guide to true set soft wrap mode to page guide set soft wrap text to true else set show page guide to false set soft wrap mode to oldSoftWrapMode set soft wrap text to false set oldSoftWrapMode to "" end if end tell end tell --------------------------------------------------------------------------- -- 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.