Tag Archives: OS X

Mac ready “lightbox” close widget

I use a Mac, you use a Mac. Our close window button is in the top left corner of the window so it’s convenient when a JavaScript pop-over puts the “button” there, though most don’t. A few I run into I’ve decided to throw some CSS at to fix them.

/**** Mac ready "close" widget ****/
/* Wordpress admin "More info..." */
div#TB_ajaxWindowTitle {
  position:absolute;
  top:0px;
  left:25px;
  float:none !important;
  display:inline !important;
}
div#TB_closeAjaxWindow {
  display:inline !important;
  float:left !important;
  clear:left !important;
}
/* Amazon */
div.ap_close {
  left: 24px !important;
}
span.ap_closebutton {
  float:left;
  clear:left;
}
/* "Fancybox" */
a#fancybox-close {
  left:-15px !important;
}
/* "MultiBox" */
div.MultiBoxClose {
  left:-26px !important;
}
/* Disqus profile */
a.dsq-modal-close-btn {
  position:absolute !important;
  top:10px !important;
  left:10px !important;
}

This would of course go into your user defined CSS file. Which in Safari can be added at Safari > Preferences | Advanced – Style sheet:

Steam client for Macintosh

What a pile. All it is is a web browser. That’s pretty much it. And a poor one at that.

Instant beefs:

  • It installs games as hidden files not applications.
  • It runs a process named ‘ipcserver’ that remains alive after you quit the client.
  • The UI is non/sub-standard.
  • It doesn’t clean up after itself if you relaunch after force quitting it which then prevents it from starting* (though the ‘ipcserver’ seems to have no trouble starting).

To overcome that last item (which throws an error stating “steam engine instance already exists”) you have to manually remove a couple of files from /private/tmp. In Terminal type rm /private/tmp/*-steam-mstr-* and press return, then launch Steam.

*[UPDATE] Newer clients (the About window doesn’t actually list a version. More Steam on Mac “goodness” 😐 ) will launch after a force quit by apparently recycling the left over files which needed to be removed manually before.

AppleScript CSV numbering table generator

Found a pretty big bug involving leading zeroes that I just had the chance to encounter which caused the script to silently die when run from the AppleScript menuextra, yet run (incorrectly) from Script Editor. Should be good.
[UPDATE] Changed to manually enter number up, prompt for total number of finished pieces instead of ending number, and prompts to reverse order the numbers in case you have a rip that won’t do it on output (multi copies using “VDP” for me).
An AppleScript to generate a numbering table in comma separated value format. Works great with InDesign's data merge function.
Continue reading