![]() In the new window, find Reopen Finder Window in the list, click on it, and choose Attach. Right-click on the folder you want to always open, highlight Services at the bottom, click Folder Actions Setup. In Finder, find the folder you want to always open, and go up to its parent folder. The following steps need to be done on each computer where you want this to function. (The ~ character means the current user's home folder, so this path will work on each computer correctly without changing it.) Name the file Reopen Finder Window.scpt and click Save.Ĭopy this file onto all of the computers where you want this to work, in the same folder. Copy and paste the following path into the small box that appears: ~/Library/Scripts/Folder Action Scripts Go to File > Save and then press Cmd+ Shift+ G. Open Script Editor (in the Applications > Utilities folder). You can use an AppleScript to automate reopening the Finder window when it is closed. This is when I am viewing folders (read only) and they need to be viewed well in cover flow. I know it would just take 10 seconds each time to resize, but a year from now that will add up to hours.Īlso, what would be even better is if they close the window that it will automatically reopen it or reopen a specific window? I want to be able to change this default sizing like I can for cover flow always defaulting. When I reopen the folder it has been saved in cover flow but the folder window is smaller (nowhere near fullscreen) and the size of the preview to folder ratio is very small for the preview size I want (again this is in cover flow). I have 4 Macs open to customers at a time with hundreds of viewers in a weekend. The trouble is that customers are the ones who are using them and so they will close to the window. Our problem is that I want to show them in a folder with a size just below fullscreen and in cover flow (with a BIG preview size). We are like a roller coaster ride where it takes your photo and you walk up to a booth to view them. The change to Mac has changed how we show our photos. There are some Safari (Resize Me) and Chrome extensions as well that will you resize the windows to any specified size on your Mac but they will obviously work with the browser window only.I work for a photography company and we have just switched to Mac for showing our photos directly to our clients when they come to our booth. Alternatively, you may export the script as an application (.app) and run it anytime with a double-click. Now you can press Cmd + R to run the script. You can set a different default height and width through the appHeight and appWidth variables. The script resizes the window to 1920x1080 and moves it to the center. You can change the app name (theApp) from “Google Chrome” to iTunes or any other window that you wish to resize. Just open the AppleScript editor and copy-paste the script below. If you are looking for something more simple, without the extra bells and whistles, a little AppleScript should do the trick. I did find some paid alternatives in the Mac App store - Mercury Mover, TileWindows and Divvy to name a few - that do allow you to reposition and resize windows on the Mac with keyboard shortcuts but these apps are more targeted at power users for working efficiently with multiple windows while Sizer is purely a resizing utility. Resize any window to a specified size with Apple Script Surprisingly, there’s no Sizer like app available for the Mac platform. For instance, when I am recording screencasts for the YouTube channel, I use the 1280x720 (HD) or 1920x1080 (1080p) preset to automatically resize the target window before hitting the Record button. One of my favorite Windows utility happens to be Sizer, a tiny app that can resize any window on the desktop to an exact size.
0 Comments
Leave a Reply. |