#!/bin/sh
# FlySketchCloseWindow=YES

f="${0%/*}"

command='tell application "Finder" to open folder (POSIX file "'$f'")'
echo $command | /usr/bin/osascript

/usr/bin/osascript -e 'tell app "Finder" to activate'
