# Copying an item's reference

## override\_quickcopy

| Setting name         | Possible values                                  |
| -------------------- | ------------------------------------------------ |
| `override_quickcopy` | `altKey` or `ctrlKey` or `metaKey` or `shiftKey` |

If the specified key is pressed when selecting an item from Search results, the extension will always render the item's data - even if Quick Copy is enabled.&#x20;

You can use this to occasionally override Quick Copy.

```javascript
zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    override_quickcopy: 'shiftKey'
}
```

## always\_copy

| Setting name  | Possible values             |
| ------------- | --------------------------- |
| `always_copy` | `true` or `false` (default) |

```javascript
zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    always_copy: true
}
```

If set to `true`, the extension will always copy the selected item's reference to the clipboard - even if Quick Copy is disabled. The format used to copy the reference will be the one specified by `quick_copy_format`.

## quick\_copy\_format

| Setting name        | Possible values                                                                                                        |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `quick_copy_format` | <p>One of :<br><code>citekey</code> (default)<br><code>tag</code><br><code>pageref</code><br><code>citation</code></p> |

Here are the different outputs available :

* `citekey` (default) : @eghbalRoadsBridgesUnseen2016
* `tag` : #\[\[@eghbalRoadsBridgesUnseen2016]]
* `pageref` : \[\[@eghbalRoadsBridgesUnseen2016]]
* `citation` : \[Eghbal (2016)]\(\[\[@eghbalRoadsBridgesUnseen2016]])

```javascript
zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    quick_copy_format: 'citation'
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alix-lahuec.gitbook.io/zotero-roam/v0.6/customization/other/copy_settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
