---
name: "processDiaryLink"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/processDiaryLink
revid: 321937
updated: 2022-05-22T12:54:35Z
---

# processDiaryLink

*Command · Briefing · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Opens the Diary screen on the subject/record specified by link. To get a valid link format, use [createDiaryLink](../commands/createDiaryLink.md).

## Syntax

```sqf
processDiaryLink link
```

**Parameters:**

- `link`:  [String](../topics/String.md)

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

## Examples

### Example 1

```sqf
processDiaryLink createDiaryLink ["Tasks", (simpleTasks player) select 0, ""]; // Select a task in the Task menu
```

### Example 2

```sqf
// To select various tabs in the map screen:
processDiaryLink createDiaryLink ["selected_tab", player, ""];
// ... where "selected_tab" can be "Tasks", "Diary", "Units", "Players", "Statistics", other user created subjects
```

## See also

[createDiaryLink](../commands/createDiaryLink.md) · [createDiaryRecord](../commands/createDiaryRecord.md) · [createDiarySubject](../commands/createDiarySubject.md) · [diarySubjectExists](../commands/diarySubjectExists.md)

## Community notes

**Killzone_Kid** — 2017-06-30

You can also force open diary with selected link by passing string in link format directly:

```sqf
processDiaryLink "<log subject='Diary'></log>";
```

The above will open tab Briefing.

```sqf
processDiaryLink "<log subject='Diary' record='Record2'></log>";
```

The above will open tab Briefing and select 3rd record from the bottom, provided the records were added consistently.

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