Skip to content
Contact

How can I help?

Support is available in both English (Hello!) and German (Moin!). I'll get back to you ASAP during my business hours (Mo-Fr, 10:00-17:00 CET).

Actions for Obsidian icon Home Actions for Obsidian 2025.1.2 › Actions

Actions for Obsidian › Actions › Get Active File

Returns the path of the currently active/focussed file, whether it's a note, a canvas, an image etc.

This action will return nothing if there is no active/focussed file, which can be tested for using a built-in "If" action with a "has any value" condition.

Parameters

Vault

The vault to work in.

Type: Vault reference

Return Value

Text

Example

Use a built-in If conditional ("If [Active File] has any value") with the result of the Get Active File action to test if the active tab contains anything: