Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.7: Editing Mail.app flags Apps
Apple's Mail flags descriptive text can be edited.

If Red, Orange or Yellow do not reflect your flags usage you can change it. Once a message has been flagged, say, in yellow, you can click on the word 'Yellow' after opening the 'Flagged' folder in the Mailboxes list on the left. You can now edit the text.

[crarko adds: It looks like the Flagged folders are basically Smart Folders, and you can rename them however you like.]
  Post a comment  •  Comments (0)  
  • Currently 3.86 / 5
  You rated: 3 / 5 (7 votes cast)
 
[5,585 views] Email Article To a Friend View Printable Version
10.7: Preview.app Magnifying Glass Apps
Open up a PDF document in Preview. Now, move your mouse over the body of the document.

Press the accent/tilde key, and a magnifying glass will appear. You can drag it over the document to zoom in, and then dismiss is by pressing the accent/tilde key again.

[crarko adds: There's also a corresponding new 'Show Magnifier' menu item in the 'Tools' menu of Preview.]
  Post a comment  •  Comments (4)  
  • Currently 4.13 / 5
  You rated: 2 / 5 (8 votes cast)
 
[8,861 views] Email Article To a Friend View Printable Version
10.7: Completely disable Resume Apps
This hint describes a way to completely, once and for all, disable all Resume features (that is, 'Reopen windows when logging back in' and Saved Application States) once and for all.

Disable Saved Application States

OS X Lion offers a checkbox to disable saved application states. However, many applications do not seem to care about that checkbox (e.g. Terminal). The easiest way to prevent applications from writing away saved states is exactly that: don't let them write to the saved application states folder.

To do this, first open up Terminal. Issue the following command to remove any saved application states you might have:

rm -r '~/Library/Saved Application State/*'

Now, prevent anything from writing it's state away ever again:

chmod -R a-w '~/Library/Saved Application State'

You may use the chmod command on individual application's folders inside the Saved Application State folder to prevent a single application from writing its state away.

Likewise, to re-enable saving states, use the same command but make the change 'a+w' instead of 'a-w':

chmod -R a+w '~/Library/Saved Application State'

Disable 'Reopen windows when logging back in'

To permanently disable 'Reopen windows when logging back in,' you can use the following command:

defaults write com.apple.loginwindow TALLogoutSavesState -bool false

This will effectively disable 'Reopen windows when logging back in,' though the checkbox will still be ticked. However, this switch resets itself every time on reboot. To prevent this from happening, again we remove write permissions on the file containing the option:

chmod a-w ~/Library/Preferences/com.apple.loginwindow.plist

This should do it. But there's where OS X gets nasty. When it can't write to this file, it will try to put the write permissions back itself. The solution is to change the owner to root, effectively preventing anyone (but root) from changing permissions on the file:

sudo chown root ~/Library/Preferences/com.apple.loginwindow.plist

To reverse this, simply issue the following commands:

sudo chown $USER ~/Library/Preferences/com.apple.loginwindow.plist
chmod a+w ~/Library/Preferences/com.apple.loginwindow.plist
defaults write com.apple.loginwindow TALLogoutSavesState -bool true


[crarko adds: Definitely do this at your own risk. About the only thing most of us might ever care to do would be preventing some individual application from saving its state, as is mentioned near the end of part 1 one of the hint. If you try this I'd suggest testing it with a dummy account first. Note that all the permission changes are only made to files in the user account Library.]
  Post a comment  •  Comments (8)  
  • Currently 3.56 / 5
  You rated: 4 / 5 (9 votes cast)
 
[38,827 views] Email Article To a Friend View Printable Version
10.7: Quickly open links In Terminal Apps
Previously when you had a link (URL) in Terminal you always had to copy/paste or right-click and choose 'Open link' to open it in your default browser.

In Lion, you can simply hold down the Command key and double click the link and it will open in your default browser.

[crarko adds: Confirmed. I really love little touches like this.]
  Post a comment  •  Comments (9)  
  • Currently 4.33 / 5
  You rated: 5 / 5 (3 votes cast)
 
[8,061 views] Email Article To a Friend View Printable Version
10.7: Change time of multiple iCal events Apps
In iCal 5 you can now move multiple events forward or back in the calendar at once.

Multi-select the events to move by Shift+Clicking each event. Then, while holding down both the Control and Option keys, press the arrow keys to move the selected events.

In day or week view up/down keys move the events forward/back by 15 minutes, left/right keys move forward back by a day. In month view up/down move the events forward/back by a week, left/right still move them forward and back by a day. There seems to be no effect in year view.

[crarko adds: I tested this, and it works as described. I don't think I would have guessed to look for that first part.]
  Post a comment  •  Comments (4)  
  • Currently 4.25 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[7,772 views] Email Article To a Friend View Printable Version
10.7: Change number of days in iCal week view Apps
iCal's Debug menu in Lion has a 'Top Sekret' (sic) menu item which allows you to increase the number of days in the Week view up to 28.

You have to turn on the Debug menu in iCal first. This was detailed previously on MacOSXHints for 10.5 and is done with the following Terminal command:

defaults write com.apple.iCal IncludeDebugMenu 1

Or you can use Secrets from Blacktree, a System Preferences pane where it's simply a checkbox.

The Debug menu in iCal now features a 'Top Sekret' menu item. And you can alter the number of days in the week view between 7, 14, 21 and 28. You'll likely need a widescreen monitor or two for that.

[crarko adds: This is definitely new in 10.7. To turn the Debug menu off repeat the above command, using 0 instead of 1.]
  Post a comment  •  Comments (8)  
  • Currently 2.25 / 5
  You rated: 1 / 5 (4 votes cast)
 
[7,111 views] Email Article To a Friend View Printable Version
10.7: Avoid 'Backup of' Files in iWork Apps
With AutoSave and Versions in Mac OSX Lion, iWork now creates a 'Backup of' file for every document you create in an iWork application. However, there is a very easy way to prevent this.

If you're tired of the backup files created by iWork, simply go to Preferences » General (in each of the iWork applications) and then uncheck 'Back up previous version when saving' and check 'Save new documents as packages.' This will maintain the data needed for Versions and AutoSave without cluttering up your Mac with duplicate files.

[crarko adds: This seems to work as described in Pages; I don't necessarily mind having the backup file.]
  Post a comment  •  Comments (6)  
  • Currently 4.50 / 5
  You rated: 4 / 5 (4 votes cast)
 
[5,779 views] Email Article To a Friend View Printable Version
10.7: Navigate iCal calendars using gestures Apps
In iCal 5.0, which is included with Lion, you can navigate between dates, weeks, months, or years using a finger swipe left or right using an Apple Magic Mouse or Trackpad.

Click on the Day, Week, Month, or Year button. Navigate between dates, weeks, months, or years using a finger swipe left or right. The left or right swipes will advance or reverse the displayed calendar.

With the Magic Mouse use a single finger swipe, and on a Trackpad use a two-finger swipe (you must check 'Swipe between pages' in their respective Control Panels).

[crarko adds: When I tried this with the Magic Trackpad, I could only get it to work reliably in the Weekly calendar view, so your mileage may vary.]
  Post a comment  •  Comments (3)  
  • Currently 3.38 / 5
  You rated: 5 / 5 (8 votes cast)
 
[4,925 views] Email Article To a Friend View Printable Version
Cycle between bases in Programming Calculator mode Apps
I use the Programming mode in Calculator.app and often find myself moving to the mouse to switch between octal, hex, and decimal modes. I wrote the two following Applescripts to cycle forward and backward between bases and use Butler to bind them to Command+D and Command+Shift+D.

Cycle forwards:
tell application "System Events"
  tell application process "Calculator"
    repeat with i from 1 to 3
      if the value of radio button i of radio group 1 of group 2 of window "Calculator" is 1 then
        click radio button ((i mod 3) + 1) of radio group 1 of group 2 of window "Calculator"
        exit repeat
      end if
    end repeat
  end tell
end tell
Cycle backwards:
tell application "System Events"
  tell application process "Calculator"
    repeat with i from 1 to 3
      if the value of radio button i of radio group 1 of group 2 of window "Calculator" is 1 then
        if i is equal to 1 then
          set n to 3
        else
          set n to i - 1
        end if
        click radio button n of radio group 1 of group 2 of window "Calculator"
        exit repeat
      end if
    end repeat
  end tell
end tell

[crarko adds: I tested this (on 10.7.1), and it works as described.]
  Post a comment  •  Comments (0)  
  • Currently 3.17 / 5
  You rated: 3 / 5 (6 votes cast)
 
[3,672 views] Email Article To a Friend View Printable Version
10.7: Prevent auto-load of documents in some apps Apps
In some of Apple's Apps (I've tested Preview and Quicktime Player) holding Shift after launching them stops previous documents from reloading.

I've tested this launching from the Dock, the application icon in Finder or from LaunchPad. These all work (Launchpad also does the slow motion effect from holding down shift).

This doesn't seem to work if you use Alfred or Spotlight to search for and launch an application.

[crarko adds: While I'm sure this has been mentioned before, that last bit is news. I tried running TextEdit from Spotlight and sure enough, the Shift override does not apply. It's worth remembering if that's the way you launch applications.]
  Post a comment  •  Comments (1)  
  • Currently 3.60 / 5
  You rated: 4 / 5 (5 votes cast)
 
[3,828 views] Email Article To a Friend View Printable Version