Tag Archives: osx
As of a recent release of Quicksilver (around B68 3927) the shelf module has been revised (version 1.2.3 5/9/12) and it will now pop up on the left side of the screen if you hover your mouse cursor near the center of the screen: I love quicksilver but personally find this a little annoying. As far as I can tell there is no visible option to customize where the settings are for the shelf’s behavior, but if you don’t use it you can disable the shelf in Quicksilver’s plugins module: If there is a way to disable the shelf from appearing on the left side you may be able to access it directly with something like the defaults write command. This command turns previews on: defaults write com.blacktree.quicksilver “QSLoadImagePreviews” YES
###Animate launch### defaults write com.apple.dock launchanim -boolean Expose minimizes desktop defaults write com.apple.dock wvous-olddesktop -boolean Prevent changes to position defaults write com.apple.dock position-immutable -boolean Magnification defaults write com.apple.dock magnification -boolean Show Expose corners defaults write com.apple.dock wvous-showcorners -boolean Prevent changes to min-effect preference defaults write com.apple.dock min-effect-immutable -boolean Ripple when placing widgets defaults write com.apple.dock disable-ripple -boolean-neg Screen Edge Position defaults write com.apple.dock orientation -string left defaults write com.apple.dock orientation -string bottom defaults write com.apple.dock orientation -string right Dock Appearance defaults write com.apple.dock no-glass -float Prevent changes to min-in-place preference defaults write com.apple.dock min-in-place-immutable -boolean Arrow key wraps defaults write com.apple.dock workspaces-wrap-arrows -boolean Dock pinning defaults write com.apple.dock pinning -string Bounce Applications defaults write com.apple.dock no-bouncing -boolean-neg Show “Quit” menu item defaults write com.apple.dock QuitFinder -boolean Switch spaces when using Command-Tab defaults write com.apple.dock workspaces-auto-swoosh -boolean Highlight the arrow of the foremost application defaults write com.apple.dock showforeground – wvous-float-style defaults write com.apple.dock wvous-float-style – Dim hidden apps defaults write com.apple.dock showhidden -boolean Prevent changes to Dock contents defaults write com.apple.dock contents-immutable -boolean Show only running applications defaults write com.apple.dock static-only -boolean Hot Corner: Top left defaults write com.apple.dock wvous-tl-corner -string Show shadow defaults write com.apple.dock showshadow -boolean Always show trash as empty defaults write com.apple.dock trash-full -boolean Prevent changes to Dock size defaults write com.apple.dock size-immutable -boolean Enable single application mode defaults write com.apple.dock single-app -boolean Hot Corner: Top right defaults write com.apple.dock wvous-tr-corner -string Autohide defaults write com.apple.dock autohide -boolean Show floating Expose button defaults write com.apple.dock wvous-floater -boolean … Continue reading
Below is my Applescript example of how to check if an application is running, such as Finder.app, VLC.app, itunes.app, or something along those lines. Quite often I need to check if an application is running as part of my applescript, and so I use this little function / subroutine in applescript to test if the application is running: on appIsRunning(appName) tell application “System Events” to (name of processes) contains appName end appIsRunning Example usage: display dialog appIsRunning(“Finder”) The above apple script example will show “true” in a popup dialog.
I’ve been disappointed that the preview in the OS X Lion does not show multiple pages per sheet like Leopard and Snow Leopard did. I often do this to conserve paper when I’m printing lecture notes. With Leopard, I’m often doing this blind and get things out of order. Preview or Acrobat provide this functionality, but in Preview the functionality is hidden under the “Preview / Layout” dropdown option: To print multiple pages per sheet, first select the Layout option from the Print dialog. It is part of the menu marked “Preview.” Then, choose the number of pages which should be printed on one side of a single sheet of paper. With this example, there will be two pages on each side, for a total of four pages on a single sheet of paper when duplexed. You can also optionally set the layout direction, and whether a border should be printed around each individual page.
use the Command-Tab shortcut to get to the application. With the application selected press the Option key and release the Command key. One minimized window of the application will become un-minimized (if you have more than one minimized application window, you have to un-minimize the other windows the old fashioned way). Alternatively you can use a utility like FastScripts to assign a keyboard shortcut to an Applescript file. I have set up Cmd+Option+M to run the following script which seems to work fine for most applications on OS X Lion: tell application (path to frontmost application as text) try set miniaturized of windows to false — most apps end try try set collapsed of windows to false — Finder end try end tell — Hack from willshouse.com to make sure Finder really does unminimize windows if (name of (info for (path to frontmost application)) as text) is “Finder.app” then try tell application “Finder” set collapsed of windows to false — Finder end tell end try end if
You may have noticed that when you log out or reboot Mac OS X Mavericks, you get a dialog window with a checkbox next to “Reopen windows when logging back in” that restores all of your currently open applications and windows. If you don’t like it and you’re tired of unchecking the box to no longer reopen the windows, you can use a third party script to render the feature useless. To clarify, what this does is disable the feature completely on a constant basis, regardless of whether that checkbox to preserve windows is checked or not, the windows will not restore. You may have noticed that when you log out or reboot Mac OS X Mavericks, you get a dialog window with a checkbox next to “Reopen windows when logging back in” that restores all of your currently open applications and windows. If you don’t like it and you’re tired of unchecking the box to no longer reopen the windows, you can use a third party script to render the feature useless. To clarify, what this does is disable the feature completely on a constant basis, regardless of whether that checkbox to preserve windows is checked or not, the windows will not restore. ** instructions ** create a new file called /tmp/loginfix.sh in your temporary directory touch /tmp/loginfix.sh add two lines into that file to tell it to remove login window files: echo ‘#!/bin/sh’ > /tmp/loginfix.sh echo ‘rm -f /Users/*/Library/Preferences/ByHost/com.apple.loginwindow.*’ >> /tmp/loginfix.sh make that file owned by the system: … Continue reading