---
name: "menuSetURL"
type: command
status: ok
groups: ["GUI Control - Menu"]
arma3_since: "2.02"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/menuSetURL
revid: 378344
updated: 2026-04-02T16:31:28Z
---

# menuSetURL

*Command · GUI Control - Menu · Arma 3 v2.02*

## Description

Sets weblink (URL) of given menu strip entry, subject to `allowedHTMLLoadURIs[]` whitelisting in [CfgCommands](../topics/Description.ext.md) config.

## Syntax

### Syntax 1

```sqf
menuSetURL [idc, path, link]
```

**Parameters:**

- `idc`: [Number](../topics/Number.md)
- `path`: [Tree View Path](../topics/Tree_View_Path.md) of [Number](../topics/Number.md)s
- `link`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

### Syntax 2

```sqf
control menuSetURL [path, link]
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `path`: [Tree View Path](../topics/Tree_View_Path.md) of [Number](../topics/Number.md)s
- `link`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_ctrlMenuStrip menuSetURL [[0,0,1], "https://arma3.com/"];
```

## See also

[menuURL](../commands/menuURL.md) · [ctrlSetURL](../commands/ctrlSetURL.md)

<sub>Source: [BI Community Wiki — menuSetURL](https://community.bistudio.com/wiki/menuSetURL) (revision 378344).</sub>
