Archive for March, 2009

bBox FileMaker plug-in for AppleScript, shell, grep, etc.

Sunday, March 29th, 2009

Finally got a new version of my FileMaker plug-in going with a feature that I’ve been waiting for a long time — the ability to pass parameters to AppleScript without having to resort passing data through FileMaker globals or other craziness. The best place to find it right now is:

Since it’s already described there I won’t be going into great detail about it. But I do plan on posting some comments on how to make good (or unexpected) use of it .

Here’s my first easter-egg. In the shell section of the demo file, I’ve put in some of the Safari preference snippets that I mentioned in Hidden preferences, files, and URLs in Safari. Eventually I may get them all in.

Hidden preferences, files, and URLs in Safari

Sunday, March 8th, 2009

Enter these in Safari’s URL field in the Address Bar:

Open Safari’s bookmark manager:


Open the boot drive directory in Finder, or open a specified directory in the Finder:

List all of Safari’s keyboard shortcuts:


These must be entered in the Terminal after quitting Safari.

Turn off inline rendering of PDFs:

defaults write WebKitOmitPDFSupport -bool YES

Enable the Debug menu:
defaults write IncludeDebugMenu 1

Full page zoom feature (works in 3.1?):
defaults write WebKitDebugFullPageZoomPreferenceKey 1

Force links that normally open in new window to open in a tab:
defaults write TargetedClicksCreateTabs 1

Enable web inspector tool (requires debug mode to be turned on?):
defaults write WebKitDeveloperExtras -bool true

Show URL for link as tool tip:
defaults write WebKitShowsURLsInToolTips -bool true

Change the length of Safari’s history. To a full year with a maximum of 9999 items:
<span>d</span>efaults write WebKitHistoryItemLimit 9999

defaults write WebKitHistoryAgeInDaysLimit 365

Make safari start displaying web page before all pics have finished downloading:
defaults write WebKitInitialTimedLayoutDelay 0.25

defaults write WebKitResourceTimedLayoutDelay 0.0001