Page 1 of 1

OSX Deskref

Posted: Thu Apr 08, 2010 11:54 am
by avansc
My OSX Desk Reference

⌘ is called the command key, or apple key as some call it. It's better knows as the meta key on all systems, but for this reference i will use that symbol(gorgon loop), or I'll simple say cmd/command.

⌥ is called the option key, I'm not aware what it correlates to on other systems, its also doubled as the alt key. i'll refer to it by opt, or by the symbol.

Finder:

side note: Most OSX applications have a preference pane, and you can access it by clicking on the name of the application on the process bar(top of screen), or alternatively, you can press cmd+,

In OSX, Finder is the equivalent of what Explorer is in Windows. They share some of the same features, but the feel and experience between the two is vastly different.

cmd+N : Opens a new finder window at the default open location. The default location is usually the current users "Home" directory. You can change this in the general tab in the finder preference pane.

shift+cmd+N : Creates a new folder in current working directory

shift+cmd+C : Go to Computer
shift+cmd+H : Go to Home
shift+cmd+D : Go to Desktop
shift+cmd+K : Go to Network
shift+cmd+A : Go to Applications
shift+cmd+O : Go to Documents
shift+cmd+U : Go to Utilities

cmd+X : Cut selected items
cmd+C : Copy selected items
cmd+V : Paste selected items
cmd+A : Select all items in current directory

cmd+Z : undo
shift+cmd+Z : redo

cmd+1 : View as Icons
cmd+2 : View as List (same as details)
cmd+3 : View as Columns
cmd+4 : View as Cover Album

cmd+[ : Back
cmd+] : Forward
cmd+"up arrow" go to enclosing folder

// Enough for now, I'll add some more when i have some time. Probably do some xcode stuff next.

Re: OSX Deskref

Posted: Thu Apr 08, 2010 2:29 pm
by Arce
-printed-

Sweetshit. Thx.

Re: OSX Deskref

Posted: Thu Apr 08, 2010 4:17 pm
by LeonBlade
Wait... what is this for?

Re: OSX Deskref

Posted: Thu Apr 08, 2010 6:43 pm
by eatcomics
Its a deskreference, its so you don't have to look stuff up :D, I don't have a mac, but if I did, I bet I'd use this :D

Re: OSX Deskref

Posted: Thu Apr 08, 2010 7:42 pm
by LeonBlade
eatcomics wrote:Its a deskreference, its so you don't have to look stuff up :D, I don't have a mac, but if I did, I bet I'd use this :D
I have a Mac, I was just wondering why he posted it. :lol:

Re: OSX Deskref

Posted: Sun Apr 11, 2010 12:39 am
by Innerscope
avansc wrote:cmd+"up arrow" go to enclosing folder
Let's not forget:
cmd+"down arrow" or cmd+O opens the currently selected file or directory.
cmd+i gets info (cmd+opt+i global info)
cmd+space opens spotlight (cmd+space+"type foo"+enter = useful, or just use quicksilver)
cmd+delete moves to trash
cmd+shift+delete empties trash
cmd+opt+shift+delete sudo empty trash lol
cmd+w closes current window
cmd+tab cycles through open applications
cmd+opt+h hides open applications excluding [edit] current application
cmd+h hides [edit] current application
cmd+opt+d hides/shows dock

cmd+d or opt+drag duplicate
cmd+l or cmd+opt+drag alias

cmd+click selects/deselects multiple items
shift+click selects/deselects multiple items (ordered)
opt+click hides open applications excluding selected
space or cmd+y opens quick preview

opt+"About This Mac..." system profiler

cmd+opt+esc force quit

hmmm all I can think of at the moment..

Oh boy uncle Avansc! When do we get to learn how to use terminal commands like a real UNIX user?!?!? :lol: ...now I'm just being a jerk.

Re: OSX Deskref

Posted: Sun Apr 11, 2010 7:24 am
by LeonBlade
By pressing ⌥ with or without ⇧ and a letter/symbol/number you can produce additional keys like these:
⇧⌥K 
⌥J ∆
⌥1 ¡

⇧⌘3 Takes a full screen screen shot to your desktop.
⌃⇧⌘3 Takes a full screen screen shot to your clipboard.
⇧⌘4 Brings up a cursor to define a selection by clicking and dragging for a screen shot and saving to desktop.
⌃⇧⌘4 Brings up a cursor to define a selection by clicking and dragging for a screen shot and saving to clipboard.

⌘, Brings up preferences for the current application.
⇧⌘⌫ Deletes trash from your trash bin (when using Finder)
⌘⎋ Brings up Front Row
⌘Space Brings up Spotlight search field (top right corner)
⌥⌘Space Brings up Spotlight window (opens in Finder)
⌥⌘D Toggle's dock's visibility (hides it and un-hides it)
⇧⌘/ Show's applications help menu (like F1 on Windows)

