Originally Posted By: Virtual1
In terminal:
Code:
osascript -e "tell application \"Preview\" to open \"/System/Library/CoreServices/Installer.app/Contents/Resources/Installer.icns\""
Installer.icns\""

Hmm, seems a tad roundabout. Why not

Code:
open -a Preview.app /System/Library/CoreServices/Installer.app/Contents/Resources/Installer.icns

...or at least

Code:
osascript -e "tell application \"Preview\" to open \"/System/Library/CoreServices/Installer.app/Contents/Resources/Installer.icns\""; osascript -e "tell application \"Preview\" to activate"

so the Preview window is in front? wink



dkmarsh—member, FineTunedMac Co-op Board of Directors