Jump to content

Create HotKey Workflow to display Finder Window


Recommended Posts

Hello,

 

I have a workflow for all my favourite apps. For example, if i want to display Photoshop ( already opened ) in front of all my apps I have created a trigger cmd+ P and it works perfectly. But I can´t do that because Finder is not a standard app like the others... How can I create an hotkey for example cmd+d to display the Finder window in front of the other apps?

 

Thanks for your time.

Best regards.

 

 

Link to comment

Hello,

 

I have a workflow for all my favourite apps. For example, if i want to display Photoshop ( already opened ) in front of all my apps I have created a trigger cmd+ P and it works perfectly. But I can´t do that because Finder is not a standard app like the others... How can I create an hotkey for example cmd+d to display the Finder window in front of the other apps?

 

Thanks for your time.

Best regards.

 

You could accomplish this by creating a workflow and adding a hotkey and a Run Script item. Set your hotkey and for the Run Script, set your language to /usr/bin/osascript.

In the script area, use this code..

tell application "Finder" to make new Finder window

That should get what you are looking for :)

Link to comment

After a lot of research i have found a way with the following workflow:

 

1  | Create Trigger > Hotkey ( cmd + f for example )

 

then

2  | Create Action > Run NSAppleScript and write:

 

 

on alfred_script(q)
  tell application "Finder"
    activate
end tell
end alfred_script
 
3 | Link both of them
 
And that´s it! No Finder new window, just the Finder activation!
Edited by Cartageno
Link to comment

 

After a lot of research i have found a way with the following workflow:

 

1  | Create Trigger > Hotkey ( cmd + f for example )

 

then

2  | Create Action > Run NSAppleScript and write:

 

 

on alfred_script(q)
  tell application "Finder"
    activate
end tell
end alfred_script
 
3 | Link both of them
 
And that´s it! No Finder new window, just the Finder activation!

 

 

Yup, to launch an app or just show a window, "activate" is the way. Glad you got it figured out.

Link to comment
  • 7 months later...
  • 7 months later...

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