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

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: 1 / 5 (6 votes cast)
 
[3,730 views]  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: 2 / 5 (5 votes cast)
 
[3,902 views]  View Printable Version
10.7: Change iCal font size Apps
I was thinking Command+ or Command- might zoom in or out like Safari or Mail but found the it behaves differently in iCal.

In iCal Command + or - changes the font size on displayed calendars.

[crarko adds: This is new in iCal 5. It's shown in the iCal View menu as 'Make Text Bigger' (or Smaller).]
  Post a comment  •  Comments (0)  
  • Currently 3.75 / 5
  You rated: 3 / 5 (4 votes cast)
 
[8,700 views]  View Printable Version
10.7: Use Emoticons to distinguish shells Apps
Now that Mac OS X supports Emoji, they can be added to the title of a terminal window to help distinguish shell windows.

One application that has been updated in Mac OS X Lion is the venerable Terminal.app which finally supports 256 colors. While playing around with Emoji characters, I realised they were quite useful to mark different terminals. I typically have multiple windows open with local and remote shells, along with a python interpreter. Previously I used the background colour of the terminal to distinguish the various contexts, but now I also add an relevant Emoji in the title.

To add the character to a Terminal window's title, just go into Terminal » Preferences, select the Settings Icon and the Window tab. In the Title item, you can enter the emoticon in the title text by going to Edit » Special Characters and select the Emoji set. Double-click the character you want to insert.

I posted some examples and an image on my blog.

[crarko adds: I tested this, and it works as described. This did make me smile.]
  Post a comment  •  Comments (2)  
  • Currently 4.00 / 5
  You rated: 5 / 5 (5 votes cast)
 
[5,604 views]  View Printable Version
10.7: iCal Month View New Event behavior Apps
Lion's iCal changes default behavior of new event creation in Month View and creates all day events by default.

The single behavior in Lion that makes me grumble the most is the behavior in iCal when creating a new event in Month View (things work as before in day and week views). In Lion, when creating a new event by double clicking on the day the event is automatically assigned as an all day event. In most instances where an appointment is being created this will need to be changed.

The solution is that in Month view double click on the day you want to make the event on and then type 'Steve 9am' and it will correctly define an event called Steve that starts at 9am and ends one hour later.

You can even get fancy and define an event's length in the title, e.g. 'Steve 9am-2pm' and it will correctly set an event that starts at 9am and runs until 2pm.

One hour is the default length for an event, however if you would like to redefine the default length of all new events the command is:

defaults write com.apple.iCal 'Default duration in minutes for new event' 15

This makes event lengths default to 15 minutes, but you can use whatever value you wish.

[crarko adds: I tested this, and it works as described. Obviously to go back to the hour default length you can change the 15 to 60 in the above command.]
  Post a comment  •  Comments (10)  
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[11,081 views]  View Printable Version
10.7: Quicktime Player playback speed gesture Apps
I came across this when I accidentally moved my finger on my Magic Mouse when playing back a video.

When a video is playing in Quicktime Player X if you swipe with with one finger on the Magic Mouse (or 2 fingers on the Trackpad) the playback speed can be altered.

Swiping from left to right speeds things up; right to left slows things down.

When you swipe the speed is displayed on the top left of the video and the controls popup is replaced with a simple arrow indicator with gradient lines at 2x, 4x and 8x speed up.

The speed change only happens as long as you have your finger on the surface; as soon as you release the playback resumes to 1x speed.

[crarko adds: When I tried this using the Magic Trackpad (with two fingers) what happened is that is would stop playing the video and scroll to a different spot in the timeline. But as with the Window-throwing hint, I'm willing to believe it's me fat-fingering things. Give it a try and post your results.]
  Post a comment  •  Comments (5)  
  • Currently 3.33 / 5
  You rated: 4 / 5 (6 votes cast)
 
[11,134 views]  View Printable Version
10.7: Easy package tracking in Mail Apps
Often, when you get a shipping receipt email for an online purchase, the shipper will provide the tracking number as a link, so you can easily see its progress. But this is not always the case. Fortunately, Lion's Mail app (and possibly past versions) can help.

Hover the mouse over the tracking number, and a dotted line should appear around it, along with a drop-down arrow on the right. Click that arrow, and, if a menu ensues, select 'Track Shipment.' A Quick Look panel will open with the shipment info (from the website of UPS, FedEx, etc.).

Mail will do this for you whether the tracking number is linked or not, so this hint can be helpful any time you want to check up on the shipment but don't want to switch to a browser to do so.

[crarko adds: I don't have any pending shipments to try this out with, but two people mentioned this feature works in 10.7. Will someone verify if it does or does not in Snow Leopard and post in the comments? Thanks.]
  Post a comment  •  Comments (10)  
  • Currently 3.88 / 5
  You rated: 1 / 5 (8 votes cast)
 
[4,969 views]  View Printable Version
10.7: View Calculator results in large type Apps
Right click on the display in Calculator.app and select 'Large Type.' An overlay appears with the number in large type so you can see it easily. Simple, but cool.

This works in the Lion version of Calculator.app. I don't know if it was there in earlier versions. It works just like the 'Show Large Type' feature for phone numbers in Address Book.

Here's some bonus Calculator.app trivia: Mac OS X 10.7's Calculator has 16 help pages.

[crarko adds: Also, when you right-click in Calculator the same pop-up menu gives you the option to change over to RPN if you prefer. I tried it in Snow Leopard and it's not there. It's always a nice touch when the older applications get some improvement.]
  Post a comment  •  Comments (2)  
  • Currently 2.80 / 5
  You rated: 2 / 5 (5 votes cast)
 
[4,153 views]  View Printable Version
Out Of Office setting for Exchange in Mail.app Apps
In Mail.app on Lion (and possibly on Snow Leopard as well) there are no obvious options to control out of office settings. For Exchange users, it appears the only option is to use Outlook Web Access (OWA).

However, there is a way to do this in Mail itself. Once the Exchange account is setup, right-click on any folder or sub-folder of the Exchange account and choose Get Account Info. Make sure the account in the drop down shows your Exchange account. Your second tab will say 'Out Of Office.'

Interestingly, mine shows the last OoO config that I had last setup in OWA meaning it read the data from the Exchange server (this is convenient when you want to keep the body of the message the same and only change the applicable dates). Options are included for different auto-replies to internal or external entities and the ability to set it to run only for a certain time period (so we don't forget to turn it off).

Basically all the functionality found in OWA is available in the Mac Mail client.

[crarko adds: I don't currently have an Exchange 2007+ account setup to try this with. Go ahead and post your results in the comments.]
  Post a comment  •  Comments (7)  
  • Currently 4.33 / 5
  You rated: 3 / 5 (6 votes cast)
 
[19,092 views]  View Printable Version
10.7: Spotlight indexing of Applications folder required for App Store updates Apps
The Mac App store seems to refuse to let you update existing apps if it can't find those applications in the Spotlight index. This affects any user who has turned off Spotlight completely, or has just turned off the indexing of the Applications folder.

This problem has been much discussed on the Apple Support Communities pages and the following solution has been mentioned by several people there (so credit is due to them rather than me).

If Spotlight indexing of your Applications folder is disabled then the 'Updates' tab of the Mac App Store will not list any updates. However, you will see those updates if you click on the 'Purchases' tab. If you try clicking on 'Update' button from this tab, an error message appears indicating that you are not signed into the correct Apple account.

In my case, I only have one account, so this message seemed to be erroneous. I tried signing out and back into my Apple account, but this didn't help. Note that this problem was not fixed by the 10.7.1 update.

Following advice in this Apple Discussion thread I checked my Spotlight indexing rules and discovered that I had turned off indexing of the Applications folder (see the 'Privacy' tab of the Spotlight preference pane).

Removing the rule on ignoring the Applications folder fixed the problem. I waited until Spotlight could now find all of my applications, and then reopened the Mac App Store and was able to update applications.

[crarko adds: This was suggested in the comments to this earlier Xcode updater hint, and this provides confirmation of that.]
  Post a comment  •  Comments (0)  
  • Currently 4.20 / 5
  You rated: 5 / 5 (5 votes cast)
 
[5,678 views]  View Printable Version