Jump to content

[SOLVED] Finder workflow to open new window

Recommended Posts

I'm an AppleScript newb. I'm trying to make a workflow to open a new finder window.


Here is my current script: 

tell application "Finder"
	make new window
end tell


Calling it with my keyboard shortcut results in no behavior. I checked out the AppleScript finder documentation but I must be missing something. Could someone please help me out?



Edited by Argus
Solved by deanishe
Link to post
2 hours ago, Argus said:

Calling it with my keyboard shortcut results in no behavior


“Does nothing” is not a useable description of a problem. Something is happening. When a script isn’t working, check Alfred’s debugger for an error message.


Fortunately, in this case, your mistake is obvious enough to diagnose without the error message: you need make new Finder window


Edited by deanishe
Link to post

Thanks for the tip and solution. I am now using the debugger tool.


For any interested I had to make a couple other corrections:

1. Change "Argument required" to "No argument" in my keyword trigger

2. Change the Run Script so that it was running "/usr/bin/osascript" rather than "/usr/bin/"



Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...