# GetShowFileStatus()

Source: https://help.malighting.com/grandMA3/2.4/HTML/lua_objectfree_getshowfilestatus.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
## Description

The **GetShowFileStatus** Lua function returns a string with the current device's show file status, for example, "NoShow", "ShowLoaded", "ShowDownloaded", "ShowSaving", and "DataNegotiationActive".

## Arguments

This function does not accept any arguments.

## Return

- **String**:\
  The returned string is the enum string from "Enums.ShowFileStatus" that matches the current status.

## Example

This example prints the current device's show file status in the Command Line History:

|                                                                                                                              |
| ---------------------------------------------------------------------------------------------------------------------------- |
| [Copy Code](javascript:void\(0\))Lua                                                                                         |
| ```
return function ()
    -- Prints the current showfile status
    Printf("ShowfileStatus: "..GetShowFileStatus())
end
``` |