extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Open With App] extend to open with other Applications like PathFinder, Commander One, etc

Open freese opened this issue 3 years ago • 2 comments

Extension – Open With App

Author: Andres Freese

I love this extension and use it every day.

Describe the feature and the current behavior/state. Sadly, it doesn't support other file managers other than the default Finder Application. The current Apple Script only "tells" the Finder Application to do something with the selected items:

  const applescript = `
  tell application "Finder"
    set theItems to selection
  end tell
  set itemsPaths to ""
  repeat with itemRef in theItems
    set theItem to POSIX path of (itemRef as string)
    set itemsPaths to itemsPaths & theItem & return
  end repeat
  return itemsPaths
  `;

https://github.com/raycast/extensions/blob/de047f2e9ad02d2c79a526f2291f64f74aca05b6/extensions/open-with-app/src/index.tsx#L39-L41

The script could be extended to use other Finder alternatives, specially PathFinder but also Commander One and ForkLift

Who will benefit with this feature? Users of alternative file managers, that offer more features than the Finder.

Thank you very much for this Extension @fturcheti

freese avatar Aug 09 '22 12:08 freese

Good suggestion @freese. As I don’t use PathFinder, would you like to contribute to the extension implementing this feature?

It would be necessary to add a preference for the user to select its file manager: Finder or PathFinder.

And the support for other file managers could be added later, depending on their AppleScript support.

fturcheti avatar Aug 26 '22 03:08 fturcheti

This issue/pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean. Thanks for your contributions.

stale[bot] avatar Oct 16 '22 02:10 stale[bot]