0. Internet 1. Text 2. Graphics 3. System 4. File 5. Misc 6. Palm 7. OS X |
Find total number of iCal events # John Maisey kindly shared the following AppleScript to find the total number of events in iCal:
set myText to "Count of events in iCal's calendars." & return
tell application "iCal"
repeat with myCal in calendars
set myText to myText & return & (name of myCal) & ": " & (count events of myCal)
end repeat
end tell
display dialog myText
/mac | Sep 01, 2010 OS X: Mount disks as read only or block automounting altogether #Aaron Burghardt's open source Disk Arbitrator provides a simple GUI for changing OS X's automount behavior. Automounting can be disabled completely (especially handy for drive imaging / data recovery via ddrescue, etc) or mounts can be forced as read-only (for forensics, etc, though a hardware write-blocker is still recommended). ![]() This little app replaces the following hacks I've been using to prevent automounting of USB / Firewire drives in OS X:
$ sudo launchctl list | grep diskarbitrationd 188 - com.apple.diskarbitrationd $ sudo kill -SIGSTOP 188 # pauses diskarbitrationd, disabling automount $ sudo kill -SIGCONT 188 # resumes diskarbitrationd, reenabling automount UPDATE 2: More on disabling Disk Arbitration from Apple Examiner. /mac | Aug 17, 2010 OS X: Get OS version info in Terminal #$ sw_vers ProductName: Mac OS X ProductVersion: 10.6.4 BuildVersion: 10F569 $ sw_vers -productVersion 10.6.4Especially handy when resetting a password in single user mode, since the method varies based on which version of OS X is running. /mac | Aug 14, 2010 OS X: Printing in grayscale #A quick search turned up a number of guides on how to print in greyscale under OS X, but they all entailed saving to PDF first and then opening in Preview. The following method worked directly from the print dialog in Snow Leopard (image) with a printer driver that did not include a native grayscale option:
/mac | Aug 07, 2010 Safari 5 hearts OpenDNS #There is no shortage of reports on Safari 5's interminable page load times:
/mac | Jun 30, 2010 Send To SFTP for Mac OS X #There have been a number of Send To FTP/SFTP apps for Windows, but Nick Jensen's OneWay is the first OS X option I've seen. It allows quick and easy (S)FTP uploads via the Context Menu: ![]() (via Hacker News) /mac | May 12, 2010 Safari 4: Bookmark all tabs in all windows #Sometimes you might end up with 4 or 5 Safari windows, each with 10 or 15 tabs. In order to bookmark and save them all into a single new folder, simply click Window > Merge All Windows > Add Bookmark for These n Tabs... Mac OS X Hints hosts several AppleScripts for bookmarking all tabs as well. /mac | May 01, 2010 Transfer large files directly between computers on the Net #There are a number of free, third-party solutions for transferring files directly from computer A to computer B across the Internet:
/mac | Apr 28, 2010 Shrink PDF file sizes with ShrinkIt #ShrinkIt 1.1 [181K] Strips needless metadata from PDFs to reduce file size. /mac | Apr 27, 2010 The disk cannot be partitioned because some files cannot be moved. #Boot Camp offers some really bad advice when it can't partition the disk: The disk cannot be partitioned because some files cannot be moved.A much more helpful message would be: You've got some big file(s) I can't move. Find 'em (find ./ -size +100M) and get 'em off the disk, or just use iDefrag instead.No, actually this is what the message should read: You need to move big_file.iso to another disk before Boot Camp setup can continue. /mac | Apr 27, 2010 |
Categories
Blosxom Archive
2010: 9 8 7 6 5 4 3 2 1
2009: 12 11 10 9 8 7 6 5 4 3 2 1 2008: 12 11 10 9 8 7 6 5 4 3 2 1 2007: 12 11 10 9 8 7 6 5 4 3 2 1 2006: 12 11 10 9 8 7 6 5 4 3 2 1 2005: 12 11 10 Blogger Archive
Ezine Archive
|