Re: OSX Deskref

Posted: Sun Apr 11, 2010 2:16 pm
by avansc
lest not forget there is no delete button on a macbook…..

cmd+back_space is the same as cmd+delete

if you just want the delete button, which many programmers cant live without.
you do fn+back_space.

Innerscope, you are wrong about cmd+h and opt+cmd+h

cmd+h hide the current application, what ever it is
opt+cmd+h hides all applications except the active one, including finder.

some xcode keys you might wanna know about

cmd+k : compiles the current file
cmd+b : build
cmd+enter : build and run
opt+cmd+enter : run
cmd+shift+r : show console

debuggin
shift+cmd+i : step into
shift+cmd+o : step over
shift+cmd+t : step out
opt+cmd+p : continue

there are many other, but those are they ones i use.

Re: OSX Deskref

Posted: Sun Apr 11, 2010 3:39 pm
by Innerscope
avansc wrote:lest not forget there is no delete button on a macbook…..

cmd+back_space is the same as cmd+delete

if you just want the delete button, which many programmers cant live without.
you do fn+back_space.

Innerscope, you are wrong about cmd+h and opt+cmd+h

cmd+h hide the current application, what ever it is
opt+cmd+h hides all applications except the active one, including finder.

some xcode keys you might wanna know about

cmd+k : compiles the current file
cmd+b : build
cmd+enter : build and run
opt+cmd+enter : run
cmd+shift+r : show console

debuggin
shift+cmd+i : step into
shift+cmd+o : step over
shift+cmd+t : step out
opt+cmd+p : continue

there are many other, but those are they ones i use.
You'll have to excuse me on the backspace, the last 5 generations of Macs I've owned represent backspace as delete on their keyboards.
You're right about cmd+h and cmd+opt+h, I was talking about those commands in reference to the finder. How non-sensical of me.

For xCode, I'll add using
cmd+] and cmd+[ for indentation
cmd+opt+b look at breakpoints
tab auto-complete
cmd+ctrl+arrow left or right folds/unfolds current function
cmd+ctrl+arrow up or down folds/unfolds all functions
Other than that and what you put up, I can't think of anything else that I use often.

Re: OSX Deskref

Posted: Sun Apr 11, 2010 4:36 pm
by avansc
pressing escape anytime in xcode(while editing code) will show a dropdown with all the "in scope" stuffies.

if you do something like classtype-> or . and then press escape it will show you all the members of that particular object.

i use that one alot.

edit: as for the delete backspace key deal. all the mobiles just have backsapce/delete on one key, depending on what keyboard you get for you desktop (or mobile i guess) you will get the single key version,(small KB) or 2 keys on the bigger one with a full numpad.

Re: OSX Deskref

Posted: Sun Apr 11, 2010 4:52 pm
by Innerscope
avansc wrote:pressing escape anytime in xcode(while editing code) will show a dropdown with all the "in scope" stuffies.

if you do something like classtype-> or . and then press escape it will show you all the members of that particular object.

i use that one alot.
this self

Re: OSX Deskref

Posted: Sun Apr 11, 2010 4:59 pm
by LeonBlade
Speaking of Xcode, does anyone know why namespace code completion doesn't work with C++?
I've been using SFML in Xcode, and for some reason, I can't get the code syntax working when I type in (for example)

Code: Select all

sf::
None of those pop up, however, if I choose to...

Code: Select all

using namespace sf;
I can get code hinting(sort of) I just want to get code completion to work with my namespaces!!! :(

Re: OSX Deskref

Posted: Mon Apr 19, 2010 11:09 pm
by Innerscope
LeonBlade wrote:Speaking of Xcode, does anyone know why namespace code completion doesn't work with C++?
I've been using SFML in Xcode, and for some reason, I can't get the code syntax working when I type in (for example)

Code: Select all

sf::
None of those pop up, however, if I choose to...

Code: Select all

using namespace sf;
I can get code hinting(sort of) I just want to get code completion to work with my namespaces!!! :(
really? even after you compile your code? (note: I can't remember the last time I used namespaces)

Re: OSX Deskref

Posted: Mon Apr 19, 2010 11:59 pm
by LeonBlade
Innerscope wrote:
LeonBlade wrote:Speaking of Xcode, does anyone know why namespace code completion doesn't work with C++?
I've been using SFML in Xcode, and for some reason, I can't get the code syntax working when I type in (for example)

Code: Select all

sf::
None of those pop up, however, if I choose to...

Code: Select all

using namespace sf;
I can get code hinting(sort of) I just want to get code completion to work with my namespaces!!! :(
really? even after you compile your code? (note: I can't remember the last time I used namespaces)
Yeah :( it's very upsetting.