Add a Copy Link Shortcut key

+1 to this! Would love to select a frame and enter a command shortcut that does the same action as Share > Copy link — I’m constantly sharing links in Slack!

5 Likes

I would love a keyboard shortcut to copy a link to a frame. Or even exposing the option in the “CMD+/” menu would be great. It’s a small thing but it’d make my life easier if I didn’t have to click share and then click copy link to frame over and over.

5 Likes

We regularly copy the Preview page’s link in order to share it in Jira or wherever a UX story is described. Currently we need to use the mouse to click two times to copy the link to the frame shown. A keyboard shortcut would be helpful.

Currently in Preview mode the Edit > Copy option is enabled, but its not clear what, if anything, is being copied. It’s not the URL.

+1 to this question. I regularly share frame links for the team and this is a big problem. Please, hear us!

Now I trying to help myself with mouse macros, but this is like BDSM practice.

+1 I really need this I use the links for Jira tickets!!

2 Likes

Constantly in need of this all day for creating Asana tasks. Would be a big time saver.

1 Like

Also need this for JIRA - huge for product managers

1 Like

An easy way to copy link

For anyone who doesn’t know yet — an easier way to copy the link to the specific frame is right clicking the tab: Easy Access to "Copy LInk to Selected Frame" - #2 by Gleb

+1 !!!
Right click >> Copy >> Copy link is getting so tiresome…

Could someone create a plugin or a shortcut, like Cmd+Ctrl+C?

1 Like

I’m also eagerly awaiting this feature to be transcribed into Jira.

Unfortunately, that “Easy Access” solution by right-clicking the tab isn’t quick because it fails Fitt’s Law: small target and very far away. Thanks for sharing anyway, but I think this really needs some developer attention.

I got so tired of going through this operation that I decided to write a keybind macro. Once a frame is selected, I hit <ctrl + cmd+ c>, which simulates the key presses needed to open the menu and select Copy Link. It’s brittle (e.g., if the menu list gets updated), but better than nothing.

If any of you use Hammerspoon, here is the script:

-- Simluate keypress with low-level eventap event
-- which is faster than hs.eventtap.keyStroke
local function keyPress(key, n)
  n = n or 1
  local newKeyEvent = hs.eventtap.event.newKeyEvent
  for _ = 1, n do
    newKeyEvent({}, key, true):post()
    newKeyEvent({}, key, false):post()
  end
end

-- Use `rightClick` over `eventtap.event.newMouseEvent` for the delay, which gives
-- the menu time to gain focus before we simulate other keyboard events
-- Delay is in microseconds: 10000 = 10ms
local function mousePress()
  local ptMouse = hs.mouse.absolutePosition()
  hs.eventtap.rightClick(ptMouse, 10000)
end

-- set up the hotkey binding as <ctrl + c>
-- add some methods to turn it off and on
local copyFrameLink = {
  binding = hs.hotkey.new({'ctrl', 'cmd'}, 'c', function ()
    mousePress()
    keyPress('down', 4)
    keyPress('right')
    keyPress('down', 4)
    keyPress('return')
  end)
}
function copyFrameLink.enable()
  copyFrameLink.binding:enable()
end
function copyFrameLink.disable()
  copyFrameLink.binding:disable()
end

-- bind the hotkeys to an application
-- https://github.com/Hammerspoon/hammerspoon/issues/664#issuecomment-288903608
local wf = hs.window.filter
local figma = wf.new{'Figma'}

-- only use the `copyFrameLink` keybinding when Figma is the focused window
figma:subscribe(wf.windowFocused, copyFrameLink.enable)
figma:subscribe(wf.windowUnfocused, copyFrameLink.disable)
1 Like

+1

If/when this gets implemented, and in case this thread gets read for that sake, it would be perfect to have two keyboard shortcuts:

  1. One to copy the link to the currently selected frame (or full file if no frame is selected), and…
  2. One to copy the link to the presentation for the file (“Preview”?)

I frequently want to copy both of these (to put in documents which either a designer or a PM/Eng might want to see, and they sometimes want either the full file or just the preso link. If I had to choose one of these instead of both the second one is the one I do frequently and which can be painful because I have to wait for the preso to load before copying the link for it.

2 Likes

The Figma Desktop App has a shortcut Cmd/Ctrl + L to copy a link to a page or frame.

3 Likes

Hey @BenKopf_UPS and everyone else, thanks for your feedback here. We’ve updated this shortcut in the Desktop to include the file link as well as the link to frames!

2 Likes

Why doesn’t the keyboard shortcut (⌘L) show up in the contextual menu under Copy/Paste as… > Copy Link? Is that command different than the Copy Link (⌘L) command on the tab?

2 Likes

Command-L worked for quite some time to copy links to frames, but in the last few weeks it only copies a link to the page, not the selected frame. It took me a while to realize the links I was sending to people were just to the page and not the object we were discussing. Please re-instate Command-L to copy a link to the selected object (if there is one). It’s very frustrating to have to right-click to find the Copy link menu item.

2 Likes

The same issue happened to me. I have been using Command-L to copy the link of the selected object for a long time, but I don’t know since when it changed to copy the link of the entire page/frame. I might have been sending the wrong link to people since then, which can cause a lot of trouble. Please move the original Command-L feature back!

1 Like

Hi team, the suggested workaround of adding a mac shortcut doesn’t work for specific frames - we really need a specific shortcut for copying to a selected frame. (Command L only directs to the entire page as well).

1 Like

I have same issue of Command-L been replaced, it’s really disrupt my working pace. And I found Command-L can still work if there’s only one frame been selected.

(Which mean you need to ungroup til bottom layer → command+L elements you want → then regrouped them… )

Still annoying, hope it a temporary plan-B for me and people looking for solution…