- [Instructor] In this movie, I'll show you
how to close all open documents on the Mac.
If you're working on a PC,
you can go ahead and skip to the next chapter.
So here I have a total of three documents open,
as you can see indicated by these three title tabs.
For the sake of demonstration,
I'm going to make changes to each one of these files.
So I'll start off by clicking on this big numeral one
with my black arrow cursor,
and then I'll press the Delete key
in order to get rid of it.
Now I'll go ahead and switch over to that six-page document
that I didn't really do anything to,
and I'll go ahead and draw on it
using, let's say, the rectangle tool,
if only because it's an easy tool to use.
And so I'll just go ahead and draw a rectangle like so,
and then I'll go up to the Stroke value right here.
I'll click on this down-pointing arrow head
and I'll change it to, let's say, four points
so that we can see the outline.
And then I'll switch back to the black arrow
up here at the top of the toolbox,
and I'll click off the rectangle to deselect it.
And now I'll go ahead and switch over to the Welcome screen
and I'll click on my name down here
in the bottom right region of the illustration,
and I'll press the Delete key once again to get rid of it.
All right, so I've now managed to make unsaved changes
to each one of these documents,
and you can see that's the case
because we have these tiny asterisks
after each one of the filenames
up here at the top of the screen.
Now what I'm going to tell you is
this is a very dangerous way to leave your computer.
You definitely do not want to walk away from Illustrator
for any period of time at a public machine,
that is one at your workplace
where somebody else may use it as well,
because if someone decides to close your illustration
by clicking on this little X
on the left side of the title tab,
they're going to get this warning
that's asking them whether they should save your changes.
Nine people out of 10 are going to think,
Oh yeah, sure, I'll go ahead and click the Save button
because after all, I'm sure Bob or Phyllis, or whoever
was doing some work and wants to save it.
One person out of 10 is going to do the right thing
and hit the Cancel button,
and then they're going to go up to the File menu
and choose the Save As command, just to be sure,
so that they don't overwrite your original document.
But what no one's going to do, based on my experience,
is click on what we want to see happen,
which is the Don't Save button.
And so, if they go ahead and click on Save
and you don't have a backup of this file,
then you've just lost some important information,
namely, in this case, my own name.
So what you want to do is close all those files.
If you're going to be gone for even an hour,
definitely a day, close all those files
and you decide for yourself
whether you want to save these changes.
And let me show you what that looks like.
Notice up here in the File menu
that we have a command called Close,
but we don't have anything called Close All,
which means that I'd have to choose this command,
or click on this little Close box right there,
three times in order to close these three files.
Well, there's a few ways around that.
One is to go over to the Illustrator CC menu
and choose Quit Illustrator.
But that's not only going to close your documents,
it's going to quit the application as well,
which probably isn't what you want to do.
Another way to work is to go up to the Window menu
and turn that Application Frame command off,
and that way you're going to see each one of your documents
in an independent floating window.
Next, what you do is you go up to the Window menu,
choose Arrange, and choose Consolidate All Windows
so that they all appear inside of a single floating window,
which in my case is called Welcome.ai,
and then you can go ahead and close that window
by clicking this Close box,
and that will close each of your three documents in order.
Now I want to make it perfectly clear
how this alert message works.
You're going to see it
for each and every one of these documents.
If you click the Save button,
you're going to save your changes
and then close the document.
If you click Don't Save, you're going to close the document
without saving your changes,
and that is going to be your one and only chance right there
to save any changes, because once you click Don't Save,
your changes are permanently gone.
And then finally, you can click the Cancel button,
and that's going to cancel the entire operation.
So as you can see here, none of my files has closed.
All right, so that's one way to work,
but let's say you like that application frame.
I really do, because I like to cover up
everything in the background, and I really don't like to see
that bright title bar in the middle of the interface.
Then notice, under the File menu, this Close command
has a keyboard shortcut of Command + W.
That's a really old-school Macintosh keyboard shortcut.
It dates back to the original MacPaint in 1984,
and Adobe has carried it on as well.
And it's made better by adding
a top-secret hidden keyboard shortcut
of Command + Option + W, which closes everything.
So let me show you what that looks like.
I'll go ahead and press Command + Option + W
and I will get the first of my three alert messages,
at which point I can click the Save button,
the Don't Save button, or Cancel.
Each one of them has a keyboard shortcut.
It's S for Save.
It's D for Don't Save.
So just S and D, you don't have to press any modifier key.
Or Esc, that is the Escape key, for Cancel.
And so because I do not want to lose my name in this file,
I'm going to go ahead and click on Don't Save.
Then I'll be asked about this document.
I don't really care about it, it's just a demo file,
so I'll go ahead and press the D key
for Don't Save this time around.
And this guy I also don't care about
because it's an extra version of the file,
so I'll press the D key once again.
And I now have no files open,
which means that I am safe to walk away from Illustrator
without worrying that anyone
is going to tamper with the content of my documents.
And that is how you go about closing all open documents
here inside Illustrator on the Mac.