Basic Apple Script

On your desktop, create a folder called test. Inside the test folder, create a folder called tester. Now open a finder window and navigate to a random location, like home, but not one of these folders.

Now open the AppleScript Editor and paste the code below into the AppleScript Editor input window (the top pane).

[text collapse=”False”]
tell application "Finder" to set the target of the front Finder window to folder "tester" of folder "test" of desktop
[/text]

The finder will automatically open the tester folder in the foremost open window.

A complete tutorial here:

http://www.macosxautomation.com/applescript/firsttutorial/index.html

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>