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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -