applescript? i use two applescripts to toggle my bbedit (and other app) window sizes and locations, depending on whether i am at my desk and plugged into my big monitor, or mobile somewhere with just my laptop screen.
when i get back to my office and plug in, i run this: tell application "BBEdit" to activate tell application "System Events" tell process "BBEdit" repeat with x from 1 to (count windows) set this_name to (name of window x) as text --display dialog this_name if this_name is not "Utilities" and this_name is not "HTML Tools" and this_name is not "Windows" and this_name is not "Entities" and this_name is not "CSS" and this_name is not "Find" and this_name is not "Multi-File Search" and this_name is not "BBEdit Preferences" and this_name is not "System Events" and this_name is not "Clippings" then tell window x set position to {11, 21} set size to {1345, 1121} end tell end if end repeat tell menu bar 1 tell menu bar item "Window" tell menu "Window" tell menu item "Workspace" tell menu "Workspace" click menu item "default" end tell end tell end tell end tell end tell end tell end tell it resizes my windows (leaving room for dragthing) and selects the right workspace. there is a corresponding script with different settings for when i'm mobile. you could set a keyboard equivalent to each script, yes? On Feb 4, 12:05 pm, lawlist <keith.david.bershat...@gmail.com> wrote: > Is there a way to have OSX or BBedit remember both window sizes for > zoom and unzoom with version 9.6.3? > > For example, I am writing a document full screen within BBedit. Then > I decide I need to type something into the document based upon what I > am observing in another window or application, so I would unzoom my > BBedit window to about 10 percent of the screen size and type what I > need and then zoom it back up again to full screen size. The problem > is that I presently have to manually decrease the size of the window > with the mouse and that window size preference is lost once I exit the > document. I would like two (2) defaults -- zoom would be 100% and > unzoom would be 10%. > > Any ideas to have these two defaults survive closing the file and/or > closing the application? -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> 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>