How do I open a folder with AppleScript in the current finder window? -


i know tell application "finder" open posix file "/folder/path/" open new finder window, how can open folder in current finder window?

i found answer myself:

tell application "finder"     set target of front finder window (posix file "/folder/path/") end tell 

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -