raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.37k stars 3.07k forks source link

[Copy Path] Copy Path does not get URL from Little Arc #12677

Closed chrismessina closed 1 month ago

chrismessina commented 5 months ago

Extension

https://www.raycast.com/koinzhang/copy-path

Raycast Version

1.75.2

macOS Version

14.5 (23F79)

Description

I am unable to use Copy Path via keyboard shortcut to get the current URL of the frontmost Little Arc window.

Ideally I would be able to set a global hotkey to grab the URL/Path of whatever I'm looking at, since I use Arc's Copy URL keyboard shortcut dozens of times a day.

Moving this function to Raycast would be incredibly convenient — but not without adding support for Little Arc windows.

--

Feature suggestion: It may make sense to reverse the logic of this extension to start w/ browsers and then fall back to Finder in terms of the copy path priority, or to offer the option to prioritize browsers over Finder.

Steps To Reproduce

  1. Enable Raycast Copy Path extension and set keyboard shortcut to ⇧⌘C
  2. Open Arc and pull up a URL in the main window (e.g. raycast.com)
  3. Open a Little Arc window and go to a URL (e.g. perplexity.com)
  4. Hit ⇧⌘C
  5. Inspect your clipboard to see which URL was copied.

Current Behaviour

The URL from the main Arc window will have been copied (raycast.com), not the Little Arc URL (perplexity.com).

Expected Behaviour

The URL from the Little Arc window should have been copied.

raycastbot commented 5 months ago

Thank you for opening this issue!

🔔 @koinzhang you might want to have a look.

💡 Author and Contributors commands The author and contributors of `koinzhang/copy-path` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
koinzhang commented 5 months ago

Hi @chrismessina The inability to copy Little Arc's URLs is not due to priority, but because Little Arc is a custom window view for Arc (not natively supported by Chromium), and Little Arc is not perceived through Raycast's Api or Applescript, so it is not possible to copy page URLs

raycastbot commented 3 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

chrismessina commented 3 months ago

Let me reach out to someone on the Arc team...

chrismessina commented 3 months ago

The Arc team is aware of it and may work on it soon.

raycastbot commented 1 month ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 1 month ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.

thomasmaherault commented 1 month ago

@chrismessina Do you have any updates from the Arc team on this?

chrismessina commented 1 month ago

@chrismessina Do you have any updates from the Arc team on this?

Lemme go ping @robotdestroy.