DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Nico's picture

Unregistered

Feeds

aliases

  • Nico
  • Nico

Nico

1 year ago

in Foucault's Pendulum: An update on The Secret Diary of Steve Jobs
Most audiobooks are made by reading books that are typeset in Arial. I can't stand the sound of Arial.
1 reply
Tim of the Sand Brilliant, Nico. Many thanks.

1 year ago

in New MacBook priced better than Dell. No kidding. on The Secret Diary of Steve Jobs
If it goes on like this, you need 13 fingers in a year. "Just make a start with six fingers and simultaneously rotate the other 7 around it and - BOOM - another tab opens. It's that simple".

1 year ago

in View man pages in Xcode script on toxicsoftware.com
Turns out that what I wrote doesn't work with Leopard (it did work with Tiger, though). But the apple_ref scheme is actually documented: http://developer.apple.com/documentation/Develo...

So to open the "interesting" man page (1) (that's what your script does as well) you can use

tell application "Xcode" to show document with apple_ref "//apple_ref/c/func/strlen"

to open the man page for strlen. And

tell application "Xcode" to show document with apple_ref "//apple_ref/occ/instm/NSArray/initWithArray:copyItems:"

to show the documentation for -[NSArray initWithArray:copyItems:]. And so on. Semi-useful if you want to use a better editor than xed for code editing, but still look at XCode documentation from there (only semi-useful because you have to guess the top-level link like occ, c etc first before sending the applescript command to xcode).

1 year ago

in View man pages in Xcode script on toxicsoftware.com
osascript -e ''tell application "XCode" to show document with apple_ref "//apple_ref/doc/man/1/'$1

should work as well and doesn't require gui scripting. Use "//apple_ref/doc/c_ref/" to show documentation for C code (e.g. Carbon functions and constants; cocoa class names work too).
Returning? Login