# I can not use Hook with Zotero

**URL:** <https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594>\
**Category:** Discussion & Help\
**Created:** [November 22, 2024, 2:01am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594 "2024-11-22T02:01:22Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [November 22, 2024, 2:01am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/1 "2024-11-22T02:01:22Z")

</div>

Hi, I am Tsutomu from Japan.

I read Using Hookmark with Zotero [Using Hookmark with Zotero – Hookmark](https://hookproductivity.com/help/integration/using-hookmark-with-zotero/)  
I set it up.  
But I can not use Hook with Zotero.  
Hook shows: No linkable item in Zotero.  
What do I do?  
Please let me know.  
Hook: Version 6.5 (6117; Integration v. 345)  
Zotero: 7.0.7

 ![IMG_4506](https://discourse.hookproductivity.com/uploads/default/original/2X/7/7b676353ac2e6aa13a17f6642f886cd82a2367c7.jpeg)

---

<div class="post-metadata">

**Author:** ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)\
**Post date:** [November 23, 2024, 12:09am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/2 "2024-11-23T00:09:54Z")

</div>

Welcome to Hookmark forum, @Tsutomu .

If you selected a record, press shift+commad+c, what do you get?

Does your Settings-\>Export looks like below:

 ![image](https://discourse.hookproductivity.com/uploads/default/original/2X/d/da8102f05648309b8c5a40c824d8692e17db18d6.png)

Thank you

---

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [November 24, 2024, 8:03am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/3 "2024-11-24T08:03:52Z")

</div>

Thank you for response.

Yes, I set it up.  
Settings-\>Export  
item format: Markdonw item URI

But Hook cannot get Markdonw item URI from Zotero.

---

<div class="post-metadata">

**Author:** ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)\
**Post date:** [November 25, 2024, 6:02am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/4 "2024-11-25T06:02:28Z")

</div>

> [@bchend](#):
>
> If you selected a record, press shift+commad+c, what do you get?

Just want to make sure, can you use the shortcut to get the markdown URI?

Thank you

---

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [November 25, 2024, 8:59am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/5 "2024-11-25T08:59:53Z")

</div>

Yes, my Zotero gets a Markdown item URI when I press shift+xommond+C.  
My Zotero also shows Copy as Markdown item URI in Menu item.

![Screenshot 2024-11-25 at 17.55.29](https://discourse.hookproductivity.com/uploads/default/original/2X/3/39809f77aadff0912b3ea4c621b5cdf5d793b7e5.jpeg)

---

<div class="post-metadata">

**Author:** ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)\
**Post date:** [November 25, 2024, 5:08pm UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/6 "2024-11-25T17:08:35Z")

</div>

Thank you for the info, @Tsutomu .

Could you please  
(1) Select a record in Zotero  
(2) Run the following script in Script Editor and see if it return a markdown link?

Thank you

> **Summary**
>
> ```auto
> tell application id "org.zotero.zotero"
> activate
> end tell
> 
> set the clipboard to ""
> delay 0.1
> 
> tell application "System Events" to tell process id "org.zotero.zotero"
> keystroke "c" using {shift down, command down}
> delay 0.1
> repeat 20 times -- poll clipboard for ~2.5 seconds. Sometimes set x to the clipboard throws exception
> try
> set markdownLink to the clipboard
> if markdownLink is not equal to "" then
> exit repeat
> end if
> 			
> end try
> delay 0.1
> end repeat
> 	
> end tell
> return markdownLink
> 
> ```

---

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [November 27, 2024, 2:25am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/7 "2024-11-27T02:25:46Z")

</div>

Thank you for your response.  
I run the script.

 ![Screenshot 2024-11-27 at 11.23.58](https://discourse.hookproductivity.com/uploads/default/original/2X/6/682c459a0e014f5de8ab5f24b71852b13c8fc460.jpeg)  
Script seems not to return a markdown link.

---

<div class="post-metadata">

**Author:** ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)\
**Post date:** [November 27, 2024, 6:04am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/8 "2024-11-27T06:04:16Z")

</div>

Thank you for the info, @Tsutomu .

Could you please run the following script in Script Editor and see if it throws any error message?

Thank you

> **Script**
>
> ```auto
> tell application id "org.zotero.zotero"
> activate
> end tell
> 
> set the clipboard to ""
> delay 0.1
> 
> tell application "System Events" to tell process id "org.zotero.zotero"
> keystroke "c" using {shift down, command down}
> delay 0.1
> repeat 20 times -- poll clipboard for ~2.5 seconds. Sometimes set x to the clipboard throws exception
> try
> set markdownLink to the clipboard
> if markdownLink is not equal to "" then
> exit repeat
> end if
> on error errStr number errorNumber
> display dialog errStr
> 			
> 			
> end try
> delay 0.1
> end repeat
> 	
> end tell
> return markdownLink
> 
> ```

---

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [November 28, 2024, 6:36am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/10 "2024-11-28T06:36:45Z")

</div>

Thank you for your response.  
I run the script.

Script Editor seems to throw no error message.  
Nothing happens.

 ![Screenshot 2024-11-28 at 15.30.40](https://discourse.hookproductivity.com/uploads/default/original/2X/d/ddf679dc1a413e4fe86caf384eca4783bdf021f0.jpeg)

---

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [November 28, 2024, 6:38am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/11 "2024-11-28T06:38:10Z")

</div>

log

```auto
tell application "Zotero"
	activate
end tell
tell application "Script Editor"
	set the clipboard to ""
end tell
tell application "System Events"
	keystroke "c" using {shift down, command down}
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
	the clipboard
end tell
Result:
""

```

---

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [November 28, 2024, 6:38am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/12 "2024-11-28T06:38:50Z")

</div>

Replies

```auto
tell application "Zotero"
	activate
end tell
tell application "Script Editor"
	set the clipboard to ""
end tell
tell application "System Events"
	keystroke "c" using {shift down, command down}
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
	the clipboard
		--> ""
end tell
Result:
""

```

---

<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:** [November 29, 2024, 9:49pm UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/13 "2024-11-29T21:49:16Z")

</div>

Hi, what version of macOS are you running? It seems to me the plugin is not working on your system for some reason.

---

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [November 30, 2024, 2:52am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/14 "2024-11-30T02:52:55Z")

</div>

Hi,  
My Mac is macOS Sequoia 15.11.

---

<div class="post-metadata">

**Author:** ![Tsutomu](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tsutomu](https://discourse.hookproductivity.com/u/Tsutomu)\
**Post date:** [December 9, 2024, 10:48am UTC](https://discourse.hookproductivity.com/t/i-can-not-use-hook-with-zotero/8594/15 "2024-12-09T10:48:23Z")

</div>

I made a clean install of MacOS 15.1.1  
Hookmark can get Zotero link.  
Thank you for your support.

 ![Screenshot 2024-12-09 at 19.45.45](https://discourse.hookproductivity.com/uploads/default/original/2X/3/33d9535e1df887c02c88e18b2dc874b91d309c23.png)
