Tuesday, June 18, 2013

Applescript to show selected file in finder

tell application "Finder" to reveal alias "Users:kghose:Path:To:My:file.txt"
This will select the given file in finder (opening a finder window if needed)

No comments:

Post a Comment