I have a Word doc. I use Quicklook on it. It generates a visual but you can’t do anything with it. I wanted to print without opening MS Word. Most tips talk about using the File menu in Finder to Print… the selected file, which of course opens the doc. That’s not desirable. I couldn’t find a solution until I searched qlmanage instead of “quick look”. Well low and behold…
Create PDFs with QuickLook – Stian’s PhD wiki
Word documents are good for editing, and better for converting to Kindle .mobi files, etc. But my academic workflow is built around PDFs, and I like using Skim for marking them up etc. I also hate having to fire up Word every time I just want a quick look at some document. Turns out you can use QuickLook to generate PDFs from any format it knows how to preview (and you can add support for lot’s of extra formats through plugins).
For the latest code:
I’ll have to see if I can get this working with Alfredapp. 🙂
edit: a few different takes on it are here:
I’ve been investigating some possible development opportunities dealing with OpenXML. Obviously for what it has to do there is quite a lot baked in and finding out what a particular node or attribute does though can be a bit time consuming. Schema Central offers a search though. Fast and concise. Not noticing the context I was in I saw <w:b />. A quick search yielded the text below prompting me to look at surrounding nodes. Yep, makes sense. Nice.
OOXML w:b — Complete documentation and samples
I use Skim for reading PDFs whenever I don’t need to do major collaboration with others with Acrobat. I really like it and recommend it whenever someone even remotely mentions issues with reading PDFs on OS X. One neat thing Skim has is a reading bar. It helps to focus when going through code related books, etc. I never knew how to make the most of it until today. I was thinking “it sure would be nice if you could move that reading bar with the keyboard.” I’ve thought that many times. Today I checked the suggested features and sure enough, it’s been requested and fulfilled. But it’s hidden!
SourceForge.net: Tips and Tricks – skim-app
Skim also has a few unlisted shortcuts to make life easier. Some only work in specific tool modes or when a note is selected. These shortcuts only work when the main PDF view has the focus.
|space, ⇧space, page down, page up
||scroll page down/up
|→, ←, ↓, ↑
|⌥⌘→, ⌥⌘←, ⌥⌘↓, ⌥⌘↑
||change tool mode
|→, ←, ↓, ↑, ⇧→, ⇧←, ⇧↓, ⇧↑
||move selected note
||edit selected note
|⌥⌃→, ⌥⌃←, ⌥⌃↓, ⌥⌃↑, ⇧⌃→, ⇧⌃←, ⇧⌃↓, ⇧⌃↑
||resize selected note
|⌥→, ⌥←, ⌥↓, ⌥↑
||move reading bar
||resize reading bar
||rotate through notes and links
||deselect active note
|t, n, c, b, h, u, s, l, f
||change note tool mode (only in note tool mode)
I may finally get my hand to try Appcelerator studio with a desktop app. It looks quite interesting. I like the idea of being able to use HTML5/CSS3/JS for the front end and use other scripting languages on the backend. PHP, Python and Ruby are all options but OS X Snow Leopard has trouble with PHP and Python’s setup isn’t as intuitive as Ruby’s setup. It’s a bit odd given Python’s influence in the Appcelerator environment. But Ruby looks fun. Looking forward to trying it out. Including Ruby gems seems straightforward too:
And then there is this nice little demo app to show off a bit of Ruby and Titanium:
Nice. Props to the folks who make this possible!
I was working on a Flash Pro project, coding in FlashBuilder. The way to go. The nearest I can tell is when running a debug build for some reason the project lost something. The legendary yellow squiggles with the ? marks appeared all over the place. I couldn’t get it to go away. It’s in git so I just checked it out in a new folder without the project files and could keep moving. After another debug build, it happened again. Not sure on that bit. But I found that doing ANY change in the file and saving the imported file would suddenly make the file usable again.
Open up MyClass and do anything that allows FlashBuilder to save it. The quickest was space/delete/save. If you have FlexFormatter on make sure auto format isn’t on if you don’t want to reformat 3rd party libraries when doing this. So it seemed that anything you change, so that it saves, brings the file back into FlashBuilder’s list of valid imports. But when you close the project and reopen it, the invalid imports are back.
That got me to thinking… if I just touch the file would that do it? It did. Now we’re in business.
find . -type f -print0 | xargs -0 touch
That did the trick. All the files are back in business. It’ll happen again but at least I have a quick way to get it working so refactoring, finding usages, hiearchy and all that goodness works again.
This is FlashBuilder 4.5.1.