Jump to content

File Browser Shortcuts


Recommended Posts

Say I wanted to type in a keyword in Alfred and it would start up the file browser at /some/specified/directory. How would I go about doing this? Would I need a separate script? My end goal is to type in a keyword say ssd, and that text would be replaced in alfred with /some/specified/directory. 

Link to comment

Say I wanted to type in a keyword in Alfred and it would start up the file browser at /some/specified/directory. How would I go about doing this? Would I need a separate script? My end goal is to type in a keyword say ssd, and that text would be replaced in alfred with /some/specified/directory. 

 

 

on alfred_script(q)
    tell application "Alfred 2" to search "/some/specified/directory"
end alfred_script
Link to comment

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...