background preloader

The Ultimate Beginner's Guide To AppleScript

The Ultimate Beginner's Guide To AppleScript
This is the first post in a new series that revisits some of our readers' favorite posts from the past that still contain awesome and relevant information that you might find useful. This post was originally published on July 7, 2009. The best part about AppleScript is that you don't have to be a genius programmer to use it. In fact, you don't have to have any programming experience whatsoever. What is AppleScript? AppleScript is a powerful scripting language that comes built-in to OS X. The Main Window Getting Started: The Tell Block To create an AppleScript, open the application "Script Editor" located inside the AppleScript folder within the Applications folder. [applescript] tell application "Finder" display dialog "Hello World" end tell [/applescript] AppleScript attempts to use plain English wherever possible to make coding extremely simple. Always remember to end your tell blocks correctly or the code will not compile! Color Guide After your code has compiled, click on the "Run" button. Related:  Mac

tmux How to Reveal Your Library Folder in Lion or Mountain Lion Did you know that you will find Library folders in three locations on your Mac? There’s a Library folder at the root-level of your hard drive, there’s a second Library folder inside the root-level System folder and another Library folder in each User’s Home folder. In the normal day-to-day course of events, you don’t need to worry about any of them, and that’s fine because they’re all hidden away from you by default. There are, however, occasions when you may need to access the User Library folder (also known as ~/Library) and this article will show you how. A Word of Caution Before We Begin The Library folder at the root level of your hard drive is a public ‘library’ of data that is required for all users of the Mac. The Locations of Library Folders on Your Mac The Library folder under each account user name (the ~/Library) is, by default, invisible in Lion and Mountain Lion versions of OS X. Temporary or Permanent? There are two modes of revealing the ~/Library folder. Create a Shortcut

Home · mxcl/homebrew Wiki A Basic UNIX Tutorial A Basic UNIX Tutorial This tutorial comprises fourteen sections, each of which addresses a fundamental aspect of UNIX computing. It concentrates on illustrating the central concepts by providing short explanations, along with examples, and exercises. This tutorial covers the "Introduction to UNIX" and "Intermediate UNIX" workshops offered by the Idaho State University Computer Center. Table of Contents What Is UNIX? A broad description of the UNIX operating system. Accessing UNIX Systems General methods of accessing UNIX computers. Logging In and Logging Out Gaining access to your UNIX account. The UNIX Shell How to enter UNIX commands. Files and Directories Storing and manipulating files. Input/Ouput Redirection How to manage input and ouput. Pipelines and Filters Creating processing pipelines. Processes and Multitasking Managing processes. Interaction and Job Control More on managing processes. Text Editing with Emacs Creating and editing text files with the emacs editor. The Execution Environment

YouTube Video Converter and Download - ClipConverter.cc iMZDL: iOS 7 & OS X 10.9 — Your source for iOS and OS X betas! Mockups | Balsamiq Take a second. Let it sink in. The first impression might be disorienting. There are very few interface elements on the screen. Getting your ideas out should be effortless. We've been in business long enough that we think we have learned enough about ourselves, our product, our customers and our competitive space to be able to put a stake in the ground and tell the world what we're about. Our sweet spot: the ideation phase Mockups really shines during the early stages of designing a new interface. Mockups is zenware, meaning that it will help you get "in the zone", and stay there. Mockups offers the same speed and rough feel as sketching with pencil, with the advantage of the digital medium: drag & drop to resize and rearrange elements, make changes without starting over, and your work is clear enough that you'll make sense of them later. See what you can build with Mockups Skin: Download the samples above, or find more on Mockups To Go, our community-contributed stencils site. Two reasons:

How to Print Screen on a Mac What is known as “Print Screen” in the Windows world is called screen captures or screen shots in Mac OS X. You’ve probably noticed there is no ‘Print Screen’ button on a Mac keyboard, this is to both simplify the keyboard and also because it’s just unnecessary. On the Mac, instead of hitting a “Print Screen” button, you’ll hit one of several keyboard combination shortcuts to perform a specific action, depending on the exact screen capture action you want taken. This is both easier and much more powerful, given that there are ultimately six unique options to perform variations of the screen print. How to Print Screen to a File on the Desktop in Mac OS X The basic functionality of taking a screen shot of a window or desktop in Mac OS X takes an complete image capture of the desktop and all open windows and running apps and dumps it to a unique file on the Mac desktop. How to Print Screen to the Clipboard on a Mac Recent switcher?

The Internet of Things (and the myth of the “Smart” Fridge)

Related: