# No linkable item in Bear

**URL:** https://discourse.hookproductivity.com/t/no-linkable-item-in-bear/1768
**Category:** Discussion & Help
**Created:** [July 29, 2020, 6:13pm UTC](https://discourse.hookproductivity.com/t/no-linkable-item-in-bear/1768 "2020-07-29T18:13:51Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![LucB](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/lucb/32/2228_2.png) [@LucB](https://discourse.hookproductivity.com/u/LucB)
#### Post date: [August 1, 2020, 6:43am UTC](https://discourse.hookproductivity.com/t/no-linkable-item-in-bear/1768/4 "2020-08-01T06:43:02Z")

</div>

@ronny213, could you please try replacing the Get Addresss and Get Names scripts of Bear with the following to see if it solves the problem?

### Get Address Script

```
tell application "System Events" to tell process "Bear"
	click menu item "Copy Link to Note" of menu 1 of menu bar item "Note" of menu bar 1
	delay 0.05
	repeat 50 times -- poll clipboard for ~2.5 seconds
		try
			if (the clipboard) is not equal to "" then
				exit repeat
			end if
		end try
		delay 0.05
	end repeat
	
end tell
get the clipboard

```

### Get Name

```
tell application "System Events" to tell process "Bear"
	click menu item "Copy Note's Identifier" of menu 1 of menu bar item "Note" of menu bar 1
	delay 0.05
	repeat 50 times -- poll clipboard for ~2.5 seconds
		try
			if (the clipboard) is not equal to "" then
				exit repeat
			end if
		end try
		delay 0.05
	end repeat
end tell
open location "bear://x-callback-url/open-note?id=" & (the clipboard) & "&x-success=hook://title-callback/title///"

```

thanks

---

_[View the full topic](https://discourse.hookproductivity.com/t/no-linkable-item-in-bear/1768)._
