Posts

Showing posts from January, 2009

Applescript

I blame Applescript. Or was it VDP with its logic based print and databases? Yep, one of the first programming languages I used was Applescript. Probably cos with print, back in the day, I didn't know any better and some of the repetitive crap I was having to do could be automated in some way on another... I'll come back to this post and amend it with some of the scripts I've done that might come in handy as reference for me or help some other, lost, web surfer

get file paths

POSIX tell application "Finder" set currentFile to (POSIX path of (selection as string)) set the clipboard to currentFile display dialog currentFile & return & return & (**cont next line**) "is on the clipboard" as string buttons {"OK"} (**cont next line**) giving up after 4 default button 1 end tell Mac tell application "Finder" set currentFile to selection set the clipboard to the currentFile as string display dialog (currentFile as string) & return & return & (**cont next line**) "is on the clipboard" as string buttons {"OK"} (**cont next line**) giving up after 4 default button 1 end tell

Google, not Tesco.

Due to starting another job recently, I've re-discovered Google docs and other Google online apps. I've tried using them before, just briefly, but never really thought about how to use or implement using them. They're GREAT! So what's that got to do with Tesco? I don't like Tesco. Why? I feel for the local cornershop businesses who can't compete on price but provide the kind of personal service you'd just never get in Tesco. As a result local shops going out of business, less people walking up the road to get a few slices of ham, or bread, or tin-opener, or shoes, etc. Not bumping into their neighbours, saying hi, seeing how there family are, passing the time of day, etc Not that Google are Tesco (perhaps that falls to Microsoft?) but they do seem to be getting everywhere and into everything. As yet tho' I can only see how their 'free' apps can only help, not hinder, businesses or individuals...

Whoa!

Something else I've started and won't finish..? Still, I've wanted to run my own blog/dump for a while now. Somewhere to post my nick nacks/rants/musings/tips. Originally on a DIY home server but never quite got it together and couldn't stand the fan noise coming from under the stairs :D