Community Page
- toxicsoftware.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- thank you for the information..
- I'm interested in migrating an EE site to WordPress, but I'm not as tech savvy as you. Do you ever do freelance jobs?
- just found your page, do you if there is a "generic" bluetooth app to remote control the nxt with a mac book? your software works only with space navigator?
- Three things: www.bitbucket.org causes a certificate problem because of the "www" subdomain. Pure python keychain access:...
- Hi. So can you please provide the the code for that application? Would be really appreciated!
Jump to original thread »
I really ought to start blogging again..
So here’s a quick and simple shell script to open Man pages in Xcode. I’ve been using the very nice “manopen” utility to view man pages in a GUI application. But that tool is having difficulties with a cert ... Continue reading »
So here’s a quick and simple shell script to open Man pages in Xcode. I’ve been using the very nice “manopen” utility to view man pages in a GUI application. But that tool is having difficulties with a cert ... Continue reading »
1 year ago
I have a script I've used for a while that uses PDF rendering of pages-- see http://www.atomicbird.com/blog/2007/07/man-page... to see how it works.
1 year ago
1 year ago
1 year ago
1 year ago
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).
1 year ago
But you've just killed my blog post! ;-)
1 year ago
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).