Argus Posted July 20, 2020 Share Posted July 20, 2020 (edited) 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 activate 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 July 21, 2020 by Argus Solved by deanishe Link to comment
deanishe Posted July 20, 2020 Share Posted July 20, 2020 (edited) 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 July 20, 2020 by deanishe Link to comment
Argus Posted July 20, 2020 Author Share Posted July 20, 2020 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 comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now