Site Update
Dec 11
Miscellania meta, WordPress Comments Off
I’ve updated this site to WordPress 2.7. Wahoo! I also cleaned up some old posts, re-did some tags, and cleaned out old tags. Posts are also now sorted into categories.
Mac tips, iPhone applications, and the like
Dec 11
Miscellania meta, WordPress Comments Off
I’ve updated this site to WordPress 2.7. Wahoo! I also cleaned up some old posts, re-did some tags, and cleaned out old tags. Posts are also now sorted into categories.
Nov 17
Miscellania meta Comments Off
I’ve been busy, between wedding planning, work, and moving, but I’m back on the blogosphere!
Jun 27
Miscellania blogging, Dreamhost, meta, WordPress Comments Off
I’ve moved this blog over to Dreamhost, which means a couple of things: first, I’m managing my own WordPress installation now, which is pretty cool. Don’t get me wrong, WordPress.com is great—and I’m still technically using it to forward traffic to my old address here—but managing your own server is pretty cool. I can install whatever themes I want and edit them as I see fit, without paying money to do so. Sure, I’m paying money for hosting, the domain name, and the domain name forwarding from WordPress.com, but at least now the blog is here on my own terms.
Moving the blog here was a long and arduous process, one that required patience on my part and that gave me a crash course in DNS for web servers. I was able to do it mostly off of a post at blog-well.com, and since the attached PDF has rights to edit it built in, I think I’ll work on some instructions for this process to help others along. Keep your eyes peeled!
Jun 27
Miscellania meta Comments Off
This blog may be temporarily unavailable as I switch it to blog.slaunchaman.com. Be patient — it’ll soon be back up and all of your old links (including RSS subscriptions) will still work.
May 28
Mac Tips AppleScript, meta, scripting 3 Comments
After looking at my AppleScript to resize windows, I’ve decided to make a few updates. Instead of manually doing the math for each resolution, I’ve created a new variable, desired_width, which is exactly what it sounds like: how wide you want your windows to be. I’ve also made the other variable names more human-friendly: _nl and _nr are now left_bound and right_bound, respectively, for example. After adding iTunes to my script, I noticed that it was being resized behind the menubar, so instead of setting the upper bound for all windows at 0, I’ve defined the variable top_bound, which defaults to 22 to account for the height of the menu bar. If you find that this setting is incorrect (e.g. if you’ve enabled some accessibility settings that change font sizes and therefore the size of the menu bar) you may need to change it; I haven’t found a way to get the height of the menu bar in AppleScript yet—so far I’ve only found it in Java—so if anyone knows feel free to leave a comment. Finally, after seeing this post by Jamie Matthews, I added some functionality to automatically set bottom_bound to the height of the Dock.
After all of these updates, the script now takes a desired width and moves applications that support AppleScript such that they range horizontally to your desired width, centered on the screen, and stretching from the bottom of the menu bar to the top of the Dock. In the future, I’d like to make a separate application, perhaps AppleScript-based, that will allow for user customization of how the windows are arranged, allow for custom application settings, and perhaps Spaces integration.
Recent Comments