surs.over-blog.com/
18 Février 2021
If you want to close all of the windows of an open application without terminating the program itself, you can use the shortcut Command-Option-W. PC to Mac Guide: How to Make the Switch Previous Tip. The best option, in our opinion, comes in the form of the wonderful Option key. To close all of an app's windows in one fell swoop, just press Command+Option+W, or open the 'File' menu and hold the 'Option' key to see the Close All command. More of a mouse user? There's another secret power the Option key will unveil. Command + Shift + T will open your last closed tab, which helps a lot if you are researching something and close a window without saving the URL. You can also take a look at Apple's own extensive.
Hey
If you Finder extensively to move around windows and files you will probably end up with a lot of Finder windows open. I like things neatly organised. The problem with this is that you can end up with a lot of screen clutter. With the help of the Internet I have come up with a quick Applescript that you can use to close every window but the one you are using. Crossover in mac. Its really simple to make and run.
First open up the Apple script editor in Applications and type or copy and paste the following code:
tell application 'Finder'
repeat while window 2 exists
close window 2
end repeat
end tell
How to format disk on mac. Hit the compile button. Then go to File > Save As and set the File Format to Application. At the same time check the Run Only option and uncheck Startup Screen. Save this into a suitable place on your hard drive.
Open up a Finder window and drag your script into the sidebar or any other suitable location. How to unzip a folder on mac.
Then, to test, open up a couple of Finder windows. Hit that button and watch them close. The script will run where it will close every Finder window but the one you are using. Neat.
A quick Applescript tip that has saved me a lot of time. Also you can press Command + Option + W to close every window. You can also use the Command + Option key command while pressing the buttons in the top left of any window.
